Skip to main content

BETANow in public beta.Public betaBeta

日本語Español

TAB-002 Published

Segmented Tabs (Segmented Control) UI Design

Segmented tabs (a segmented control) gather two or three short options in one frame and switch the content to suit the reader's situation.

FigmaThis part is included in our free, editable Figma file: 235 website UI patterns across 32 parts, 2 designs each Open in Figma Community ↗ (opens in a new tab)

Wireframe (desktop) | Segmented tabs

Segmented tabs UI design (desktop wireframe)

Wireframe (mobile) | Segmented tabs

Segmented tabs UI design (mobile wireframe)

What changes on mobile

  1. Options share the full width equally: Wider pressable areas, and both names fit on one line.
  2. Cards stacked: Side by side the cards would be narrow and the descriptions would wrap into fragments.

Before you choose this pattern | Segmented tabs

Good fit

  • Readers fall into two or three groups who want different content
  • Short option names: business and personal, first time and returning
  • The content keeps the same shape (a row of cards, say) whichever option is chosen

Poor fit

  • Four or more options (the <a href="/patterns/en/tabs-top/">top tabs</a> work better)
  • Only the numbers change, such as prices or terms (build it as a number switch, like the <a href="/patterns/en/pricing-billing-toggle/">monthly/annual toggle pricing table</a>)

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.

Related pages

Share this pattern

Send this page to your team or your design partner.

Was this pattern useful?

Written by

Yuta Okano

ENVY DESIGN Inc.

CEO / Director / Designer

14 years in the web industry. Has worked on more than 500 web projects, from corporate and recruiting sites to e-commerce. Focuses on information architecture, direction and design, from planning websites to improving them. In recent years he has focused on AIO (AI optimization) and GEO, helping sites get cited by generative AI search such as ChatGPT, Perplexity and Google AI Overviews.

Review and revision history

  1. Published AvatarYuta Okano Pattern published