Components
Separator
A visual divider between content sections.
Separator is built on the Base UI Separator primitive. It renders as a horizontal or vertical line and carries the appropriate ARIA separator role.
Installation
pnpm dlx shadcn@latest add https://faber-ui.vercel.app/r/separator.jsonUsage
import { Separator } from "@/components/ui/separator";
export default function Example() {
return <Separator />;
}Examples
Horizontal
AboveBelow
Vertical
LeftRight
API
The Separator accepts an orientation prop ("horizontal" or "vertical") and all Separator props from @base-ui/react/separator.
Last updated on