SEPARATOR
Thin horizontal or vertical divider built on Radix UI. Optional centered label splits the line for section headers.
DEPS:@radix-ui/react-separator
PREVIEW
SECTION
AB
INSTALLATION
USAGE
VARIANTS
DEFAULT (horizontal)
CHECKPOINT
WITH LABELLEFTRIGHT
VERTICALPROPS
| PROP | TYPE | DEFAULT | DESCRIPTION |
|---|---|---|---|
| label | string | — | Text centered in the separator. Renders flex layout with line-line-text-line-line. |
| orientation | "horizontal" | "vertical" | "horizontal" | Direction of the separator line. |
| decorative | boolean | true | When true, hidden from accessibility tree. |