Components/Layout
Interactive docs page: https://wix-pages.com/design-system-documentation/#/component/divider
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.
- Separate content in lists and layouts.
- Use dividers to support visual hierarchy.
- Don't overuse dividers when white space can be used instead.
- Don't place two dividers together without content in between.
Control how the divider is placed with the direction prop.
horizontal separates content into rows.
vertical separates content into columns.
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.
Separate entities from one another with a divider for an easy-to-read list.
Create a full-bleed divider to separate secondary content.
| Name | Type | Default | Description |
|---|
dataHook | string | — | 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. |
Import the driver matching your test environment:
| Method | Description |
|---|
exists | Checks whether the component found with the given data hook. |
element | Gets the component root element. |
click | Clicks on the component root element. |
base | Returns UniDriver for the base element. |
- 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