ThiloDesign System
DV

Separator

shadcn/ui

Horizontal or vertical dividing line. Semantic by default, decorative when needed.

@/components/ui/separator

Orientations

orientationPreviewToken
horizontal (default)

Recently viewed tickets

No tickets viewed today.

border-border · h-px · w-full
vertical
Tickets
Partners
Settings
border-border · w-px · h-full

In context — settings panel

Account settings

Profile

Name, email, avatar

Notifications

Email, in-app alerts

Billing

Plan, invoices

Security

Password, 2FA

In context — vertical in toolbar

Usage contexts

ContextOrientationExamples
Section dividerhorizontalBetween settings sections, card content blocks
Inline groupverticalBetween breadcrumb items, toolbar segments
List item dividerhorizontalBetween Item rows (see Item component)
Menu separatorhorizontalInside DropdownMenu, Menubar — use MenubarSeparator instead

Props

PropTypeDescription
orientation"horizontal" | "vertical"Direction of the line. Default: "horizontal"
decorativebooleanWhen true, aria-hidden is set — purely visual, not semantic
classNamestringExtend via className — width, color, margin

Inside DropdownMenu or Menubar, use their built-in separator sub-components instead — they handle ARIA roles automatically.

On this page