AppTabs

Tabs (APG Tabs): role tablist, tab and tabpanel, one Tab stop on the selected tab, the arrows (flipped in RTL), Home and End, and automatic or manual activation. One indicator travels between tabs on a transform, as AppNavbar's pill does, on --vt-duration; under reduced motion it jumps. Panels come from a slot named after each key.

Install: pnpm add-component AppTabs

Basic usage

Tab once into the list, then use the arrow keys; the disabled tab is skipped. Tab again to reach the panel.

Line

Vertical, manual activation

The arrows move focus without switching the panel; Enter or Space selects.

API