Checkbox
Small wooden toggle checkbox.
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| checked | boolean | — | Controlled checked state. |
| defaultChecked | boolean | false | Initial checked state for uncontrolled usage. |
| onChange | (checked: boolean) => void | — | Callback fired when the checkbox is toggled. |
| label | string | — | Text label displayed next to the checkbox. |
| disabled | boolean | false | Disables the checkbox and reduces opacity. |
| className | string | — | Additional CSS classes to apply to the wrapper label. |