Separator
Visually or semantically separates content.
Cubix
Beautifully designed components you can copy and paste into your apps.
Blog
Docs
Source
Installation
pnpm dlx cubix@latest add separator --base radixUsage
import { Separator } from "@/components/cubix/separator"<Separator />Vertical
Use orientation="vertical" for a vertical separator.
Blog
Docs
Source
Menu
Vertical separators between menu items with descriptions.
SettingsManage preferences
AccountProfile & security
HelpSupport & docs
List
Horizontal separators between list items.
- Item 1
- Value 1
- Item 2
- Value 2
- Item 3
- Value 3
API Reference
See also the Base UI Separator documentation for primitive props.
Separator
| Prop | Type | Default | Description |
|---|---|---|---|
| orientation | "horizontal" | "vertical" | "horizontal" | The orientation of the separator. |
| decorative | boolean | true | When true, the separator is purely visual and hidden from assistive tech (Radix UI). |
| className | string | - | Additional Tailwind classes merged with the component styles (last one wins). |