Why this wireframe works | Segmented tabs
Readers pick the option that applies to them at once
Two or three short options sit in one frame, so readers can pick the one that applies to them straight away. There is no need to skip over content that does not concern them.
The selected option is obvious
The selected option is inverted and stands out within the frame. With so few options, it is hard to mistake which one is being viewed.
Built with the tab role
It may look like a button switch, but switching content is the job of tabs. role=”tab” and aria-selected are set, and ← → switches between the options.
On mobile, the frame spans the full width
On mobile the options share the full width equally, so they are easy to press. With only two or three options, they still fit on one line.
Common mistakes | Segmented tabs
Long option names
Names like “For business customers, click here” do not fit on mobile. Keep them to “Business” and “Personal”, and put the explanation inside the content.
No clear initial selection
If neither option looks selected, readers cannot tell who the content is for. Decide which is selected at first and show it clearly.
Switching changes the shape of the content
When the number or layout of cards changes drastically with each switch, readers struggle to compare. Keep the shape the same as far as possible and change only the content.
Mistaken for an on/off switch
A two-option switch styled like a settings toggle can look like a button that enables something. Show both option names.
FAQ | Segmented tabs
When should I use segmented tabs and when radio buttons?
To switch what is shown on the spot, use segmented tabs (the tab role); to choose a value as a form answer or setting, radio buttons or a toggle suit better. When only numbers change, as with monthly and annual billing, the monthly/annual toggle pricing table is a useful reference.
Which option should be selected at first?
The one most readers belong to, as a rule. Judge from analytics or the content of enquiries.
Should the chosen option be remembered next time?
On sites readers visit often, remembering it saves effort. Even then, keep it visible that the switch is always available.

















