Component

Separator

Horizontal or vertical 1px hairline divider. Semantic <hr /> element styled to --color-border.

Horizontal

Section A

Section B

tsx
<Separator />

Vertical

Landscape
Sports
Portraits
tsx
<Separator orientation="vertical" />

Props

PropTypeDefaultDescription
orientation"horizontal" | "vertical""horizontal"Direction of the divider.
decorativebooleantrueIf false, adds role="separator" for screen readers.
classNamestringAdditional Tailwind classes.