Skip to main content

Checkbox


Standalone checkbox component, meant to be used to build custom selection components (for example, a selectable card).

Since it has no label, users must pass either aria-label or aria-labelledby in order to preserve accessibility.

Example

Props

NameTypeDefault ValueRequiredDescription
disabledbooleanNo
valuebooleanYes
onChange(value: boolean) => unknownYes

Related components