Components › Forms
Checkbox
A binary or indeterminate choice, for lists where many items can be on.
Installation
npx plankui@latest add checkboxUsage
import { Checkbox } from "@/components/ui/checkbox";
<Checkbox id="terms" />
<Label htmlFor="terms">Accept terms</Label>API reference
| Prop | Type | Default | Description |
|---|---|---|---|
| checked | boolean | "indeterminate" | Controlled state. | |
| onCheckedChange | (checked) => void | Called on toggle. | |
| disabled | boolean | false | Blocks interaction. |