
Long shadow letters
Text, Scroll, 3D
Scroll inside the preview
The price list section of a made-up barber shop, Ashcombe Barbers, in the clean style of the interface pieces: the stage stays still and, as you scroll, the second line of the title, nothing extra., widens on the width axis of the variable type and goes from grey to black, while the price list card composes itself row by row. On each treatment a soft light comes on, the name rises from its mask and gains weight, the dots run from the name to the price, the price counts up to its figure and the duration slides in; then the row settles by a pixel. The clock hand in the header turns with the scroll and at the end the Book a chair button rises with its words widening.
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>
<!--
"Barber price list" 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>Ashcombe Barbers, price list</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 price list section of a made-up barber shop, Ashcombe Barbers. A sticky stage: as you scroll, the second line
of the title widens and darkens on the width axis, and the price list card composes itself row by row: the name of
the treatment rises from its mask and gains weight, the dotted leader runs from the name to the price, the price
counts up and the duration slides in. The clock hand in the header turns with the scroll. At the end the Book a
chair pill rises and widens, and the walk-in line comes in. Scrolling back takes the list apart again -->
<section class="corsa" data-corsa>
<div class="palco">
<p class="occhiello">
<svg viewBox="0 0 16 16" aria-hidden="true"><circle cx="5" cy="11.4" r="2.1"/><circle cx="11" cy="11.4" r="2.1"/><path d="M6.6 9.9 11.6 2.2M9.4 9.9 4.4 2.2"/></svg>
Ashcombe Barbers
</p>
<h2 class="titolo">Cut, shave,<br><span class="titolo__due" data-due>nothing extra.</span></h2>
<figure class="listino" data-listino>
<div class="listino__testa">
<span class="listino__nome">Price list</span>
<span class="orario">
<svg class="orario__ora" viewBox="0 0 16 16" aria-hidden="true"><circle cx="8" cy="8" r="6.2"/><path d="M8 4.6V8l2.2 1.4" data-lancetta/></svg>
Tue to Sat, 9 to 7
</span>
</div>
<ul class="righe">
<li class="riga" data-riga data-prezzo="32"><span class="riga__nome"><span class="riga__in" data-nome>Haircut</span></span><span class="riga__durata" data-durata>40 min</span><span class="riga__punti" data-punti></span><span class="riga__prezzo"><span class="valuta">£</span><span data-cifra>32</span></span></li>
<li class="riga" data-riga data-prezzo="36"><span class="riga__nome"><span class="riga__in" data-nome>Skin fade</span></span><span class="riga__durata" data-durata>50 min</span><span class="riga__punti" data-punti></span><span class="riga__prezzo"><span class="valuta">£</span><span data-cifra>36</span></span></li>
<li class="riga" data-riga data-prezzo="18"><span class="riga__nome"><span class="riga__in" data-nome>Beard trim</span></span><span class="riga__durata" data-durata>20 min</span><span class="riga__punti" data-punti></span><span class="riga__prezzo"><span class="valuta">£</span><span data-cifra>18</span></span></li>
<li class="riga" data-riga data-prezzo="29"><span class="riga__nome"><span class="riga__in" data-nome>Hot towel shave</span></span><span class="riga__durata" data-durata>35 min</span><span class="riga__punti" data-punti></span><span class="riga__prezzo"><span class="valuta">£</span><span data-cifra>29</span></span></li>
<li class="riga" data-riga data-prezzo="45"><span class="riga__nome"><span class="riga__in" data-nome>Cut and beard</span></span><span class="riga__durata" data-durata>1 hour</span><span class="riga__punti" data-punti></span><span class="riga__prezzo"><span class="valuta">£</span><span data-cifra>45</span></span></li>
</ul>
<div class="listino__piede">
<a class="prenota" href="#" data-prenota><span class="prenota__fondo" aria-hidden="true"></span><span class="prenota__testo" data-prenota-testo>Book a chair</span>
<svg viewBox="0 0 16 16" aria-hidden="true"><path d="M3.5 8h9M9 4.5 12.5 8 9 11.5"/></svg></a>
<span class="passanti" data-passanti>Walk-ins welcome until half past six.</span>
</div>
</figure>
</div>
</section>
<footer class="piede">Ashcombe Barbers is a made-up shop.</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.
44 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 “Barber price list” from Animorio and fit it into my siteThe whole section is a paused GSAP timeline, with one stretch for each row of the list, and ScrollTrigger drives it back and forth with scrub while the stage stays still with position: sticky. Scrolling back rewinds it on its own.
Width and weight are two CSS variables (--w and --g) inside font-variation-settings: GSAP animates the variables and the CSS hands them to the wdth and wght axes of Mona Sans. So the title widens and the names gain weight without swapping typeface.
The dots are a dotted background repeated horizontally, stretched with scaleX from the left. The price is an object GSAP takes from zero to the figure, written rounded at every step: with scrub it counts backwards too.
| Name | File | Default | What it changes |
|---|---|---|---|
RIDE | script.js | 1 | How much scroll the whole list takes: 2 is twice as long. |
SCRUB | script.js | 0.6 | How far the list lags behind the scroll, in seconds. |
TITLE_WIDTH | script.js | 116 | How wide the second title line gets on the width axis (75 to 125). |
NAME_WEIGHT | script.js | 640 | The weight each treatment name reaches. |
SETTLE | script.js | 1 | How many pixels each row lifts before it settles. |
GLOW | script.js | 1 | How visible the light under the row being composed is (0 none). |
COUNT | script.js | 1 | 1: the prices count up from zero; 0: they just appear. |
For the page of a barber, a hairdresser, a beautician or any small shop with a short price list: whoever scrolls reads the services one at a time, with prices and times, and reaches the booking button.
The same animation with adapted measures: title, card and rows are sized on the height too and all fit in the stage; the walk-in line hides below 480 pixels and the button stays centred.
No motion: the list is already composed, with the prices, the wide title and the button, and it appears with a fade.
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 5.3 KB; the libraries: GSAP + ScrollTrigger 45 KB, Lenis 5.3 KB.
Tested on 14 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.