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

Usage

Import
import { Separator } from "@/components/cubix/separator"
Example
<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

PropTypeDefaultDescription
orientation"horizontal" | "vertical""horizontal"The orientation of the separator.
decorativebooleantrueWhen true, the separator is purely visual and hidden from assistive tech (Radix UI).
classNamestring-Additional Tailwind classes merged with the component styles (last one wins).