Skip to content

Radio buttons

Radio buttons are used when there is a list of two or more options that are mutually exclusive and the user must select exactly one choice. When a user chooses a new item, the previous choice is automatically deselected.

Usage

Radio buttons can be used where a user has to make a mutually exclusive selection, e.g. in forms, modals, side panel, settings and more.

Radio button use case

When not to use

  • Don’t use radio buttons to perform actions or commands.
  • For selecting multiple options, use the Checkbox component instead.

Best practices for radio buttons

  • The list of options should be structured in a logical order, e.g. from simplest operation to the most complex one or least to most risk.
  • Options (labels) should be comprehensive and clearly distinct.
  • Radio buttons should always have exactly one option pre-selected. Select the safest and most secure option (e.g. to prevent data loss).
  • If users need to be able to skip any selection, provide a radio button for this choice labeled as "None".
  • Avoid nesting radio buttons with other radio buttons or checkboxes. Keep all options at the same level to avoid confusion.

Except where otherwise noted, content on this site is licensed under MIT License.