Divider
Props
| Prop | Type | Default | Options | Description |
|---|---|---|---|---|
| decorative | boolean | true | true, false | When true, hide from assistive technology (typical layout lines). When false, expose as a separator |
| ariaLabel | string | "" | — | Only when decorative is false: accessible name for the separator |
| size | "s" | "m" | "l" | "m" | s, m, l | Stroke weight of the rule |
| orientation | "horizontal" | "vertical" | "horizontal" | horizontal, vertical | Axis of the rule. Vertical needs a defined height on the parent (for example flex or grid). |
| shape | string | "round" | round, square | Pill caps vs square ends |
| appearance | "solid" | "dashed" | "dotted" | "double" | "solid" | solid, dashed, dotted, double | Line style on the stroke (border-style on the active edge) |
| testSelectors | TestSelectorsProp | See Test Selectors | — | Overrides stable data-test values. |
Slots
This component has no slots.
Test Selectors
| Attribute | Default Value |
|---|---|
root | catnip-divider |