Separator
Horizontal or vertical divider.
Above
Left
Right
Install
npx shadcn@latest add https://plinth.dhrumilkherde.com/r/separator.jsonUsage
import { Separator } from "@/components/ui/separator";
<Separator />
<Separator orientation="vertical" className="h-6" />Props
| Prop | Type | Default |
|---|---|---|
orientation | horizontal · vertical | horizontal |
Accessibility
- Built on Base UI Separator: renders with
role="separator"and the correctaria-orientation.