Skip to content
English
Don't know what it's called50 / 71

Tabs or segmented control

What it's calledTabssegmented controlview switcherGlossary

What goes wrong

Sections of the page and views of the same list are drawn as identical tabs, so nobody can tell which row changes the page and which only rearranges it.

The fix

Use tabs for sections that hold different content, and a segmented control beside the data for views of the same data.

Tell your AI

Mark sections with different content as tabs, text in var(--ds-text-2) with a 2px var(--ds-text) underline under the current one; switch views of the same data with a segmented control placed beside that data: a var(--ds-surface-2) track with var(--ds-radius-full) (999px) corners whose var(--ds-surface) thumb, with box-shadow: var(--ds-shadow-sm), slides over var(--ds-duration-base) (240ms).

  • --ds-text-2
  • --ds-text
  • --ds-surface-2
  • --ds-radius-full999px
  • --ds-surface
  • --ds-shadow-sm
  • --ds-duration-base240ms
Why AI-generated UIs all look the same: 12 rules that fix it

Spring launch

Team project · 5 people

OverviewTasksFilesSettings
ListBoardCalendar
  • Write the launch emailMonAL
  • Shoot product photosTueJS
  • Check stock levelsWedMK

Two rows of tabs: which one changes the page?