Skip to main content
InputLevel 1

Radio Button

单选按钮

WebMobileDesktopDifficulty: Easy

A row of circles where picking one clears the others — one choice, immediately visible.

01

Live Demo

Actually clickable
Account type
Options are mutually exclusive and the whole row is clickable. Use ↑ ↓ to move between them.

What you just saw:The two circles for "Personal / Business" on a sign-in page, the round options in a photo-size picker, the circles in front of each payment method.

02

What it actually is

The value of a radio button is mutual exclusivity. It is faster than a select dropdown because every option is visible and scannable in one pass, but it costs vertical space. With fewer than 5 options it is usually better than a select.

radio buttonradiosingle-selectradio optiondot selector
03

Anatomy · What it's made of

  1. Circle圆圈

    18px with a 1.5px outer ring

  2. Dot内点

    A filled circle appears when selected

  3. Label文字

    A heading plus an optional description

  4. Group分组

    Wrapped in a fieldset + legend

04

When to Use

When it fits, and when it doesn't
Radio Button usage recommendations
SituationUse it?
There are 2–5 mutually exclusive optionsYes
The user needs to see and compare all the optionsYes
Each option carries a line of descriptive textYes
There are more than 7 optionsNo
The user needs to be able to choose "none"Depends

Once a radio option is selected, one of them is always selected. If skipping is legitimate, add a "None of the above" option or switch to a select.

Past 7 options, use a select dropdown instead — otherwise the page grows very long.

05

Similar Patterns

Don't mix these up
Full comparisonCheckbox vs Radio vs SwitchI need the user to make a selection. Which control?See the table
06

How to tell AI

Three levels of prompt

Add the component name and specifics

Add a group of radio buttons: Personal / Business. Each option has a line of description beneath it, the whole row is tappable, and the dot fills in when selected.

07

Don't just say this to AI

Bad → Better

Don't say this to AI

Add a few circles and let the user pick one.

Say this instead

Add a Radio group (Personal / Business): wrapped in fieldset+legend, each option tappable across the full row with descriptive text, 12px padding between options, ↑↓ to move between them, and a default selection already made.

08

Share this card

Social-ready

Turn this pattern into a 3:4 or 1:1 knowledge card and export it as PNG right in the browser. No backend needed.