Checkbox

Android · iOS · Web
Checkbox allows users to select one or more options in a list.

Overview

Checkboxes offer users the flexibility to choose one or more items from a list. They're commonly used in settings, forms or filter lists where users can make multiple selections.

Live demo

Content
Modifiers

Usage

Do

  • Use Checkboxes when users can select one or more options from a list.

  • Use when people can choose multiple items from a list simultaneously.

  • Use when people need to agree to terms, conditions, or agreements.

  • Use clear and concise labels. Ensure users understand the purpose of the Checkbox.

  • Ensure the Checkbox is easy to tap or click on touch devices.

Don't

  • Avoid using Checkboxes when users can only select one option from a list. In such cases, consider using Radio Buttons.

  • If dealing with complex hierarchical data or nested options, Checkboxes may not provide the best user experience. Consider alternative controls like Drop-down.

  • Avoid using Checkboxes for critical actions that might result in irreversible consequences. Confirmations or Modals may be more appropriate.

  • When presenting an extensive list of options, using Checkboxes for each item might overwhelm users. In such cases, consider alternative approaches like search or filters.


Placement

Place the Checkbox to the left of the label, making it easy for users to associate the checkbox with the corresponding option. Align the Checkbox to the other inputs if using in a form.


Checkbox group

  • Group related Checkboxes together to visually indicate their association.

  • Keep the number of items in a Checkbox group to around 5 to 7 options. If you have more than 7 options, consider breaking them down into smaller groups based on their similarity or relevance.

  • For larger lists, consider using a Drop-down instead.

Group label text

Sizes

ExampleStateWhen to use
Medium13
Small15
Large17

States and interactions

ExampleStateWhen to use
EnabledThe default state is the baseline appearance, indicating an unselected checkbox.
HoverApplied when the user hovers over the checkbox to indicate interactivity.
CheckedUse to communicate that the checkbox has been selected.
FocusedUse to ensuring a clear and visible indicator for keyboard users.
DisabledUse the disabled state to visually indicate that the checkbox cannot be interacted with.
IndeterminateIf a checkbox relates to or controls a subset of options, by being selected or clears options if unselected.

Accessibility

  • Provide visible focus styles for keyboard users.

  • Ensure an accessible colour contrast between the Checkbox and its background.

  • Test the component using screen readers to verify proper labelling and state announcements.

iOS guidance

Along with the guidance above, there is some iOS specific guidance for this component.

  • Make sure the Checkbox has an adequate touch target size to facilitate easy tapping.

  • Ensure that the Checkbox is accessible to users with disabilities. Use proper labels, provide meaningful descriptions, and consider using accessibility attributes to enhance the experience for users relying on VoiceOver or other assistive technologies.

  • Test the Checkbox design on various iOS devices and screen sizes to ensure a consistent and functional user experience across the platform.