- Components
- Forms
Checkbox
20px checkbox with a 200ms fill and a press scale.
Installation#
npx shadcn add @ortaui/checkboxExamples#
States#
API reference#
| Prop | Type | Default | Description |
|---|---|---|---|
| checked / defaultChecked | boolean | - | Controlled or uncontrolled state. |
| indeterminate | boolean | - | Mixed state. |
| onCheckedChange | (checked: boolean) => void | - | Called when toggled. |