Separator

Visually or semantically separates content.

Loading example…

Installation

bunx --bun shadcn@latest add @sui/separator

Install with the shadcn CLI or use the shared @workspace/ui package. Follow the installation guide to configure the registry, load styles, and choose import aliases.

Usage

import { Separator } from "@workspace/ui/components/separator"
<Separator />

Vertical

Use orientation="vertical" for a vertical separator.

Loading example…

Vertical separators between menu items with descriptions.

Loading example…

List

Horizontal separators between list items.

Loading example…

RTL

To enable RTL support in shadcn/ui, see the RTL configuration guide.

Loading example…

API Reference

See the Base UI Separator documentation.