
Melting words
Text, Scroll, SVG
Scroll inside the preview
The reviews section of a made-up garage, Greyfern Motor Works, on a sticky stage: as you scroll the average counts up to 4.8 while five stars are drawn stroke by stroke and fill with amber, the last one only partly; the bars of the distribution grow one after another, a thin rule draws across and three review cards rise in a cascade and settle with a slight overshoot. The first carries a Verified pill whose tick draws itself. Everything follows the scroll both ways.
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>
<!--
"Garage reviews" 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 garage reviews that build themselves as you scroll</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>
<!-- the reviews section of a made-up local garage, Greyfern Motor Works. A sticky stage: scrolling, the average counts
up to 4.8 while five stars are drawn stroke by stroke and fill (the last one only partly), the bars of the
distribution grow one after another, and three review cards rise in a cascade and settle with a slight overshoot.
The first card carries a Verified pill whose tick draws itself -->
<section class="corsa" data-corsa>
<div class="palco">
<article class="pannello" data-pannello aria-label="Greyfern Motor Works, customer reviews">
<span class="pannello__luce" data-luce aria-hidden="true"></span>
<header class="testa">
<span class="marchio">
<svg viewBox="0 0 20 20" aria-hidden="true"><circle cx="10" cy="10" r="6.4"/><circle cx="10" cy="10" r="2.2"/><path d="M10 3.6v2.6M10 13.8v2.6M3.6 10h2.6M13.8 10h2.6"/></svg>
<span>Greyfern <em>Motor Works</em></span>
</span>
<span class="testa__nota" data-nota>Most recent first</span>
</header>
<div class="voto">
<div class="voto__grande">
<span class="voto__numero" data-numero>0.0</span>
<div class="stelle" data-stelle aria-hidden="true"></div>
<span class="voto__base" data-base>Based on 0 reviews</span>
</div>
<ul class="barre" data-barre aria-label="Rating distribution"></ul>
</div>
<span class="riga" data-riga aria-hidden="true"></span>
<div class="card" data-card></div>
</article>
<p class="invito" data-invito aria-hidden="true">Scroll to read what drivers say</p>
</div>
</section>
<script src="https://cdn.jsdelivr.net/npm/gsap@3.15.0/dist/gsap.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/gsap@3.15.0/dist/ScrollTrigger.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/lenis@1.3.26/dist/lenis.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.
23 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 “Garage reviews” from Animorio and fit it into my siteThe section is 320vh tall with a sticky stage one screen high inside. A single scrubbed ScrollTrigger takes a number from 0 to 1 and one function draws everything from it: each piece has its own stretch of the ride, so it all runs backwards when you scroll up.
Each star is an SVG with three copies of the same path: the grey ground, the amber fill clipped by a clipPath whose width is its share of the average, and the outline with pathLength 1 and a dashoffset going from 1 to 0.
The bars are scaleX with a left origin, a twentieth of the ride apart; the percentages and the average count with font-variant-numeric: tabular-nums.
The cards rise on a hand-written back curve, 1 + (s+1)(t−1)³ + s(t−1)², which goes a little past 1 and comes back: s is the OVERSHOOT knob.
| Name | File | Default | What it changes |
|---|---|---|---|
RATING | script.js | 4.8 | The average shown, out of 5. |
REVIEWS | script.js | 412 | How many reviews the average is based on. |
RIDE | script.js | 1 | How much scroll the whole section takes: 2 is twice as long. |
SCRUB | script.js | 0.6 | How far the panel lags behind the scroll, in seconds. |
RISE | script.js | 34 | How many pixels the review cards rise from. |
OVERSHOOT | script.js | 0.7 | How far the cards go past their place before settling (0 none). |
STAGGER | script.js | 0.09 | The share of the scroll between one card and the next. |
SHINE | script.js | 0.8 | How bright the light sweeping the panel is (0 none). |
For the reviews section of a local business (a garage, a car dealer, a restaurant, a shop) or a product page: as you scroll the average arrives, then the distribution, then the customers’ own words.
The same animation with adapted sizes: the panel is sized on the height too and everything inside follows its width; the cards become two, one under the other, and fit whole in the box.
No motion: the average and the bars follow the scroll without hops or shifts, and the cards and the pill only fade in.
GSAP 3.15.0, ScrollTrigger 3.15.0, Lenis 1.3.26, Mona Sans (font variabile) 5.3.0.
Compressed with gzip, the three demo files weigh 7.1 KB; the libraries: GSAP + ScrollTrigger 45 KB, Lenis 5.3 KB.
Tested on 8 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.