Skip to main content

Checks & radios

boodoo's custom checkbox and radio components are used for selecting one or several options in a list.

Checks

Radios

Switches

A switch has the markup of a custom checkbox but uses the .form-switch class.

Disabled

Inline

Group checkboxes or radios on the same horizontal row by adding .form-check-inline to any .form-check.

Indeterminate

Indeterminate checkboxes have a third state. Set it via JS:

document.getElementById('myCheckbox').indeterminate = true;