pattern-library 3 linked patterns checked

GOV.UK Design System Radios component

Documents radio groups for one option from a list, fieldset and legend grouping, no careless pre-selection, optional hints, and validation errors for the group.

Read with a purpose

What this source can teach

Use this source to compare a documented solution with the task and states in your own product.

  1. Start with the original. Open the source and find the guidance or example relevant to your task.
  2. Trace the connection. Use the claim notes below to see how this site applies the source to specific patterns.
  3. Check the setting. Compare the source's platform, people, and constraints with your own decision.

Pattern Decisions This Source Supports

Pattern Supported decision Required contract Claim note
Conditional reveal fields Choose conditional reveal fields when one option needs a short, directly related follow-up field in the same local context. Selecting the trigger shows the related field immediately under that trigger. GOV.UK radio guidance anchors single-choice trigger behavior for conditional follow-up fields.
Dependent fields Choose dependent fields when one answer controls another field's valid choices, requirement, editability, helper text, or validation. Users encounter the controlling field before the dependent field in reading and tab order. GOV.UK conditional radio guidance anchors the distinction between simple conditional reveal and dependent option/value management.
Radio group Choose radio groups when the user must choose one option from a short visible set. Only one option in the named group can be selected at a time. GOV.UK radios guidance supports one option from a list, fieldset/legend grouping, no careless preselection, and group-level errors.

Comparisons supported by this source

Evidence Role

This source is treated as pattern-library evidence. Its value comes from the specific claims and setting described above.

Publisher: Government Digital Service. Last checked: .

Saved items