Checkbox
Multi-option toggles.
Loading…
Multi-option toggles.
Loading…
Boolean options in a list — include metadata, enable layers, multi-select flags.
| Prop | Type | Default | Description |
|---|---|---|---|
| label | string | — | Checkbox label. |
| checked | boolean | — | Checked state. |
| onCheckedChange | (checked: boolean) => void | — | Change handler. |
| disabled | boolean | — | Disable interaction. |
| className | string | — | Optional CSS class. |
Also copy lib/utils.ts (cn helper):