Checkbox
A control that allows users to toggle between checked and unchecked states.
Import
Usage
Checkbox Props
| Attribute | Type | Default | Description |
|---|---|---|---|
| checked | boolean | 'indeterminate' | - | The controlled checked state of the checkbox. |
| defaultChecked | boolean | - | The default checked state (uncontrolled). |
| onCheckedChange | (checked: boolean | 'indeterminate') => void | - | Callback when the checked state changes. |
| disabled | boolean | false | Whether the checkbox is disabled. |
| className | string | - | Additional CSS classes for styling. |

