Separator

A separator visually divides content in lists, menus, or other places.

<Separator />

Installation

npx shadcn@latest add @dotui/separator

Usage

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

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.

PropType
string
Orientation

Last updated on 7/7/2026