accordion
FreeUse when implementing expand and collapse content sections.
The English summary is being prepared. Showing the original description.
Use when implementing select a single option from a group.
The English summary is being prepared. Showing the original description.
See how to installReview the instructions the agent will receive before you install.
Select a single option from a group
Radio buttons are form controls that allow users to select exactly one option from a set of mutually exclusive choices. Unlike checkboxes, radio buttons work in groups where selecting one automatically deselects all others in the same group. Radio buttons are essential for forms where users must make a single choice from multiple options, such as selecting a payment method, choosing a size, or picking a delivery option.
name attribute work togetherreferences/pattern.md, then choose the smallest viable variation.Target Metrics:
The Problem: Using radio buttons when users need to select multiple options confuses the interaction model.
How to Fix It? Use checkboxes for multiple selections, radio buttons only for single selection.
The Problem: Radio buttons without proper fieldset grouping are inaccessible and confusing.
How to Fix It? Always wrap radio button groups in fieldsets with descriptive legends.
The Problem: Radio buttons with different names scattered throughout a form creates confusion.
How to Fix It?
Use the same name attribute for all radio buttons in a logical group.
For full implementation detail, examples, and testing notes, see references/pattern.md.
Pattern page: https://uxpatterns.dev/patterns/forms/radio
No reviews yet. Tell others what you thought.
No login needed. Share how it worked for you, ask a question, or note where it did not run.
No comments yet. Be the first to write one.
Use when implementing expand and collapse content sections.
The English summary is being prepared. Showing the original description.
Use when implementing user account configuration and preferences.
The English summary is being prepared. Showing the original description.
Use when implementing social activity and updates stream.
The English summary is being prepared. Showing the original description.
Use when implementing conversational AI chat interfaces.
The English summary is being prepared. Showing the original description.
Use when implementing handling AI-specific errors.
The English summary is being prepared. Showing the original description.
Use when implementing loading states for AI operations.
The English summary is being prepared. Showing the original description.