byronwade/ui
Application UI

Data display · Application UI

Separator

A thin horizontal or vertical dividing line built on Base UI's Separator primitive for visually separating content sections.

Feature showcase

Installation

Features

  • 6 examples

    Default, Custom Styling, In Card, In Nav, Vertical, With Label.

API

Props

PropTypeDefaultDescription
orientation"horizontal" | "vertical""horizontal"Controls whether the separator renders as a horizontal line or a vertical rule.
classNamestring-Additional CSS class names to apply to the separator element.

Source and related

FilePath
Componentregistry/ui/separator.tsx
Default examplecontent/examples/separator/default.tsx
Custom Styling examplecontent/examples/separator/custom-styling.tsx
In Card examplecontent/examples/separator/in-card.tsx
In Nav examplecontent/examples/separator/in-nav.tsx
Vertical examplecontent/examples/separator/vertical.tsx
With Label examplecontent/examples/separator/with-label.tsx