Grab the code for this component with free account
Every free component's full source, ready to copy or download, plus 30 monthly AI credits for Atheros AI routing to make it yours.
Accordion component
Divider-list FAQ accordion with animated plus/minus icons, single-mode expansion, grid-row height animation, and full keyboard navigation, fully token-driven and design-system agnostic.
<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 — Divider List 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.

Single-mode ARIA accordion styled as a code editor — a faq.json tab with line-number gutter, code-fold carets, JSON syntax highlighting, and a VS Code style status bar. Opening one folded region closes the others, with grid-row height animation and full keyboard navigation, fully token-driven.

Solid letterpress accordion — accent-filled header blocks when open, a warm paper surface, hard borders with offset press shadows, folio numerals, grid-row height animation, chevron rotation, and full keyboard navigation, fully token-driven in a bold editorial identity.

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.

A profile dropdown led by an identity header for the signed-in account, with quick actions and soft key-chip shortcut hints, a What's new discovery item, a switch-account list of the other accounts with a hover switch arrow, a dark mode toggle row grouped above the error-weighted sign-out action — fully token-driven and design-system agnostic.

Square social icon buttons with a 3D flip animation on hover — each icon sits in a rounded-square button that inverts its background and rotates the icon 360 degrees via a rotateY transform, fully token-driven and design-system agnostic.

A minimal animated checkbox group rendered from a data array, with a drawn tick animation and a clean single-column list — fully token-driven and design-system agnostic.
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
