A stack of cards that open to show more: clicking a card animates its body open to the content's real height while the chevron turns, and opening one gently closes the others. Built on native `<details>` so it works before any script runs.
On summary click the script prevents the default toggle, measures the current height, sets `open`, measures the target height, then animates `height` between them over 0.35 s `cubic-bezier(.2,.8,.2,1)` and removes the inline height on finish; closing runs the reverse and removes `open` at the end. The chevron rotates 180° with the same timing. Other open cards close first.
From prompt to a block in your page.
The preview is the shipped element inside a neutral demo page. Hover, click, focus: the one interaction it is about is live.
Token sets re-tint it live. The prompt carries the one you chose.
A paste-in snippet, or a component for Next.js, React, Vue, Astro, WordPress, Shopify or Webflow.
It quotes the markup, styles and script verbatim with the tokens and the rules that keep it self-contained.
It inherits your page's font and width; the tokens live on :root; several instances share one script.