Skip to main content

Figma Storybook

Radio Button

Allows selection of exactly one option from a set of mutually exclusive choices. Use when options are few enough to display simultaneously and the user must choose only one. Don't use for binary on/off settings.

Figma Storybook Docs

Description

What it does

Radio Button lets a user select exactly one option from a mutually exclusive set. Selecting a new option automatically deselects the previous one.

Where it appears

Form sections where exactly one choice is required: frequency, priority level, access role, notification preference.

Why it exists

When only one choice is valid, radio buttons make the constraint visible. Users can see all options simultaneously before committing to one — unlike a dropdown, which hides options behind an interaction.

A lone radio button is meaningless. Radio buttons only make sense as a group of two or more mutually exclusive options, always wrapped in a <fieldset>.

Anatomy

PartRequired?Notes
Radio control Required The circular input. Must meet minimum 44×44px touch target size.
Selected indicator Conditional A filled inner circle shown when the option is selected.
Label Required Describes the option. Always visible and associated via <label for> or wrapping.
Group container Required A <fieldset> wrapping the entire group. Always required — a radio button group without a fieldset is inaccessible.
Group label Required A <legend> that describes the question or category the group answers. Read by screen readers before each option.

States

State Behaviour
Unselected Default. Empty circle.
Selected Circle with filled inner dot. Only one per group.
Disabled Greyed out. If the whole group is disabled, disable all inputs and communicate why.
Focus 2px focus ring on the radio control, --op-color-focus-ring.
Error Red border on controls + error message below group when no selection is made for a required field.

Usage guidelines

Radio Button vs Checkbox vs Dropdown

Control Use when
Radio button One option from a small set (2–6). All options should be visible without interaction. Selection is mutually exclusive.
Checkbox One or more options can be selected simultaneously.
Dropdown One option from a larger set (7+), or when space is constrained. Options are hidden until the user opens the dropdown.
Switch A single on/off setting that takes effect immediately.

Do / Don't

Do

Pre-select a default when one option is recommended or most common. An empty radio group forces the user to make a decision they may not have needed to think about.

Don't

Don't use radio buttons for more than 6–7 options. Switch to a dropdown when the list grows long enough that comparison becomes difficult.

Do

Order options logically: alphabetically, by frequency of use, or from least to most restrictive (for permissions). Never randomise order.

Don't

Don't allow radio buttons to be deselected by clicking them again. Once selected, a radio should only change via selecting another option.

Was this page helpful?

Updated 9 September 2026