Separator
Divide sections visually. Structure complex UIs. Create hierarchy.
NachUI
An open-source UI component library.
DocsComponentsBlog
Installation
pnpm dlx nachui add separatorAnatomy
Variants
Default
Horizontal and vertical separators.
NachUI
An open-source UI component library.
DocsComponentsBlog
With Label
Separator with centered inline text.
Sign in to Acme Studio
Use the account your team invited.
or continue with
Single sign on is available on the Team plan.
API Reference
Separator
| Prop | Type | Default | Description |
|---|---|---|---|
orientation | "horizontal" | "vertical" | "horizontal" | The direction of the separator. |
decorative | boolean | true | If true, uses role="none" for accessibility. |
label | string | — | Optional text displayed within the separator. |
className | string | — | Additional CSS class names. |
Found something to improve?
Notice a bug, typo, or missing detail on this page? Help us make the documentation better by opening a GitHub issue.