Components / Collections
Separator
A visual break between groups.
@fabrials/ui
Accounts
Keys
Installation
Import the control from
@fabrials/ui, after setting the app up.TypeScript import { Separator } from "@fabrials/ui";Or install it under shadcn's name, so code that imports
@/components/ui/separatorgets this control. See shims.npx shadcn@latest add @fabrials/separator
API reference
| Prop / export | Type | Description |
|---|---|---|
orientation | horizontal | vertical | Direction of the rule. |
Behavior
A separator is decorative. Headings name the groups.
Accessibility
Keyboard and contrast
Keep visible labels, keyboard focus and status announcements when customizing. These components inherit your theme; maintain sufficient contrast in both color modes. The preview is keyboard operable.