Skip to docs navigation

Checks and radios

Checks

Indeterminate

Disabled

Radios

Disabled

Switches

Default (stacked)

Inline

Without labels

Remember to still provide some form of accessible name for assistive technologies (for instance, using aria-label).

Toggle buttons

These toggle buttons can further be grouped in a button group if needed.

Checkbox toggle buttons

Visually, these checkbox toggle buttons are identical to the button plugin toggle buttons. However, they are conveyed differently by assistive technologies: the checkbox toggles will be announced by screen readers as “checked”/“not checked” (since, despite their appearance, they are fundamentally still checkboxes), whereas the button plugin toggle buttons will be announced as “button”/“button pressed”. The choice between these two approaches will depend on the type of toggle you are creating, and whether or not the toggle will make sense to users when announced as a checkbox or as an actual button.

Radio toggle buttons

Outlined styles

Different variants of .btn are supported.