Base input element to toggle an option on and off.
This component inherits props from the Checkbox primitive and supports common margin props.
Use the size prop to control the size of the checkbox.
Use the variant prop to control the visual style of the checkbox.
Use the color prop to assign a specific color.
Use the highContrast prop to increase color contrast with the background.
Composing Checkbox within Text automatically centers it with the first line of text.
It is automatically well-aligned with multi-line text too.
Use the native disabled attribute to create a disabled checkbox.
Use the "indeterminate" value to create an indeterminate checkbox.