The Checkbox component provides a selectable control that can be toggled between checked, unchecked, and indeterminate states. It's built on top of the InteractiveDetails component for consistent styling and behavior.
Use the checked prop with React state to create controlled checkboxes. onToggle receives the state the checkbox moves to, so the setter can be passed straight in.
The checkbox can display an indeterminate state, useful for parent checkboxes that control a group of child checkboxes.
Disable the checkbox to prevent user interaction.
Disable the hover pulse animation by setting hoverable to false.