
The sun behind the line
Scroll, Text, Transitions
Scroll inside the preview
As you scroll, a huge word repeats itself in steps and loses its last letter: the I tips over, falls under the word and, as it touches the ground, becomes the button to write.
Rebuilt from scratch studying pensatori-irrazionali.com by Pensatori Irrazionali: the idea is theirs; code, copy and images are ours. Read how it’s made
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>
<!--
"The falling letter" 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="it">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>La lettera che cade</title>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fontsource-variable/mona-sans@5.3.0/standard.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fontsource-variable/big-shoulders@5.3.0/index.css">
<link rel="stylesheet" href="style.css">
</head>
<body>
<main>
<section class="scena" data-scena>
<h1 class="nascosto">Scrivi</h1>
<p class="cenno" data-cenno>Scorri piano: la parola si ripete a scalini e perde l’ultima lettera.</p>
<!-- sei copie della stessa parola, una sopra l'altra: l'ultima è davanti, e la sua I è un link -->
<div class="eco" data-eco>
<div class="eco__misura" aria-hidden="true" data-misura><span class="l">S</span><span class="l">C</span><span class="l">R</span><span class="l">I</span><span class="l">V</span><span class="l">I</span></div>
<div class="copia" data-copia>
<span class="copia__lastra"></span>
<span class="copia__parola" aria-hidden="true"><span class="l">S</span><span class="l">C</span><span class="l">R</span><span class="l">I</span><span class="l">V</span><span class="l">I</span></span>
</div>
<div class="copia" data-copia>
<span class="copia__lastra"></span>
<span class="copia__parola" aria-hidden="true"><span class="l">S</span><span class="l">C</span><span class="l">R</span><span class="l">I</span><span class="l">V</span><span class="l">I</span></span>
</div>
<div class="copia" data-copia>
<span class="copia__lastra"></span>
<span class="copia__parola" aria-hidden="true"><span class="l">S</span><span class="l">C</span><span class="l">R</span><span class="l">I</span><span class="l">V</span><span class="l">I</span></span>
</div>
<div class="copia" data-copia>
<span class="copia__lastra"></span>
<span class="copia__parola" aria-hidden="true"><span class="l">S</span><span class="l">C</span><span class="l">R</span><span class="l">I</span><span class="l">V</span><span class="l">I</span></span>
</div>
<div class="copia" data-copia>
<span class="copia__lastra"></span>
<span class="copia__parola" aria-hidden="true"><span class="l">S</span><span class="l">C</span><span class="l">R</span><span class="l">I</span><span class="l">V</span><span class="l">I</span></span>
</div>
<div class="copia copia--davanti" data-copia>
<span class="copia__lastra"></span>
<span class="copia__parola" aria-hidden="true"><span class="l">S</span><span class="l">C</span><span class="l">R</span><span class="l">I</span><span class="l">V</span><span class="l" data-i>I</span><span class="copia__base" data-base></span></span>
<a class="goccia" href="#scrivici" data-goccia aria-label="Scrivici" tabindex="-1"><span class="goccia__premi" data-premi><span class="goccia__corpo" data-corpo><span class="goccia__testo" data-etichetta></span></span></span></a>
</div>
</div>
</section>
<section class="coda" id="scrivici">
<h2 class="coda__titolo">Scrivici</h2>
<p class="coda__testo">Una riga basta. Qui va il modulo, o l’indirizzo a cui scrivere.</p>
</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/gsap@3.15.0/dist/ScrambleTextPlugin.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.
56 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 “The falling letter” from Animorio and fit it into my siteThe copies are six divs on top of each other with the same word, and each has a plate behind it the colour of the page, a little larger than the word. The timeline takes copy i to scale 1 − i/13 and moves it down by 2i% (on phones 1 − i/12 and 10i%), with the origin at the bottom: the copies behind stay larger, and only their tops show.
In the front copy the I is hidden and a link takes its place: a bar of ink laid exactly over the ink of the letter. The box comes from measureText on a canvas (actualBoundingBoxLeft, Right and Ascent) and the baseline from a zero-height span aligned to the baseline.
In the same timeline, after a pause, the bar rotates 90° with power2.in, drops with power3.in and slides left with sine.in: it speeds up like something tipping over, and hits the ground at full speed. Meanwhile it widens to at least 46 real pixels, because on the ground a finger will have to press it.
When the timeline passes the landing point, a timed animation starts, not tied to scrolling: the bar squashes (0.72 by 1.12) and springs back with elastic.out, turns blue and ScrambleText writes the name on it. Going back, the opposite happens, and the link leaves the Tab order.
| Name | File | Default | What it changes |
|---|---|---|---|
ETICHETTA | script.js | SCRIVICI | The button’s name. The word lives in the HTML, letter by letter: if you change it, the last one must stay a stem letter, like the I. |
CORSA | script.js | 1.8 | How many screens of scrolling the scene lasts. |
DITO | script.js | 46 | The minimum thickness of the button on the ground, in real pixels. |
--blu | style.css | #2B45FF | The colour the I takes when it becomes a button. |
To close a page: the contact word turning into the contact button. It works with any word that ends in a stem letter.
The copies step down further, 10% each, to fill a tall screen, and the bar on the ground widens to a thickness comfortable for a thumb.
No held scene and no fall: the word is already in steps and the I is already on the ground, blue, with its name.
GSAP 3.15.0, Big Shoulders (font variabile) 5.3.0, Mona Sans (font variabile) 5.3.0.
Compressed with gzip, the three demo files weigh 5.6 KB; the libraries: GSAP + ScrollTrigger + ScrambleText 49 KB.
Tested on 27 September 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.