ComponentClient component

Separator

Visually or semantically separates content in horizontal and vertical layouts.

Installation

Preview

Rivelle primitives

Designed to be composed.

Docs
Components
Registry

Usage

tsx
import { Separator } from "@/components/ui/separator"

export function SeparatorDemo() {
  return <Separator className="my-4" />
}

API reference

PropTypeDefaultDescription
orientation"horizontal" | "vertical""horizontal"Controls the separator axis.
decorativebooleantrueRemoves semantic meaning when used only visually.
classNamestringOverrides or extends separator styling.