Checkbox

Binary selection control. Supports indeterminate state for parent-child selection groups.

Examples

Indeterminate

Disabled

Props

label
string
Visible label rendered next to the checkbox.
indeterminate= false
boolean
Sets the indeterminate visual state for partially-selected groups.
disabled
boolean
Disables the checkbox.
checked
boolean
Controlled checked state.
defaultChecked
boolean
Initial checked state for uncontrolled usage.
onChange
(e: ChangeEvent) => void
Change handler.