Components/Checkbox

Checkbox

Accessible checkbox with label, description, and indeterminate state support.

Installation

Examples

With label and description

Label and optional secondary text.

States

Checked, unchecked, indeterminate, and disabled.

API Reference

PropTypeDefaultDescription
checkedbooleanfalseControlled checked state.
onCheckedChange(v: boolean) => void—Called when state changes.
disabledbooleanfalseDisables the checkbox.
indeterminatebooleanfalseShows a dash instead of a check.
labelReactNode—Label rendered beside the checkbox.
descriptionReactNode—Secondary text below the label.