Skip to main content

Checkbox

UI Design

What is a Checkbox

A checkbox is a form control that lets users select any number of options, including none. Each checkbox works on its own, so checking one does not uncheck the others. A single checkbox can also answer a yes or no question.

Checkbox states

  • Unchecked: The option is off
  • Checked: The option is on
  • Indeterminate: A mixed state, such as a select all box when only some items are checked

When to use a Checkbox

Use checkboxes for multiple selections, such as filters or interests, and for single opt-ins, such as accepting terms. Use radio buttons when only one option is allowed, and a toggle switch when the change should apply immediately.

Checkbox best practices

List options vertically and make the label clickable. Write labels in positive, active wording, such as "Send me updates", not "Don't send me emails". Group long lists under subheadings so they are easier to scan.

Frequently asked questions

When should you use a checkbox?

Use checkboxes when users can select any number of options, including none, or for a single yes-or-no choice such as accepting terms. If only one option may be chosen, use radio buttons.

What is an indeterminate checkbox?

It is a third, mixed state, often shown as a dash. A "select all" checkbox uses it when only some of the items below it are checked.

How should checkbox labels be written?

Use positive, active wording that says what happens when the box is checked, such as "Send me product updates". Avoid negatives like "Don't send me emails", which force users to think backwards.