pnpm dlx shadcn@latest add https://ui.saturation.io/r/button.jsonTailwind v4 — Source Scanning
Saturation UI copies component source into your project via the shadcn registry (no npm package). 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 { Button } from "@/components/ui/button"<Button variant="default">Click me</Button>Saturation extension — not in base shadcn:
default — Standard border radiuspill — Fully roundedsquare — No border radiuscircle — Perfect circle (use with icon sizes)| Prop | Type | Default | Description |
|---|---|---|---|
variant | "default" | "destructive" | "outline" | "secondary" | "ghost" | "link" | "default" | The visual style variant of the button. |
size | "default" | "xs" | "sm" | "lg" | "icon" | "icon-xs" | "icon-sm" | "icon-lg" | "default" | The size of the button. |
shape | "default" | "pill" | "square" | "circle" | "default" | The shape of the button. Saturation extension. |
asChild | boolean | false | Render as child element via Radix Slot. |