Radio field
A predefined set of mutually exclusive options, requiring the user to choose just one.
Default radio field orc-c-field
A predefined set of mutually exclusive options, requiring the user to choose just one.
Radio field error has-error
Shows that the radio field has an error.
Radio field valid is-valid
Shows that the selection was valid and registered.
Disabled radio field is-disabled
Shows the user that they can’t interact with the radio field.
Usage
When to use
Use this when the user needs to make a single choice—a “pick only one” situation.
When to consider an alternative
If the user can select more than one option, use the checkbox field instead.
Class Name | Description |
---|---|
Required
|
Apply to the radio field’s containing HTML element. This contains the field label, field body, and field note. |
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 radio items |
Required
|
List of radio options |
Required
|
Radio option list item within |
Required
|
Input group consisting of a radio input and text describing the radio option. This is applied to a |
Required
|
Actual radio of the radio field. Apply |
Required
|
Input group control’s text label that sits next to the radio |
|
Short excerpt that adds additional directions or context to the radio field. |