Divider

Components/Layout

Interactive docs page: https://wix-pages.com/design-system-documentation/#/component/divider

Overview

Copy

Dividers are thin lines that separate content, or groups it into clear sections. They act like visual punctuation marks and make web pages easier to read.

Do

  • Separate content in lists and layouts.
  • Use dividers to support visual hierarchy.

Don't

  • Don't overuse dividers when white space can be used instead.
  • Don't place two dividers together without content in between.

Feature examples

Direction

Control how the divider is placed with the direction prop.

  • horizontal separates content into rows.
  • vertical separates content into columns.
Copy

Skin

Set the color of a divider with one of these values:

  • light is the default for common cases on light backgrounds.
  • dark is for common cases on dark backgrounds.
  • standard is for light blue backgrounds.
  • warning is for light orange backgrounds.
  • destructive is for light red backgrounds.
  • success is for light green backgrounds.
  • premium is for light purple backgrounds.
Copy

Common use case examples

Lists

Separate entities from one another with a divider for an easy-to-read list.

Copy

Separated content

Create a full-bleed divider to separate secondary content.

Copy

Code

Copy

Props

NameTypeDefaultDescription
dataHookstring—Applied as data-hook HTML attribute that can be used in the tests.
direction"horizontal" | "vertical"—The direction of the divider.
skin"warning" | "standard" | "light" | "destructive" | "premium" | "dark" | "success"—The skin of the divider.

Testkit

Import the driver matching your test environment:

Copy

Driver methods

MethodDescription
existsChecks whether the component found with the given data hook.
elementGets the component root element.
clickClicks on the component root element.
baseReturns UniDriver for the base element.

Changelog

  • 1.339.0 (2026-10-19) — maintenance release, no component-specific changes
  • 1.338.0 (2026-10-15) — maintenance release, no component-specific changes
  • 1.330.0 (2026-09-28) — maintenance release, no component-specific changes
  • 1.325.0 (2026-09-17) — maintenance release, no component-specific changes
  • 1.310.0 (2026-08-10) — maintenance release, no component-specific changes
  • 1.292.0 (2026-06-22) — maintenance release, no component-specific changes
  • 1.291.0 (2026-06-19) — maintenance release, no component-specific changes
  • 1.272.0 (2026-04-27) — maintenance release, no component-specific changes
  • 1.266.0 (2026-04-07) — maintenance release, no component-specific changes
  • 1.260.0 (2026-03-17) — maintenance release, no component-specific changes
  • 1.250.0 (2026-01-27) — maintenance release, no component-specific changes
  • 1.247.2 (2026-01-21) — maintenance release, no component-specific changes
  • 1.228.0 (2025-11-18) — maintenance release, no component-specific changes
  • 1.172.3 (2025-03-25) — maintenance release, no component-specific changes
  • 1.138.1 (2024-10-30) — maintenance release, no component-specific changes
  • 1.115.0 (2024-07-17) — maintenance release, no component-specific changes
  • 1.103.1 (2024-04-24) — maintenance release, no component-specific changes
  • 1.102.0 (2024-04-16) — maintenance release, no component-specific changes
  • 1.100.0 (2024-04-04) — maintenance release, no component-specific changes
  • 1.92.1 (2024-02-05) — maintenance release, no component-specific changes

Last updated: 21 October 2026

Did this help?