docs/components/separator
Sections
Components
Utilities
Forms
Hooks
Copy Markdown
Visually separate content with a line.
PreviewCode
A set of primitive components for building UI.
A collection of accessible, beautiful, and customizable components.
CLIManual
pnpmbunnpmyarn
pnpm dlx shadcn@latest add @shark/separator
import { Separator } from "@/components/ui/separator";
<Separator />
Use orientation prop to control the orientation of the separator.
PreviewCode
Blog
Docs
Source
PreviewCode
Blog
Latest posts
Docs
API references
Source
View on GitHub
PreviewCode
Item 1Value 1
Item 2Value 2
Item 3Value 3
Horizontal or vertical divider between content.
| Prop | Type | Default |
|---|---|---|
orientation | `"horizontal" | "vertical"` |
className | string | - |
For complete list of props, see Ark UI documentation.
[
Previous page
Select ](/docs/components/select)[
Next page
Sheet ](/docs/components/sheet)
On This Page
InstallationUsageExamplesVerticalMenuListAPI ReferenceSeparator