Checkboxes

Checkboxes allow the user to select one or more items from a set. Checkboxes can be used to turn an option on or off.

Guidelines

Checkboxes are most commonly used to give users a way to make a range of selections (zero, one, or multiple). They may also be used as a way to have users indicate they agree to specific terms and services.

States

Checkboxes come in the following states:

On
Off
Indeterminate
Disabled - Off
Disabled - On

Dimensions

Checkboxes come in 2 sizes and fit either desktop or mobile use cases.

Desktop - 24px
Desktop 24px image
Desktop - 16px
Desktop 16px image
Mobile - 24px
Mobile 24px image

Selecting the Best Input

Sometimes deciding which user interface element to use — radio buttons, checkboxes, or toggles — can be difficult. When detremining which option will best fit your use case, consider the number and type of options, and if there is any clear default value. The below table summarizes questions and answers about these frequently used UI elements.

ScenarioRadio ButtonsCheckboxesSingle CheckboxToggle
How many options?
Multiple
Multiple
1
1
How many selections?
1
0 - all
2 (on/off)
2 (on/off)
Is there a default option?
Yes
No
Yes
Yes
What kind of choices?
Mutually exclusive
Independent of each other
Mutually exclusive
Mutually exclusive
When does the selection take effect?
After submit button
After submit button*
After submit button
Immediately
* Filters activated by checkboxes may not require a submit button.

When to use checkboxes

Use checkboxes to:

  • Toggle single or multiple options on or off
  • Activate or deactivate something after user selects “submit” button
Example
example image

Spacing Guidelines

We suggest the following spacing guidelines for desktop and mobile use cases.

Mobile - 24px
example image
Desktop - 24px & 16px
example image

Usage Guidance

We suggest the following usage guidance for desktop and mobile use cases.

DO
Checkbox DO Guidance
Use an indeterminate mark for parent checkboxes.
DON'T
Checkbox DONT Guidance
Avoid using a checkmark for parent checkboxes.
DO
Checkbox DO Guidance
Place labels to the right of the checkbox.
DON'T
Checkbox DONT Guidance
Avoid using top labels sit on checkboxes.
DO
Checkbox DO Guidance
Vertically stack checkbox options in a set.
DON'T
Checkbox DONT Guidance
Avoid arranging checkboxes in rows as user testing has shown that options can be missed using this pattern.