Checkbox field
An intuitive field that lets users turn controls on or off.
Default checkbox field orc-c-field
An intuitive field that lets users turn controls on or off.
Checkbox field error has-error
Lets the user know that their selection can’t be registered in our system.
Checkbox field valid is-valid
Lets the user know that their selection is valid and was registered.
Disabled checkbox field is-disabled
Shows the user that they can’t interact with the checkbox.
Usage
When to use
Use this when the user can select more than one option—a “check all that apply” situation.
When to consider an alternative
If the user may only choose one, a radio field is your best choice. If the user has only one option that they can opt in or out of, use an inline checkbox.
Class Name | Description |
---|---|
Required
|
Apply to the checkbox field’s containing HTML element. This contains the field label, field body, and field note. |
Required
|
Added to |
JS
|
Added to |
Modifier
|
Added to |
Modifier
|
Added to |
Modifier
|
Added to |
Required
|
Word or short phrase applied to an |
Required
|
Container used to house the checkbox items |
Required
|
List of checkbox options |
Required
|
Checkbox option list item within |
Required
|
Input group consisting of a checkbox input and text describing the checkbox option. This is applied to a |
Required
|
Actual checkbox of the checkbox field. Apply |
Required
|
Input group control’s text label that sits next to the checkbox |
|
Short excerpt that adds additional directions or context to the checkbox field. |