Concept cluster
Choices and binary states
Compare an independent form choice, one exclusive choice in a group, and an on/off setting.
Try the 3 concepts, compare what changes, then use the Pack that fits your need.
Try the componentsChoices and binary states
Try it
Is this an independent value, one exclusive grouped choice, or an on/off setting?
Checkbox
Shared trial context
A settings flow asks the user to make a choice and understand whether it is independent, exclusive, or an on/off setting.
Checkbox
Mission
Checkbox
Toggle two preferences with Space, then use the parent checkbox to demonstrate the mixed state.
Step 1 of 3
Try
Try the component. Your live result appears just above. Move on at your own pace.
Behavior and edge case
- What to observe
- Each labeled option exposes its own checked state and can be submitted with the form.
- Edge case
- The Select all parent becomes indeterminate when only some child choices are checked.
Radio group
Mission
Radio group
Enter the group with Tab, choose Express with arrows, and verify Standard is cleared.
Step 1 of 3
Try
Try the component. Your live result appears just above. Move on at your own pace.
Behavior and edge case
- What to observe
- One delivery option is checked beneath a shared visible legend.
- Edge case
- When a required group has no selection, submission focuses the group and explains that one method must be chosen.
What this example shows
Checkbox represents an independent checked choice; Radio group enforces one choice, while Switch expresses an on or off state. Commit timing is product policy, not the semantic distinction.
Which fits your need?
Checkbox
Selecting any number of independent options
Radio group
Choosing one shipping method from visible alternatives
Difference and sources
Checkbox represents an independent checked choice; Radio group enforces one choice, while Switch expresses an on or off state. Commit timing is product policy, not the semantic distinction.
Read the sourcesParts of the specimen
Select a numbered marker on the schematic, or use the list below, to see its role. The schematic shows the concept's representative state.
Control
The interactive element that receives input and exposes state.
The three concepts
The three comparisons
Signals you are confusing them
These descriptions fit every concept in the cluster, so none of them is enough to decide.
- a control represents a selected unselected or on off state
- the choice may be independent exclusive within a group or applied immediately