Checkbox

Best Practices
Provide clear labels. Each checkbox should include a descriptive label that helps users understand its function or the item it controls.
Use consistent states. Differentiate between checked, unchecked, and indeterminate states. This visual feedback helps users quickly interpret status at a glance.
Group related checkboxes. When multiple checkboxes apply to the same category or function, place them together with a clear group label to improve readability and organization.
Maintain accessibility. Ensure sufficient color contrast and clear focus indicators so that all users — including those with assistive devices — can interact with checkboxes.
Style
Checkboxes typically consist of a small square box and a visible checkmark when active. Some design systems use subtle corner rounding or icons to communicate different states:
Shape and size. Aim for a tap or click target that’s at least 44×44 pt on mobile devices.
Color and contrast. Use colors that remain clearly distinguishable in all states, including hover or focus. For an indeterminate state, include a dash or partial checkmark.
Spacing. Allow enough space between checkboxes to prevent accidental clicks on adjacent options, especially in dense lists.
State indicators. Indeterminate, disabled, and error states should be visually distinct to avoid confusion.
Content
Labels. Keep labels concise yet informative. If needed, you can expand on the label with additional text or tooltips for more context.
Descriptions (optional). In cases where a checkbox controls a complex function, a brief description can clarify the action or outcome.
Icons (optional). While a checkmark is most common, some designs use symbols (like a tick, dash, or X) to reflect different states or design language.
Role
Checkboxes primarily function as a multi-selection mechanism:
Multiple selection. Users can select any combination of items within a list or set. For instance, selecting specific product filters on an e-commerce site.
Binary toggle. A single checkbox can act as a quick on/off switch for a feature or setting.
Indeterminate state. When multiple nested checkboxes exist, a parent checkbox can enter an indeterminate state to show that only some child items are selected.
Types
Default Checkbox. A standard checkbox with checked and unchecked states.
Indeterminate Checkbox. Shows a partial state, typically used for parent-level selections.
Disabled Checkbox. Grayed out to communicate that it’s unavailable or restricted.