Divider
Visual separator between sections of content. Supports horizontal and vertical orientations, and an optional centred label.
Examples
Above the divider
Below the divider
With label
Sign in with email
or continue with
Sign in with Google
Vertical
DocsBlogGitHub
Props
orientation= 'horizontal'
'horizontal' | 'vertical'
Direction of the dividing line.
label
ReactNode
Optional label centred within a horizontal divider.
className
string
Additional classes.
| Prop | Type | Default | Description |
|---|---|---|---|
| orientation | 'horizontal' | 'vertical' | 'horizontal' | Direction of the dividing line. |
| label | ReactNode | — | Optional label centred within a horizontal divider. |
| className | string | — | Additional classes. |