Skip to content
BENIBIX Learn

Radio Buttons

Design🖼️ User InterfaceForm Controls

Also known as Radio Group, Radio Button, Option Buttons

A set of round options where only one can be picked.

Think of it like

It is like the station buttons on an old car radio. Push one, and the last one pops out.

Example

A checkout shows Standard, Express and Next day as radio buttons. Leo sees all three prices and picks one.

Why it matters

You see each choice at once. So it is easy to weigh them up.

Definition

Radio buttons are a set of round options where only one can be chosen. Picking one clears the others. All the options are visible at once, so people can compare them without opening anything. They work best for about two to six choices. One option is often picked in advance as a safe default.

Example code

html
<fieldset>
  <legend>Delivery</legend>
  <label><input type="radio" name="ship" checked> Standard</label>
  <label><input type="radio" name="ship"> Express</label>
</fieldset>
The shared name makes them one group, so only one can be on.

Try it

Delivery

Picking one puts the last one back. That is what makes it a group.

Three choices, all visible, one answer. Under six, this beats a box that opens.

Common mistake

Using radio buttons for 20 choices. Past a handful, use a select menu.

Key takeaways

  1. 1
    Exactly one. Picking one clears the rest.
  2. 2
    All visible. Easy to compare.
  3. 3
    A few choices. About two to six.

Compare

Learn it properly