Checkbox

Angular

See content

Blazor

See content

Checkboxes are used when the user may select multiple options, including all or none.

Usage

Checkboxes are used in forms, as a status for some information. Modifications must always be validated by a submit button.

When to use

Use a checkbox when the user can select from zero to one or more option to answer a form. If the user needs to select only one option, use a radio button.

Use a checkbox for yes or no choices, for example Remember me on the login page or with a terms of service agreement.

Outside a form, if you need to use an on/off option, use a toggle or a switch.

Anatomy

  1. Checkbox: The square that indicate if the checkbox is checked or not.

  2. Label: Text that indicate the effect of check the case in the left.

Unselected

The state of a checkbox when it is unchecked/unselected. It is a small empty square.

Selected

The state of a checkbox when it is checked/selected. A checkmark or an X is on the center of the square.

Indeterminate

The indeterminate state is when a collection of sub-choices has both unselected and selected states. Use it when you have a group of checkboxes when the user can check only some of them.

Label

The label must be short and positive to be sure that the user understands it.

When the user clicks on it, it should check or uncheck the associate checkbox.

Word the checkbox label as a statement:

  • Check mark makes it true

  • No check mark makes it false

Placement

Align the checkbox vertically, with one choice per line. Only group checkbox that answer the same question.

More information

A nice article with a lot of details: Checkbox and Toggles in forms

Do’s & Don’ts

Do

Checkbox are used for selecting 2 or more options / responses.

Don’t

Don’t use radiobutton for multiple selections, use checkboxs.

Do

Use vertical alignment.

Don’t

Don’t use horizontal alignment. It will be really difficult to see which interests are selected and it is less readable.nd it is less readable.

Do

Word the checkbox label as a statement : - Check mark makes it true - No check mark makes it false.

Don’t

Write text content of the checkbox on more than two lines.

Log in

Log in with Michelin ID

To connect to the Design System, I will need:

  • A Michelin ID (e.g. F012345)
  • Double authentification (with the NetIQ application or by SMS)
  • A password associated with your Michelin ID

I don’t have a Michelin ID and/or email

In order to connect to the Design System, I need:

  • A user ID or an email
  • A password

If you have never accessed the Design System, you can request access via this link.