Components · Forms · Radio
Back to Radio typesRadio
Use for picking exactly one option from a small, visible set - like a payment method or a plan tier - where every option should stay visible at once instead of collapsing into a dropdown.
Properties
Size and label are properties of the same component, not separate controls - change them below to check this radio's style and states in the Live Preview. Radios are always fully round, so there is no corner radius property.
Live Preview
Both types compared side by side, each in all 5 states - one radio input per cell, since the matrix's job is to show what a single control looks like in each state, not a full mutually-exclusive group. One full matrix is rendered per selected Size.
When to use
Any single choice from a small, fully visible set of mutually exclusive options.
Validation
A single radio button can't itself be "empty," so required marking and validation belong to the group as a whole, not to any option in it.
- Required marking - put the required indicator on the group's shared label or legend, never on one radio in the middle of the list.
- Validation timing - validate on submit; validating once the user has interacted with and left the whole group is also reasonable, but there's no meaningful per-item blur validation for a radio group.
- Error message - tie the message back to the group's question, "Choose a shipping method," rather than attaching it to a specific option.
Component Guide
Overview
Radio Button is for picking exactly one option from a small, fully visible set - every option stays on screen at once so the user can compare them directly, unlike Select, which hides the options behind a collapsed trigger.
When to Use
- A single choice among visible alternatives - payment method, shipping speed.
- A single-choice survey or form question - where seeing every option side by side helps the user decide.
- A plan or tier picker - a small set of comparable options.
When Not to Use
- More than one selection should be allowed - use Checkbox instead.
- A long list of options that would be unwieldy to show all at once - use Select.
- An instantly-applied single setting with no form submission - use Switch.
Best Practices
- Pre-select a sensible default when one genuinely exists, rather than leaving the group unselected.
- Keep the option set mutually exclusive and exhaustive - add an "Other" option if the list isn't complete.
- Align options in a single visual list (not a grid) when their order or relative ranking matters.
Do and Don't
Do
A small set of mutually exclusive options, all visible, with one sensible default already chosen.
Don't
Two radios selected at once is a state the control cannot actually reach. If more than one answer is valid, these should be Checkboxes.
Accessibility
- Options share one native group so only one can ever be checked, and arrow keys move both focus and selection between them.
- Each option's label is clickable and associated with its input.
- Every option shows a visible focus ring as keyboard focus moves through the group.
Related Components
Checkbox, Switch, Select, Group Button.
{
"component": "Radio",
"category": "Forms",
"summary": "Radio Button is for picking exactly one option from a small, fully visible set - every option stays on screen at once so the user can compare them directly, unlike Select, which hides the options behind a collapsed trigger.",
"whenToUse": [
"A single choice among visible alternatives - payment method, shipping speed.",
"A single-choice survey or form question - where seeing every option side by side helps the user decide.",
"A plan or tier picker - a small set of comparable options."
],
"whenNotToUse": [
"More than one selection should be allowed - use Checkbox instead.",
"A long list of options that would be unwieldy to show all at once - use Select.",
"An instantly-applied single setting with no form submission - use Switch."
],
"bestPractices": [
"Pre-select a sensible default when one genuinely exists, rather than leaving the group unselected.",
"Keep the option set mutually exclusive and exhaustive - add an \"Other\" option if the list isn't complete.",
"Align options in a single visual list (not a grid) when their order or relative ranking matters."
],
"doAndDont": {
"do": "A small set of mutually exclusive options, all visible, with one sensible default already chosen.",
"dont": "Two radios selected at once is a state the control cannot actually reach. If more than one answer is valid, these should be Checkboxes."
},
"accessibility": [
"Options share one native group so only one can ever be checked, and arrow keys move both focus and selection between them.",
"Each option's label is clickable and associated with its input.",
"Every option shows a visible focus ring as keyboard focus moves through the group."
],
"relatedComponents": [
"Checkbox",
"Switch",
"Select",
"Group Button"
]
}