Controls
orientation
<Separator />Installation
npm
pnpm
yarn
bun
npx shadcn@latest add @dotui/separatorUsage
Use separators to visually divide content in lists, menus, or other places.
import { Separator } from '@/components/ui/separator'<Separator />Examples
In Card
dotUI
Tools for building high-quality, accessible UI.
Docs
Components
Hooks
Themes
Default
Above the separator
Below the separator
Menu Section
List Menu
MB
Mehdi Ben Hadj Ali
mehdi@example.com
Settings
Billing
Notifications
Log out
API Reference
A separator is a visual divider between two groups of content, such as groups of menu items or sections of a page.
| Prop | Type | Default | |
|---|---|---|---|
string | — | ||
Orientation | 'horizontal' | ||
Last updated on 7/7/2026