VanillaReactLight & dark252 views
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.
Accordion component
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.
<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 trick01, 02, ...) stamped on every header — pure CSS, no markup changes<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 — Solid 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