A control that lets users switch between selected and unselected states.
@radix-ui/react-checkbox
@lucide/reactInstall the following dependencies:
This component is based on the <button>
element and supports all of its props and adds:
Prop | Type | Default |
---|---|---|
checked | boolean | false |
disabled | boolean | false |