# Tabs

> An accessible ARIA tabs component with a sliding active indicator, roving tabindex keyboard navigation, and a job-board panel layout — fully token-driven and design-system agnostic.

- Category: Tabs
- Frameworks: Vanilla, React + CSS, React + Tailwind
- Design system: Triangulum
- Dark mode: yes
- Access: premium (Atheros AI Pass)
- Tags: navigation
- Page: https://builder.atheros.ai/components/tabs
- Preview: https://d17nmjscumqk5d.cloudfront.net/builder/templates/tpl_builder_tabs/preview-692b74707c71.webp

## Features

- Proper ARIA tabs pattern with `role="tablist"`, `role="tab"`, and `role="tabpanel"`
- Roving tabindex with ArrowLeft/ArrowRight wrap and Home/End jumps
- Animated active-tab indicator that slides via `transform: translateX()`
- Panel switch with fade-and-translate entrance animation
- Job-board content with company brand logos, bookmark toggles, and location markers
- Responsive layout collapsing card rows on mobile

## Accessibility

- **ARIA labels** — Tablist has `aria-label`, bookmarks have descriptive labels
- **Theme toggle** — `role="switch"` with `aria-checked` toggled by JS
- **Tabs** — `role="tab"` with `aria-selected` and `aria-controls`
- **Panels** — `role="tabpanel"` with `aria-labelledby` and `tabindex`
- **Roving tabindex** — Selected tab `tabindex="0"`, others `tabindex="-1"`
- **Keyboard nav** — `ArrowLeft`/`ArrowRight` wrap, `Home`/`End` jump
- **Focus indicators** — `:focus-visible` with `--ring` outline on all elements
- **Reduced motion** — `prefers-reduced-motion: reduce` disables all animations
- **Viewport** — `100dvh` for mobile-safe viewport height

## Keyboard shortcuts

- `ArrowLeft` — Select previous tab (wraps to last)
- `ArrowRight` — Select next tab (wraps to first)
- `Home` — Select first tab
- `End` — Select last tab

## Common questions

**Which frameworks is Tabs available in?**

Tabs ships as Vanilla, React + CSS and React + Tailwind — HTML, CSS, JS and React source you can copy, download or clone into Atheros AI Builder.

**Is Tabs free?**

Tabs is a premium component. Anyone can preview it; the source, downloads and AI customisation are included with Atheros AI Pass.

**Does Tabs support dark mode?**

Yes. Tabs ships light and dark themes, both drawn from the Triangulum design system's tokens. Switch the preview to dark mode to compare them.

## Get the code

Preview Tabs live, then sign in to copy or download the source, apply another design system, or ask the AI assistant to change it: https://builder.atheros.ai/components/tabs

Every component on https://builder.atheros.ai is also reachable from Claude Code, Cursor and Codex through the Atheros MCP server (paid plans). Component index: https://builder.atheros.ai/llms-components.txt
