Separator
Draws clean horizontal or vertical dividing lines between content blocks or tools to create clear visual separation.
704 B
•Updated on August 21, 2026
Installation
Bash
pnpm dlx shadcn@latest add @spaceui/primitives-separatorUsage
Code
import { Separator } from '@/components/ui/separator'Code
<Separator />API Reference
Separator
Styled wrapper for Separator from Base UI. Renders as a horizontal line by default with muted background color.
| Prop | Type | Default | Description |
|---|---|---|---|
orientation | horizontal|vertical | horizontal | Visual orientation of the separator line |
On This Page
Powered by