Radio

Radios allow users to select only one option from a group of two or more options.

Anatomy

The radio component is made up of four elements.

  1. Radio input
  2. Helper text
  3. Status mark
  4. Label

Variants

Label

Labels are not required if an adjacent label is included that adequately describes the purpose of the radio and is correctly referenced to the field for accessibility purposes

Helper text

Helper text can be included alongside the label to provide additional context or guidance for using the control. The helper text wraps to the next line once it reaches the width of the container.

Behavior

Text flow

When labels wrap to multiple lines, the first line of the text should remain vertically centered with the control. Secondary text should simply wrap to the next line.

States

Radios can be either unselected or selected. Each of those statuses has five states:

  1. Enabled
  2. Focus
  3. Hover
  4. Active
  5. Disabled
Unselected
The unselected radio includes enabled, focus, hover, active, disabled, and pending states.
Selected
The selected radio includes enabled, focus, hover, active, disabled, and pending states.

Component tokens

The following component tokens are available for customizing the radio component.

Sample references including the swatch and computed values currently represent the applied light theme.

The token lists can be copied into tabular format for pasting into spreadsheets or other applications. Use these to help you document product-specific customizations or perform fine-grained filters.

Color

Opacity

Border

Shadow