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
Name | Type | Default Value | Required | Description |
---|---|---|---|---|
disabled | boolean | No | ||
value | boolean | Yes | ||
onChange | (value: boolean) => unknown | Yes |