- Getting started
- Customise with Sass
Checkboxes allow the user to select one or more items from a list.
Other Checkbox Behaviour
When checkboxes are part of a
you can control the form's behaviour using the
value attributes on checkbox inputs.
When a form containing checkboxes is submitted, only checkboxes which are currently
checked are submitted to the server, with key-value pairs defined by their
For more information, see MDN.
When to use
Checkboxes should be used when:
- You want users to select multiple items from a predetermined list of items.
- Your users need to see all available options at once.
Checkboxes should not be used for:
- Selection of 1 option from a predetermined list of items.
- Using radio buttons would be more appropriate.
Having troubles with the guide? Please give us more details and we'll get back to you soon.Chat with the team