Variants and sizes

  • One: k-tabs with k-tab buttons. When the tabs don't fit, the list scrolls sideways; it never wraps.

States

  • Rest: ink-muted, weight 500.
  • Hover: the pointer cursor; nothing else changes.
  • Selected (aria-selected="true"): ink, weight 600, and the 3px indicator. Weight and the bar carry the state, not colour alone.
  • Focus: the 2px focus-ring, 2px outside the tab.
  • Disabled: none. Remove a tab with nothing behind it, or show an EmptyState in its panel.

Do and don’t

Do

  • Write labels in sentence case, one or two words: Payments, Members, Settings.

  • Keep the selected tab when the person comes back to the page.

  • Keep the indicator ink: selection is ink, never accent.

Don’t

  • Put actions such as Attach file in the tab list; put them in the panel.

  • Nest tabs inside a tab panel.

What you provide

  • The tab list's name, such as "Studio project".
  • For each tab: its label, its id, the panel it controls, and which tab is selected.
  • The content of each panel.