
Melting words
Text, Scroll, SVG
Scroll inside the preview
The order page of a made-up homeware and linen shop, Halden: the card stays still while you scroll and the scroll walks the order down a vertical timeline drawn in SVG. The green line draws itself behind a small ring that carries the parcel, the ring stops at every step (Ordered, Packed, Shipped, Out for delivery, Delivered) and settles on a spring with a pixel of overshoot, the step lights up with its time and a line, its icon draws itself stroke by stroke and at the top the delivery estimate rolls to its new value.
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>
<!--
"Order tracking timeline" 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>Halden order tracking</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 order page of a made-up homeware shop, Halden. The card sticks while you scroll: a vertical timeline draws
itself, a small ring carries the parcel down the line and stops at every step with a settle, the step lights up
with its time and a line, its icon draws itself, and the delivery estimate at the top updates. -->
<main>
<section class="viaggio" data-viaggio>
<div class="palco" data-palco>
<div class="grana" aria-hidden="true"></div>
<div class="cornice" data-cornice>
<article class="carta" data-carta aria-label="Order tracking">
<div class="carta__luce" aria-hidden="true"></div>
<header class="testa">
<div class="marchio">
<svg class="marchio__segno" viewBox="0 0 20 20" aria-hidden="true"><path d="M4 3.5v13M16 3.5v13M4 10h12"/></svg>
<span class="marchio__nome">Halden</span>
</div>
<span class="stato" data-stato>
<span class="stato__parola" data-stato-parola>Confirmed</span>
</span>
</header>
<div class="stima">
<p class="stima__etichetta"><span data-etichetta>Estimated delivery</span></p>
<p class="stima__valore">
<span class="stima__fessura"><span class="stima__testo" data-stima>Nov 12 – 14</span></span>
<svg class="stima__spunta" data-spunta-stima viewBox="0 0 20 20" aria-hidden="true"><path d="m4.5 10.4 3.6 3.6 7.4-7.6" pathLength="1"/></svg>
</p>
<p class="stima__nota"><span data-nota>Standard shipping</span></p>
<div class="articolo">
<span class="articolo__tela" aria-hidden="true"></span>
<span class="articolo__nome">Linen throw, oat</span>
<span class="articolo__ordine">HL-20417</span>
</div>
</div>
<ol class="tappe" data-tappe>
<li class="binario" aria-hidden="true">
<svg class="binario__svg" data-binario>
<path class="binario__base" data-base/>
<path class="binario__pieno" data-pieno/>
</svg>
<div class="scia" data-scia></div>
<div class="segno" data-segno>
<div class="segno__anello" data-anello></div>
<div class="segno__pacco" data-pacco><i></i></div>
</div>
</li>
<li class="tappa" data-tappa>
<span class="tappa__nodo" data-nodo>
<svg viewBox="0 0 24 24" aria-hidden="true"><path d="M7 3.6h10a1 1 0 0 1 1 1v15.2l-2.2-1.4-2.2 1.4-1.6-1.4-1.6 1.4-2.2-1.4L6 19.8V4.6a1 1 0 0 1 1-1z" pathLength="1"/><path d="M9.2 8.4h5.6M9.2 11.6h5.6M9.2 14.8h3.2" pathLength="1"/></svg>
</span>
<span class="tappa__testo">
<span class="tappa__riga"><b class="tappa__nome">Ordered</b><time class="tappa__ora" data-ora>Mon 9 · 9:14 AM</time></span>
<span class="tappa__dettaglio" data-dettaglio>Payment confirmed, order received</span>
</span>
</li>
<li class="tappa" data-tappa>
<span class="tappa__nodo" data-nodo>
<svg viewBox="0 0 24 24" aria-hidden="true"><path d="M4 7.6 12 3.6l8 4v8.8l-8 4-8-4z" pathLength="1"/><path d="M4 7.6l8 4 8-4M12 11.6v8.8" pathLength="1"/></svg>
</span>
<span class="tappa__testo">
<span class="tappa__riga"><b class="tappa__nome">Packed</b><time class="tappa__ora" data-ora>Mon 9 · 4:52 PM</time></span>
<span class="tappa__dettaglio" data-dettaglio>Folded, wrapped and sealed at our studio</span>
</span>
</li>
<li class="tappa" data-tappa>
<span class="tappa__nodo" data-nodo>
<svg viewBox="0 0 24 24" aria-hidden="true"><path d="M3 6.6h11v9.2H3z" pathLength="1"/><path d="M14 9.6h3.6l3 3.2v3H14" pathLength="1"/><path d="M8.6 17.6a1.7 1.7 0 1 1-3.4 0 1.7 1.7 0 1 1 3.4 0zM18.6 17.6a1.7 1.7 0 1 1-3.4 0 1.7 1.7 0 1 1 3.4 0z" pathLength="1"/></svg>
</span>
<span class="tappa__testo">
<span class="tappa__riga"><b class="tappa__nome">Shipped</b><time class="tappa__ora" data-ora>Tue 10 · 7:30 AM</time></span>
<span class="tappa__dettaglio" data-dettaglio>Handed to the courier, tracking is live</span>
</span>
</li>
<li class="tappa" data-tappa>
<span class="tappa__nodo" data-nodo>
<svg viewBox="0 0 24 24" aria-hidden="true"><path d="M12 20.6s-6.2-5.3-6.2-10.2a6.2 6.2 0 0 1 12.4 0c0 4.9-6.2 10.2-6.2 10.2z" pathLength="1"/><path d="M14 10.3a2 2 0 1 1-4 0 2 2 0 1 1 4 0z" pathLength="1"/></svg>
</span>
<span class="tappa__testo">
<span class="tappa__riga"><b class="tappa__nome">Out for delivery</b><time class="tappa__ora" data-ora>Wed 11 · 8:05 AM</time></span>
<span class="tappa__dettaglio" data-dettaglio>On the van, six stops away</span>
</span>
</li>
<li class="tappa" data-tappa>
<span class="tappa__nodo" data-nodo>
<svg viewBox="0 0 24 24" aria-hidden="true"><path d="M4 10.4 12 4l8 6.4V20H4z" pathLength="1"/><path d="m9 14.3 2.1 2.1 4-4.2" pathLength="1"/></svg>
</span>
<span class="tappa__testo">
<span class="tappa__riga"><b class="tappa__nome">Delivered</b><time class="tappa__ora" data-ora>Wed 11 · 1:42 PM</time></span>
<span class="tappa__dettaglio" data-dettaglio>Left at the front door, signed by R.</span>
</span>
</li>
</ol>
</article>
</div>
</div>
</section>
</main>
<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.
40 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 “Order tracking timeline” from Animorio and fit it into my siteThe section is 520vh tall and holds a sticky stage 100lvh tall with the card in the middle. The card is drawn at 340 pixels and the frame around it scales it to fit the stage, measuring width and height on every resize: on a phone it gets smaller instead of spilling out at the bottom. ScrollTrigger only gives the section’s progress, from 0 to 1; Lenis makes it smooth.
The progress is split into a short rest, then four trips with a rest between each (DWELL times one trip) and a long rest at the end. During trips the step moves on sine.inOut, during rests it holds: so the ring sets off gently, travels and really stops, even when the person scrolling never does.
The position the scroll wants is not given straight to the ring: a spring with stiffness SPRING and damping 1 - BOUNCE chases it on every frame of the GSAP ticker, in four small steps. The spring is what gives the extra pixel on arrival and the settle, and its speed stretches the ring, tilts the parcel and sets the length of the trail.
The line is an SVG path from the centre of the first step to that of the last, measured with offsetTop. Underneath sits the same line dotted (stroke-dasharray 0.5 5 with round caps), on top the green one with a stroke-dasharray as long as the line and a stroke-dashoffset that comes down to where the ring is.
Each step lights up when the ring is within two pixels of its centre and goes out only twelve pixels above it: with the spring’s overshoot it never flickers. As it lights, the circle swells through a CSS variable animated by GSAP on an elastic, the icon strokes (paths with pathLength 1) go from stroke-dashoffset 1 to 0 staggered, the time and the line rise five pixels.
When the lowest lit step changes, the estimate leaves upwards in a slot with hidden overflow and comes in from below on back.out; scrolling back it does the opposite turn. The status pill measures its width before and after the new word and goes from one to the other on an elastic.
| Name | File | Default | What it changes |
|---|---|---|---|
RIDE | script.js | 1 | How much scroll the whole journey takes: 2 is twice as long. |
DWELL | script.js | 0.7 | How long the ring rests at each step, compared with one trip between two steps. |
SPRING | script.js | 170 | Stiffness of the spring that pulls the ring: higher follows the scroll more tightly. |
BOUNCE | script.js | 0.34 | How much the ring overshoots and settles at a step: 0 none, 0.6 lively. |
STRETCH | script.js | 1 | How much the ring stretches with its speed: 0 stays round. |
TRAIL | script.js | 1 | Length of the soft trail behind the moving ring: 0 none. |
DRAW | script.js | 0.6 | Seconds a step’s icon takes to draw itself. |
For the «track your order» page of an online shop, for the confirmation page that tells a parcel’s journey, for a landing page section that explains how a delivery works, or for any step-by-step process (an application, a sign-up, a booking) told as you scroll.
The same animation with adapted sizes: the card scales on both width and height to fit the box, and the line and steps are measured again on every resize, even halfway through. Scrolling with a finger moves the ring like the wheel.
The ring always sits where the scroll says, with no spring, no stretch and no trail; the steps and the estimate change with a fade and the icons are already drawn. No Lenis.
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 8.6 KB; the libraries: GSAP + ScrollTrigger 45 KB, Lenis 5.3 KB.
Tested on 11 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.