Tabs.

Tabs show sections with different content in the same place, one at a time. Tab navigation uses the same drawing for the sections of an area, each with its own URL.

Available Updated December 2, 2026

Availability

  • Astro In use A project’s views in the portal
  • React In use Ops: Client 360 and System
  • Liquid Ready Shopify themes
  • Figma Soon Cuenca kit for Figma
cuenca.flouvia.com

When to use each

Tabs change what you see without leaving the page. Tab navigation takes you to another page of the area.

If you needUseNever
Sections with different content in the same place: Summary, Work, Billing Tabs, with one panel per tabA segmented control: it isn’t a filter.
The sections of an area, each with its own URL Tab navigation (links)Tabs that change the page.
Filtering the same thing or seeing it another way: Open, Resolved Segmented controlTabs.
Questions or details that open in place AccordionTabs for long text.

Summary

Three active projects and one open conversation.

A client’s sections, live: the selected one in its capsule, Work’s count and its panel below. Pick another with a click or the arrow keys.

Summary

Three active projects and one open conversation.

Do: Tabs for sections with different content: a client’s summary, work and billing.

Open

The same conversations, with another filter.

Don’t: Tabs to filter the same list: open, resolved and all are a segmented control.

Tab or segment

Both are a capsule on a track. What’s selected, the width and the place set them apart.

TabSegment
What’s selected Neutral: fill 4 with primary text and a 1 px edgeThe action, in the theme’s color
The width That of its nameShares the width among all of them
The place At the start, above its panelIn a bar, next to what it filters
When it doesn’t fit “More”, or the rail that slidesIts select, with the same options; with links, never
What screen readers hear “Tab”, with its panel“Radio button”, in its group
  • The edge says which

    The gray capsule alone doesn’t reach 3:1 against its track. With its 1 px edge it reaches 4.21:1 in Flouvia’s theme and 3.55:1 in the light one.

  • Different content

    If each option shows the same thing with another filter, it’s a segmented control. If each one shows something different, they’re tabs.

  • The same shape

    A tab takes the radius of the segmented control at its size, and its capsule, that radius minus its rail. In Flouvia’s theme both are capsules; a theme with radii gives each size its own.

Anatomy

PartWhat it is
The track The tab list, in fill 2, with a 3 inset. It’s as wide as its tabs.
The capsule The selected one’s: fill 4 with its edge. It travels from one tab to another.
The tab Its name and, when it helps, its icon before or its count after.
The count How many there are, in secondary text and with no capsule. Only screen readers hear its unit.
“More” A button outside the track with its chevron, which opens the tabs that don’t fit.
The panel The selected tab’s content, 16 below the track and full width. Its title shows only without JavaScript.

Sizes

SizeTrackTypeWhere
medium 44, with 14 padding per tab15, at 500The site and the portal. By hand, always.
small 36, with 12 padding13, at 500Ops, with a fine pointer only.
Both sizes. By hand, small goes back to 44: each tab is the track’s height minus 6, and the count is at 400, with tabular figures.

States

StateHow it looks
Selected Its capsule with its edge and its name in primary text.
The others Their name in secondary text on the track; lighter on hover.
With a count The count in secondary text; on the selected one, a step lighter to reach 4.5:1.
Disabled In disabled text; the arrow keys skip it.
Focus A 2 px ring inside the tab.
Forced colors The capsule in Highlight and the selected count in HighlightText.

When they don’t fit

No tab is cut off or breaks its name. What doesn’t fit is offered another way.

`overflow`What it does
auto With a mouse, “More” holds the tabs that don’t fit; by hand, the track slides sideways. It’s the default.
more “More”, by hand too.
scroll The track slides, with a mouse too.
  • The selected tab is always in view

    The ones that fit stay in order and “More” holds the rest, with their counts. The one you pick in “More” takes the last visible place and focus moves to it.

  • The track shows there’s more

    As it slides, the edge fades on the side that has more, and the selected tab is centered when it opens and when you pick it.

  • With the width

    It measures again every time the width changes: when you turn the phone or open a side panel.

“More” open: the tabs that don’t fit, each with its count, in Cuenca’s menu. The figure shows it still.

Behavior

  • Nothing moves on arrival

    The selected tab arrives already painted and its panel already in view. The capsule only travels when you pick another.

  • Focus stays

    When you pick with a click, the arrow keys or “More”, focus stays on the tab and the panel changes below.

  • Automatic or manual

    With the arrow keys, a tab opens its panel as you reach it. When the panel is fetched from the network, activation is manual: it opens with Enter or Space.

  • Without JavaScript

    The list isn’t shown and the panels go one below the other, each with its title. Nothing is lost.

Content

PartHow it’s writtenExample
The list’s name What it groups. Screen readers hear it; it isn’t shown.“Client sections”
The tab One or two words, a noun, no period.“Summary”, “Billing”
The count How many there are, only when it helps choose. With 0 it isn’t written. Screen readers hear its unit.“Work, 3 projects”
The icon All of them have one or none do, always before the name.
The panel’s title Its tab’s name.“Summary”

Languages and direction

  • Its text, in both languages

    “More” and “More sections” come with lang: «Más» and «Más secciones».

  • Spanish grows

    A tab in Spanish is wider than in English: what doesn’t fit goes to “More” or to the sliding track, never to a cut-off name.

  • Right to left

    The arrow keys reverse, the track fades on the side that has more and the selected tab stays in view.

Accessibility

Tabs are a tab list with its panels; tab navigation, a nav with links. They meet WCAG 2.2 AA.

KeyWhereWhat it does
Tab TabsEnters the selected tab; the next one, “More” if it’s there, then the panel
← → TabsThe previous and the next, wrapping around and skipping the disabled one; automatic, opens its panel
Home · End TabsThe first and the last in view
Enter · Space Manual tabs · “More”Opens the focused tab · opens the menu
↓ · ↑ “More”Opens the menu on the first or the last
Tab · Enter Tab navigationLike any link
  • The state in the code

    The selected tab is heard as selected; the navigation’s current section, as the current page.

  • Not just color

    The selected tab has its edge, which reaches 3:1 against the track. In forced colors, the capsule is Highlight.

  • Focus changes the panel, never the page

    Arrow keys open panels on the same page. Tab navigation doesn’t navigate with the arrow keys.

  • Without JavaScript, sections

    Without the list, each panel is a section with its title: no role that can’t be used and no extra Tab stop.

  • Measured contrast

    A tab and its count on the track, 6.42:1; the selected tab on its capsule, 8.01:1; the selected count, 5.84:1; focus, 5.64:1.

Motion and sound

PieceWhat it doesSpringWith reduced motion
The capsule Travels to the selected tab, in place and widthdropAppears in place and fades in 200 ms
The new panel Fades in, without slidingriseChanges and fades
The “More” chevron Turns as the menu opensdropFlips without turning
  • No sound of its own

    Changing tabs doesn’t sound by itself. On the site, the click sounds like any click.

Changes

  • Selection and tabs · Cuenca

    A group’s help, hidden question and own error; the segmented control that doesn’t fit and its select, with its figure; the chip, the segmented control and the tab with the radius of their size; and the segmented control with links, in two or three segments.

  • Tabs, accordion, pagination and slider · Cuenca

    New guides: tabs and tab navigation, the accordion, pagination and the slider, when to use each and how they’re written, with live pieces.

Figma is a trademark of its owner; its logo appears only to show compatibility and does not imply endorsement.