Early-bird pricing is open: 50 of 50 licenses still available. See pricing

Skip to content
popcons

Tabs

Tab list with an animated indicator and roving focus.

Install this component

Install command hidden until you are signed in with a license.

Live demo

Overview content.

Props

Tabs props
PropTypeDescription
tabs{ id; label; content }[]Tabs and panels.
defaultIdstringInitially selected tab.
labelstringaria-label of the tab list.

Accessibility

Keyboard

  • Arrow Right / LeftMove to next or previous tab
  • Home / EndFirst or last tab
  • TabMove from the tab list into the panel

ARIA and semantics

  • role=tablist, tab and tabpanel
  • aria-selected, aria-controls and aria-labelledby
  • Roving tabindex: only the selected tab is in the tab order

Source

Copy the files into your project. Or install with the commands above (they unlock with your license).

The full Tabs source is part of the license.

The live demo is free to try. A license unlocks copy-paste source, installs and exports for every component and pack.

Unlock every icon

More from Core components