pnpm dlx shadcn@latest add @saturation-ui/separatorTailwind v4 — Source Scanning
The public shadcn registry installs component source into your project. If Tailwind v4 isn't scanning your components directory, add this to your CSS entry file:
@source "../components";This ensures all utility classes in CVA variants and data attribute selectors are included in your build.
import { Separator } from "@/components/ui/separator"<Separator />| Prop | Type | Default | Description |
|---|---|---|---|
orientation | "horizontal" | "vertical" | "horizontal" | The orientation of the separator. |
decorative | boolean | true | Whether separator is purely decorative. |
On This Page
An open-source UI component library.