Getting started
Components
required
Use checkboxes to enable multiple choice.
Don't use checkboxes when you need to restrict selection to a single option. Use a Radio Group or Select instead.
Save the choice the user made upon submission of the form.
Don't save or persist a user's choice upon checking a checkbox.
Include a visible label on every checkbox. Include a visible legend for the entire group of checkboxes.
Don't leave floating, unlabelled checkboxes.
Provide actionable error text explaining how to fix the error.
Don't display system messages as error text or only what field errored.
Help us improve this component by providing feedback, asking questions on Slack, or updating this file on GitHub.