Radio button

An input for selecting one option from a set of choices.

radio-image-desktop

Usage

  • Use a radio group when you are trying to get a user to select only one option from a relatively short list of options.
  • Use a radio group over a select when it is advantageous to have all possible options to be immediately visible to the user.
  • Make the default the first choice if possible.
  • If choices describe a range of impact to the browsing behavior, order them from the greatest impact to least impact. Do not force the default to the top if it breaks the sequence.
  • If it should be possible for the user to select multiple options, use a Checkbox.
  • If the intention is for a user to turn something off or on with their selection, and for their selection to have an immediate effect, consider using a Toggle instead.
  • Never use one radio button on its own.

Design properties

See Storybook for code

Radio Button
Property Values Default
State Variant Default | Hover | Active | Focus | Disabled Default
Checked Variant Off | On Off
Label
Property Values Default
Icon InstanceSwap Icon bookmarks / bookmark-16
Show slot Boolean true | false false
Slot InstanceSwap Slot Slot
Show icon Boolean true | false true
Disabled Variant Off | On Off
Show description Variant Off | On Off
Show support link Variant Off | On Off

Types

With label

radio-light

With label and description

radio-light-with-description

With label and icon

radio-light-with-icon
radio-light-with-link

Writing guidelines

  • Write in an active voice for radio button labels.
  • Use sentence case.
  • Give radio buttons meaningful descriptions. Each radio button’s descriptor should clearly describe the effect of choosing it.
  • Maintain parallel construction for lists of related radio button labels.
  • Use terminal punctuation after radio button labels.

Changelog

Date

Version

Notes

Aug 4, 2024

2.0.0

Simplified template

Mar 01, 2024

1.0.0

Initial draft of radio guidance