Separator
A semantic divider element accessible to screen readers. Renders a horizontal line by default; switch to vertical for inline layouts.
Separator
base-ui docs ↗A semantic divider accessible to screen readers. Renders a horizontal
line by default; switch to vertical for inline layouts.
| Prop | Type | Default |
|---|---|---|
| orientation | "horizontal" | "vertical" | horizontal |
The orientation of the separator. | ||
| className | string | — |
CSS Class Names
Available as keys on the SeparatorStyles object. Each key maps to a hashed CSS module class name at runtime.
separator