
N° 0961 · card
Expanding Accordion Card is an interactive card. It responds to click. Palettes: Paper, Mint on ink, Moss, Blush and Orchid.
On summary click the script prevents the default toggle, records every card's box, sets `open` on the clicked card (and clears it on the others), records the boxes again, then plays the difference back with transforms over 0.35 s `cubic-bezier(.2,.8,.2,1)`: each card `translateY(old − new)` to 0, each card's box (`details::before`) `scaleY(old ÷ new height)` from the top to 1, and the opened body fades in from `translateY(-6px)` 60 ms later. A click mid-animation starts from where the cards are. The chevron rotates 180° with the same timing.
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.

N° 0961 · card

N° 0960 · card

N° 0959 · card

N° 0957 · card

N° 0832 · card

N° 0831 · card

N° 0830 · card

N° 0353 · card

N° 0380 · card

N° 0967 · button

N° 0834 · button

N° 0431 · nav

N° 0416 · overlay

N° 0418 · overlay

N° 0422 · overlay

N° 0368 · card