Radio Button

A radio button is an interactive element that allows users to select a single option from a predefined set of choices.

The purpose of radio buttons is to provide users with a clear and intuitive way to make a single selection from a set of options. They are commonly used in forms, surveys, preference settings or any scenario where users need to make a mutually exclusive choice.

Radio buttons consist of small circular elements often accompanied by descriptive text. When a user selects one radio button, it automatically deselects any previously selected radio buttons within the same group.


Anatomy

The anatomy of a radio button rarely differs. This is the the most common version of a radio button.

  1. Dot. When selected a dot using color-brand-400 appears
  2. Border. Always using color-grey-400.
  3. Label Selected. Label turn font-weight-semibold when in checked state.
  4. Box Inner Shadow. The radio button always uses shadow-ui-inward.
  5. Label Not Selected. Label turn font-weight-regular when in unselected state.

Component Health

Healthy
Show details
Healthy
Published: August 09, 2024
Updated: March 06, 2025