Divider
A horizontal rule or labeled section separator.
Basic usage
A plain divider with no label.
Section above
Section below
vue
<Divider />With label
Pass label to show centered text between the lines.
Previous items
OR
New items
vue
<Divider label="OR" />Variants
Dashed
vue
<Divider variant="dashed" />Dotted
vue
<Divider variant="dotted" />Dashed with label
Continue reading
vue
<Divider label="Continue reading" variant="dashed" />Custom color
Highlight
vue
<Divider color="#2563eb" label="Highlight" />Props
| Prop | Type | Default | Description |
|---|---|---|---|
label | string | undefined | Optional centered text label |
variant | 'solid' | 'dashed' | 'dotted' | 'solid' | Line style |
color | string | '#e5e7eb' | CSS color value for the line |