Checkbox component usage patterns
mainCheckboxes are used for:
- Selecting multiple options from a collection that shares context.
- Toggling an option on or off.
- Making binary choices (yes/no, on/off).
Common states and configurations include:
- Indeterminate state: For partially selected parent items.
- Error state: To indicate invalid input.
- Disabled state: To prevent user interaction.
- Multiline: For labels that require wrapping.
- Alignment: Controlling the position of the checkbox relative to the label.