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
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.
<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⋯ badge and closing bracefaq.json tab, mono line-number gutter with divider, JSON syntax palette (key, string, comment, punctuation), blinking caret, azure status bar<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 elementsaria-hiddenaria-label with the plain question textprefers-reduced-motion: reduce disables all animations100dvh for mobile-safe viewport heightOpen Accordion — Single 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.

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.

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.

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.

A real-time messaging interface with conversation threads, chat bubbles, typing indicators, and simulated API integration — fully token-driven and design-system agnostic.

An accessible observatory-style dialog that opens through an animated circular aperture, with keyboard support and light and dark themes.

An asymmetric quad layout — four differently sized panels: an oversized hero, a nested stat/goals/spark trio, an avatar feed with captioned media, and a checkbox task panel. Skeleton wireframes driven by design tokens, reflowing from a 2×2 grid to a single column, mobile-first.
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
