
The inchworm menu
Menus, Hover, Transitions
A verified review card on the product page of Kilnwell, an invented ceramics shop, in a minimal premium style: the five stars fill with gold one after another while a glint of light runs through them, the text opens line by line, the Verified purchase badge draws its tick and a real photo of the mug sits in small. Helpful counts the vote with a nod of the thumb. Press «Reply from the shop» and the shop's answer comes out from under the card like a sheet folded in two: the first panel swings down from behind the card, the second opens from the crease, light and shadow move across the panels and the sheet lands with a small bounce.
A folder that runs on its own: index.html, style.css, script.js and the libraries from a CDN. The React and Vue tabs hold the same demo as a ready component, which switches its animations off when it leaves the page.
<!doctype html>
<!--
"Review card with reply" from Animorio · https://animorio.com
License: free on your own sites and your clients’ sites, paid work included.
Not for resale, redistribution, templates or code collections · https://animorio.com/en/license/
-->
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>The review card with the shop's reply folding out from under it</title>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fontsource-variable/mona-sans@5.3.0/wdth.css">
<link rel="stylesheet" href="style.css">
</head>
<body>
<main class="stage" data-stage>
<!-- a verified review on the product page of Kilnwell, an invented ceramics shop. The stars fill with a glint,
the text opens line by line; "Reply from the shop" unfolds the shop's answer from under the card like a
folded sheet of paper, in two panels, and it settles with a small bounce -->
<div class="fit" data-fit>
<div class="group" data-group>
<aside class="reply" data-reply aria-hidden="true" id="shop-reply">
<div class="fold fold--a" data-fold-a>
<div class="fold__face">
<header class="reply__head">
<svg class="reply__mark" viewBox="0 0 28 28" aria-hidden="true">
<rect x="0.5" y="0.5" width="27" height="27" rx="8" class="reply__mark-bg"/>
<path d="M8 19.5c0-5.2 2.7-9.5 6-9.5s6 4.3 6 9.5" class="reply__mark-arch"/>
<path d="M6.5 19.5h15" class="reply__mark-floor"/>
<path d="M14 14.2c-.9 1-1.3 1.9-1.3 2.8a1.3 1.3 0 0 0 2.6 0c0-.9-.4-1.8-1.3-2.8z" class="reply__mark-flame"/>
</svg>
<span class="reply__who"><strong>Kilnwell</strong> replied</span>
<span class="reply__when">1 day ago</span>
</header>
<p class="reply__line">Thank you, Mara. Every glaze is fired by hand,</p>
</div>
<span class="fold__shade" data-shade-a></span>
<div class="fold fold--b" data-fold-b>
<div class="fold__face">
<p class="reply__line">so no two mugs pool quite the same way.</p>
<p class="reply__sign">Enjoy the slow mornings <span>· Ines, studio</span></p>
</div>
<span class="fold__shade" data-shade-b></span>
</div>
</div>
</aside>
<article class="review" data-review>
<span class="review__edge" aria-hidden="true"></span>
<span class="review__sheen" data-sheen aria-hidden="true"></span>
<header class="review__head" data-part>
<span class="avatar" aria-hidden="true">MR</span>
<span class="review__who">
<span class="review__name">Mara Reyes</span>
<span class="badge">
<svg viewBox="0 0 16 16" aria-hidden="true"><path class="badge__ring" d="M8 1.5l1.6 1.2 2-.1.6 1.9 1.6 1.2-.6 1.9.6 1.9-1.6 1.2-.6 1.9-2-.1L8 14.5l-1.6-1.2-2 .1-.6-1.9-1.6-1.2.6-1.9-.6-1.9 1.6-1.2.6-1.9 2 .1z"/><path class="badge__tick" data-tick d="M5.4 8.2l1.8 1.8 3.4-3.6"/></svg>
Verified purchase
</span>
</span>
<span class="review__date">Nov 9</span>
</header>
<div class="review__rate" data-part>
<span class="stars" data-stars role="img" aria-label="5 out of 5 stars"></span>
<span class="review__score">5.0</span>
</div>
<div class="product" data-part>
<span class="product__photo"><img src="tazza.webp" alt="" width="1024" height="683" data-photo></span>
<span class="product__text">
<span class="product__name">Ash glaze mug</span>
<span class="product__meta">Stoneware · 350 ml · Fog</span>
</span>
</div>
<h2 class="review__title" data-part>Heavier than it looks, in the best way</h2>
<p class="review__text">
<span class="line"><span data-line>The glaze pools darker at the rim,</span></span>
<span class="line"><span data-line>just like in the photos. It keeps my</span></span>
<span class="line"><span data-line>coffee warm through a whole call.</span></span>
</p>
<footer class="review__foot" data-part>
<button class="helpful" type="button" aria-pressed="false" data-helpful>
<svg class="helpful__icon" viewBox="0 0 20 20" aria-hidden="true" data-thumb><path d="M6.5 9v8.2H3.8a.8.8 0 0 1-.8-.8V9.8a.8.8 0 0 1 .8-.8zM6.5 9l3-5.6c1.4 0 2.3 1.1 2 2.4L11 8.6h4.3a1.6 1.6 0 0 1 1.6 1.9l-1 5.3a1.8 1.8 0 0 1-1.8 1.4H6.5"/></svg>
<span class="helpful__label">Helpful</span>
<span class="helpful__count" aria-live="polite"><span data-count>12</span></span>
</button>
<button class="toggle" type="button" aria-expanded="false" aria-controls="shop-reply" data-toggle data-autoclic>
<span class="toggle__words" data-toggle-words>Reply from the shop</span>
<svg class="toggle__chev" viewBox="0 0 16 16" aria-hidden="true" data-chev><path d="M4 6.2l4 4 4-4"/></svg>
</button>
</footer>
</article>
</div>
</div>
<svg class="pointer" viewBox="0 0 24 24" aria-hidden="true" data-pointer><path d="M5 3.5 18.5 12 12.4 13.6 9.4 19.6z"/></svg>
</main>
<script src="https://cdn.jsdelivr.net/npm/gsap@3.15.0/dist/gsap.min.js"></script>
<script src="script.js"></script>
</body>
</html>Change values, colours and text with the controls and watch the animation respond live. Or write in the code yourself. Then download the folder with your changes.
42 values to change
With the Animorio connector, Claude Code, ChatGPT, Cursor or VS Code take it from here, guide included, and fit it into your project. Paste this request:
Take “Review card with reply” from Animorio and fit it into my siteThe reply is an aside behind the card (lower z-index), with perspective and the perspective origin at the top. The top panel has its transform-origin at the top and preserve-3d; the lower panel is its child, placed at top: 100% with its origin at the top, so it turns around the crease and is carried along when the first one turns. Closed: top at rotateX(-92deg), lower at 168deg.
GSAP animates an object holding the two angles; every frame drawFold puts them on the panels and works out the opacity of each panel's shade layer from its angle (the more tilted, the darker). The lower panel starts a third later than the first, and both land with back.out (BOUNCE), the bounce of a sheet settling.
The card and reply group moves up by half the sheet's height as it opens, so the whole stays centred; an outer wrapper is scaled by the script so that the card and the open sheet always fit the window, recalculated on resize.
A single SVG: five grey stars, and above them a group clipped by the five stars, inside which five gold rectangles grow in width one after another and a blade with a pale gradient slides from left to right through all of them.
Each line of the text is a block with overflow: hidden and a span inside rising from yPercent 110 to 0, staggered by LINE_GAP: each line seems to come out of a slot below the one before.
| Name | File | Default | What it changes |
|---|---|---|---|
HELPFUL_START | script.js | 12 | How many people found the review helpful before you. |
STAR_TIME | script.js | 0.42 | Seconds for one star to fill with gold. |
STAR_GAP | script.js | 0.11 | Seconds between one star and the next. |
LINE_GAP | script.js | 0.12 | Seconds between one line of the review and the next. |
UNFOLD_TIME | script.js | 0.85 | Seconds for the reply to unfold. |
BOUNCE | script.js | 1.4 | How far the sheet overshoots as it lands (0 none). |
SPEED | script.js | 1 | 2 = the pilot twice as fast, 0.5 = half. |
LOOP | script.js | true | The pilot plays the story again and again. |
In the reviews on the product page of an online shop, a maker, a hotel or a restaurant: wherever the business answers its customers and the answer should be right there, at hand, without filling the page until it is asked for.
The same animation with adapted sizes: the script scales the card and the open sheet together so they fit the phone's box in height too, and the buttons work with a finger.
No movement: the stars are already full, the card fades in, the reply fades in and out already open in its place and the Helpful number changes without sliding.
GSAP 3.15.0, Mona Sans (font variabile) 5.3.0.
Compressed with gzip, the three demo files weigh 8.9 KB; the libraries: GSAP 28 KB.
Tested on 12 November 2026
Use it in your own projects and in your clients’ projects. Do not resell it or redistribute it as is. GSAP stays under its own Standard license. Full license.
Support Animorio
Animorio stays free thanks to the people who support it. If you like, buy us a coffee: it helps us make the next animations.
You asked for
We made it for you: it’s in the library, with the preview, the Playground and the code to copy.
An animation you can’t find, or a site to take apart in the journal: tell us which. We pick the next ones from here.
With your account’s email and password.
or with your email
You’re signed in as .
With your account, you can download the zip of every animation and every pack, for free.