Skip to content

Update the guidance on when to use the checkboxes component #4059

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 7 additions & 5 deletions src/components/checkboxes/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,16 @@ Let users select one or more options by using the checkboxes component.

## When to use this component

Use the checkboxes component when you need to help users:

- select multiple options from a list
- toggle a single option on or off
Use the checkboxes component when you need to help users select multiple options from a list.

## When not to use this component

Do not use the checkboxes component if users can only choose one option from a selection. In this case, use the [radios component](/components/radios/).
Do not use the checkboxes component if:

- users can only choose one option from a selection, as checkboxes allow users to select multiple options
- you want users to toggle between two possible states, for example, 'on' or 'off', as single checkboxes can be missed by users when you might want a user to engage with a two option question

In these cases, use the [radios component](/components/radios/).

## How it works

Expand Down