SubscriberSubscriber
Browse products

Accordion with Smooth Height

Five hairline-ruled FAQ items open with a true height-from-zero-to-auto tween; the plus rotates into a cross, the copy slides up a beat later, the index turns lime and the previously open item closes at the same time.

Loading

AI prompt

Recreate this effect with any AI tool

Paste into Claude, Cursor, v0, Lovable or Bolt. 1287 words of exact values — rewritten live as you tune the Playground.

prompt.md · Accordion with Smooth Height

Prompts are for subscribers

Subscribe to copy this prompt in every format, rewritten live to match your Playground settings.

See plans

Loading prompt…

Source

Full source code

Source code is for subscribers

Subscribe to read, copy and download the full HTML, CSS and JavaScript of this demo.

See plans

Loading source code…

Subscribers

Unlock prompts and code

Enter the access key from your subscription. This browser stays signed in for 30 days.

See plans