ReactVanillaLight & dark254 views
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.
Accordion component
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.
<button> is the sole child of an <h2>, with aria-expanded, aria-controls, and a labelled panel hidden from assistive technology when collapseddata-mode: single closes siblings, multi toggles independentlygrid-template-rows 0fr to 1fr trick<button> is the sole child of an <h2> and controls a labelled role="region" panelaria-hidden and inert apply immediately; hidden applies after the closing transition and is cancelled on reopenArrowUp/ArrowDown move focus, Home/End jump, Enter/Space toggle:focus-visible with --ring outline on all elementsprefers-reduced-motion: reduce disables all animations100dvh for mobile-safe viewport heightOpen Accordion — Multi Mode in Atheros AI Builder, pick a design system and ask the AI assistant to change the layout, copy or behaviour — the accordion is regenerated against your tokens. Take the HTML, CSS, JS and React source with you, or pull it into your repo from Claude Code, Cursor or Codex over MCP.
300+ production-ready components and Atheros AI models. Every paid plan includes access to the whole Atheros — AI Builder and Learning.
Starting at $9.9 per month, billed annually