110k
New

Separator

Visually or semantically separates content.

Component separator-demo not found in registry.

Installation

pnpm dlx createui@latest add separator

Usage

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

Examples

Vertical

Use orientation="vertical" for a vertical separator.

Component separator-vertical not found in registry.

Vertical separators between menu items with descriptions.

Component separator-menu not found in registry.

List

Horizontal separators between list items.

Component separator-list not found in registry.

API Reference

See the Base UI Separator documentation.