Checkbox
Styled checkbox with controlled or uncontrolled state.
Pair with <Label> for a complete form control. Supports `checked`, `defaultChecked`, and `onCheckedChange`.
Install from registry
npx shadcn@latest add https://ui.comcreate.io/r/checkbox.json
Shadcn-compatible registry endpoint served locally for copy-paste installs.
Installed files
- components/ui/checkbox.tsx
- lib/utils.ts