Divider
layoutVisual separator supporting horizontal/vertical orientation, default/accent color variants, and centered label text with line masking. Uses role=separator with aria-orientation.
Import
typescript
import { Divider } from "packages/ui/src";Props
DividerProps
| Prop | Type | Required |
|---|---|---|
orientation | DividerOrientation | No |
variant | DividerVariant | No |
label | string | No |
Examples
Divider
Visual separator for content sections, supporting horizontal/vertical orientation, accent color, and centered labels.
Horizontal
Content above the divider
Content below the divider
Accent Variant
Standard divider above
Accent divider above
With Label
OR
Section Break
Continue Reading