Checkbox
A checkbox control that allows users to toggle between checked and unchecked states.
Basic Usage
Basic Checkbox
Checked: false
With Label
Checkbox with Label
Indeterminate State
Indeterminate Checkbox
Use checked='indeterminate' for a partial selection state, commonly used in 'select all' scenarios.
Indeterminate state
Disabled
Disabled Checkbox
API Reference
| Prop | Type | Default |
|---|---|---|
checked | boolean | "indeterminate" | false |
disabled | boolean | false |
id | string | - |