pnpm dlx shadcn@latest add https://ui.saturation.io/r/checkbox.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 { Checkbox } from "@/components/ui/checkbox"<Checkbox />| Prop | Type | Default | Description |
|---|---|---|---|
checked | boolean | 'indeterminate' | — | The controlled checked state. |
defaultChecked | boolean | — | The default checked state. |
onCheckedChange | (checked: boolean) => void | — | Event handler for state changes. |
disabled | boolean | false | Disables the checkbox. |
You agree to our Terms of Service and Privacy Policy.