# Accordion — Multi Mode

> Multi-mode ARIA accordion on paper-like cards with accent-marked headings, Nunito Sans questions, and compact chevron controls — with grid-row height animation and full keyboard navigation. Panels toggle independently.

- Category: Accordion
- Frameworks: Vanilla, React + CSS, React + Tailwind
- Design system: Sunset Coast
- Dark mode: yes
- Access: premium (Atheros AI Pass)
- Tags: faq, disclosure, data-display
- Page: https://builder.atheros.ai/components/accordion-multi-mode
- Preview: https://d17nmjscumqk5d.cloudfront.net/builder/templates/tpl_018/preview-7289009e5214.webp

## Features

- APG disclosure pattern: each `<button>` is the sole child of an `<h2>`, with `aria-expanded`, `aria-controls`, and a labelled panel hidden from assistive technology when collapsed
- Two expand modes via `data-mode`: `single` closes siblings, `multi` toggles independently
- Questions render on first paint; the cancellable request contract still supports skeleton, empty, error, and retry states for non-immediate loaders
- Layout-safe height animation using the CSS `grid-template-rows` 0fr to 1fr trick
- Figtree chevron disc rotates 180 degrees on expand and fills iris-violet, with a content fade and slide
- Roastery identity: champagne-paper canvas with dot grain, Nunito Sans questions, restrained dividers, and evergreen emphasis
- Keyboard navigation: Up/Down between headers, Home/End to jump, Enter/Space to toggle
- Responsive layout down to 320px with prefers-reduced-motion support

## Accessibility

- **Disclosure pattern** — Each header `<button>` is the sole child of an `<h2>` and controls a labelled `role="region"` panel
- **Collapsed panels** — `aria-hidden` and `inert` apply immediately; `hidden` applies after the closing transition and is cancelled on reopen
- **Keyboard nav** — `ArrowUp`/`ArrowDown` move focus, `Home`/`End` jump, `Enter`/`Space` toggle
- **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

- `ArrowDown` — Move focus to next header
- `ArrowUp` — Move focus to previous header
- `Home` — Move focus to first header
- `End` — Move focus to last header
- `Enter` — Toggle focused panel
- `Space` — Toggle focused panel

## Common questions

**Which frameworks is Accordion — Multi Mode available in?**

Accordion — Multi Mode 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 Accordion — Multi Mode free?**

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

**Does Accordion — Multi Mode support dark mode?**

Yes. Accordion — Multi Mode ships light and dark themes, both drawn from the Sunset Coast design system's tokens. Switch the preview to dark mode to compare them.

## Get the code

Preview Accordion — Multi Mode 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/accordion-multi-mode

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
