Radio

Android · iOS · Web
A radio button is used when users need to select only one options from a set.

Overview

Radio Buttons allow users to choose one option from a predefined set.

Live demo

Usage

Do

  • Use clear and descriptive labels for each Radio Button to ensure users easily understand the available options.

  • Group Radio Buttons when presenting exclusive choices within a set. This enhances user comprehension and simplifies decision-making.

  • Maintain appropriate spacing between Radio Buttons to prevent accidental selections.

  • Keep the styling consistent across the interface. Consistency aids in recognition and provides a cohesive visual experience for users.

Don't

  • Avoid using Radio Buttons for scenarios where users are expected to make multiple selections. Radio buttons are designed for singular, exclusive choices.

  • Avoid using overly complex or ambiguous labels.

  • Ensure there is sufficient contrast between the Radio Button and its background.


Size

Radio Buttons come in three different sizes: small, medium, and large. Medium is the default and the most frequently used option.

ExampleSizeWhen to use
MediumThis is the default size and the most commonly used size. When in doubt, use the medium size.
SmallUse when space is constricted.
LargeUse when there is a lot of space to work with, or alongside other large components.

States and Interactions

The Radio Button should change its appearance based on its state to provide feedback to users.

ExamplestateWhen to use
EnabledThe default state when the radio button is not interacted with.
HoverVisual changes when the user hovers over the radio button.
CheckedVisual changes when the user actively interacts with the radio button (e.g. clicks).
FocusThe state when the radio button receives keyboard focus.
ErrorThe state when the radio button receives keyboard focus.
DisabledNon-interactive state, shows that it exists but is not available in that circumstance.

Accessibility

  • Ensure users can navigate and select options using keyboard controls.

  • Ensure Radio Buttons have sufficient contrast with the background and surrounding elements.

  • Provide alternative text for screen readers.


iOS guidiance

Along with the guidance above, there is some iOS specific guidance for this component.

  • Follow Apple's Human Interface Guidelines for a consistent and native user experience.

  • Consider iOS conventions for animations, touch interactions, and overall visual styling.