
Melting words
Text, Scroll, SVG
Scroll inside the preview
The results section of a made-up analytics tool, Quayline, in the clean style of product interfaces: the stage stays still and as you scroll a blue ribbon draws itself from left to right and narrows at every step, from visitors to paying customers. A dark pill rides the tip counting the people still in, the steps light up with their numbers rolling into place, a thin line peels off where people leave and the share that goes on appears above each narrowing. At the end a light sweeps the ribbon and the closing line comes in.
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>
<!--
"Conversion funnel" 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>Quayline, where your visitors go</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>
<!-- a made-up product analytics tool, Quayline. A sticky stage with a signup funnel: scrolling, a ribbon draws itself
from left to right and narrows at every step, a pill rides its tip counting the people still in, the steps light
up as the tip reaches them and the share that goes on appears under each narrowing. At the end a light sweeps
the ribbon and the closing line comes in -->
<section class="corsa" data-corsa>
<div class="palco" data-palco>
<p class="occhiello">
<svg viewBox="0 0 16 16" aria-hidden="true"><path d="M2 3.5h12L9.5 9v3.5l-3 1.5V9z"/></svg>
Quayline, last 90 days
</p>
<h2 class="titolo" data-titolo>Where your visitors go</h2>
<p class="sotto">Every person who opened the site, step by step to a paid plan.</p>
<figure class="carta" data-carta>
<div class="carta__testa">
<span class="carta__nome">Signup funnel</span>
<span class="carta__periodo">Aug 1 to Oct 29</span>
</div>
<div class="passi" data-passi aria-hidden="true"></div>
<div class="grafico" data-grafico>
<svg class="grafico__svg" data-svg aria-hidden="true">
<defs>
<linearGradient id="nastro" x1="0" y1="0" x2="1" y2="0">
<stop offset="0" class="nastro__a"/>
<stop offset="1" class="nastro__b"/>
</linearGradient>
<linearGradient id="riflesso" x1="0" y1="0" x2="1" y2="0">
<stop offset="0" stop-color="#fff" stop-opacity="0"/>
<stop offset="0.5" stop-color="#fff" stop-opacity="0.55"/>
<stop offset="1" stop-color="#fff" stop-opacity="0"/>
</linearGradient>
<filter id="morbida" x="-10%" y="-40%" width="120%" height="200%"><feGaussianBlur stdDeviation="9"/></filter>
<clipPath id="taglio"><rect data-taglio x="0" y="0" width="0" height="0"/></clipPath>
<clipPath id="forma"><path data-forma-clip/></clipPath>
</defs>
<rect class="banda" data-banda x="0" y="0" width="0" height="0" rx="8"/>
<g data-colonne></g>
<g data-perdite></g>
<g clip-path="url(#taglio)">
<path class="ombra" data-ombra filter="url(#morbida)"/>
<path class="nastro" data-nastro/>
<path class="orlo" data-orlo/>
</g>
<g clip-path="url(#forma)">
<rect class="luce" data-luce x="0" y="0" width="0" height="0" fill="url(#riflesso)"/>
</g>
<line class="filo" data-filo x1="0" y1="0" x2="0" y2="0"/>
</svg>
<div class="quote" data-quote aria-hidden="true"></div>
<div class="punta" data-punta aria-hidden="true">
<span class="punta__corpo" data-punta-corpo><b data-valore>48,200</b> people</span>
</div>
</div>
</figure>
<p class="chiusa" data-chiusa></p>
</div>
</section>
<footer class="piede">Figures are illustrative. Quayline is a made-up product.</footer>
<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.
24 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 “Conversion funnel” from Animorio and fit it into my siteThe script measures the chart box and gives the SVG the same viewBox. The ribbon’s height at every x comes from a function: flat over the middle 40 per cent of each column, and a smooth curve (smoothstep) between one step and the next. The step heights are the square root of the share of people, so the last step, 3 per cent, is still visible.
The scroll drives a value from 0 to 1; the ribbon is revealed by a clipPath whose width is the tip’s x. The pill’s number uses the same curve, on a geometric scale between steps, so it drops fast where the ribbon narrows.
Steps, shares, lines and the closing are switches: when the tip passes a threshold a small GSAP animation starts, and scrolling back plays the opposite one. The step number rolls up from below its window with back.out, the share comes in with a bounce.
In every narrowing a path starts from the ribbon’s bottom edge and falls to the bottom; its length is revealed with stroke-dashoffset along with the tip.
Past 90 per cent of the scroll, a band with a white gradient, clipped to the ribbon’s shape, crosses it in 1.4 seconds; the headline takes colour and weight and the closing line comes in word by word.
| Name | File | Default | What it changes |
|---|---|---|---|
RIDE | script.js | 1 | How much scroll the whole funnel takes: 2 is twice as long. |
VISITORS | script.js | 48200 | The people who opened the site, the first step. |
SIGNUP_RATE | script.js | 20 | The percentage of visitors who sign up. |
ACTIVATION_RATE | script.js | 54 | The percentage of sign ups who finish the setup. |
PAID_RATE | script.js | 26.6 | The percentage of active accounts who pay. |
SCRUB | script.js | 0.6 | How far the funnel lags behind the scroll, in seconds. |
SHINE | script.js | 0.55 | How bright the light sweeping the ribbon at the end is (0 none). |
For the results section of a software landing page, a report or a case study: whoever scrolls sees people move from step to step and understands where they are lost, instead of reading four numbers in a row.
The same animation with adapted sizes: headline, card and chart are sized on height too and all fit in the stage; step names and numbers get smaller, and the tip’s pill never leaves the card.
No motion: the funnel is already fully drawn, with the four numbers, the three shares, the lines of the people who leave, the headline lit and the closing line.
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.6 KB; the libraries: GSAP + ScrollTrigger 45 KB, Lenis 5.3 KB.
Tested on 29 October 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.