
Long shadow letters
Text, Scroll, 3D
Scroll inside the preview
The “Our story” page of a made-up planning app, in the clean style of product interfaces: as you scroll down the story runs sideways, the big year rolls digit by digit from one milestone to the next, a thin line fills under the years and each milestone comes to the front with its title, a sentence and a small drawing that settles into place.
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>
<!--
"Sideways company story" 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>Pathnote, our story</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 "Our story" page of a made-up planning app, Pathnote. The stage sticks while you scroll down and the story
runs sideways: the big year at the top rolls digit by digit from one milestone to the next, a thin line fills
under the years, and each milestone card comes to the front with its title, a sentence and a small drawing
that settles into place. -->
<main>
<section class="corsa" data-corsa>
<div class="palco" data-palco>
<div class="spazio" data-spazio>
<div class="tavola" data-tavola>
<header class="testa" data-testa>
<div class="testa__riga">
<span class="marchio">
<svg viewBox="0 0 20 20" aria-hidden="true"><path d="M4 15 C 7 15, 7 5, 10 5 S 13 15, 16 15" /><path d="M14 13 L16 15 L18 13" /></svg>
<span data-marchio>Pathnote</span>
</span>
<span class="etichetta">Our story</span>
</div>
<p class="anno" data-anno aria-live="polite"></p>
<p class="sottotitolo">Seven years of plans, kept on one line.</p>
</header>
<div class="finestra" data-finestra>
<div class="binario" data-binario>
<article class="tappa" data-tappa data-anno-tappa="2019">
<div class="tappa__figura" data-figura>
<svg viewBox="0 0 220 104" aria-hidden="true">
<g class="foglio" transform="rotate(-3 110 52)">
<rect x="48" y="12" width="124" height="82" rx="4" class="carta-foglio" />
<path class="matita" d="M60 26 H118 M60 36 H100" />
<rect x="60" y="46" width="44" height="34" rx="3" class="matita" />
<path class="matita" d="M114 50 H158 M114 60 H150 M114 70 H156" />
<path class="matita tratteggio" d="M62 79 L102 48" />
</g>
<g class="lapis" transform="rotate(32 176 70)">
<rect x="150" y="66" width="46" height="7" rx="2" class="lapis__corpo" />
<path d="M196 66 L204 69.5 L196 73 Z" class="lapis__punta" />
</g>
</svg>
</div>
<h2 class="tappa__titolo">Two people, one sketch</h2>
<p class="tappa__testo">A paper plan on a kitchen table becomes the first screen of Pathnote.</p>
</article>
<article class="tappa" data-tappa data-anno-tappa="2020">
<div class="tappa__figura" data-figura>
<svg viewBox="0 0 220 104" aria-hidden="true">
<rect x="84" y="8" width="52" height="92" rx="10" class="telefono" />
<rect x="102" y="13" width="16" height="3" rx="1.5" class="telefono__orecchio" />
<rect x="91" y="26" width="38" height="12" rx="3" class="riga-app" />
<rect x="91" y="42" width="38" height="12" rx="3" class="riga-app" />
<rect x="91" y="58" width="38" height="12" rx="3" class="riga-app riga-app--accesa" />
<path d="M95 64 L97.5 66.5 L102 61.5" class="spunta" data-spunta />
<path d="M106 64 H124" class="riga-testo" />
<path d="M96 32 H120 M96 48 H116" class="riga-testo" />
<text x="148" y="38" class="beta">beta</text>
</svg>
</div>
<h2 class="tappa__titolo">The first beta</h2>
<p class="tappa__testo">Three hundred people test it on their phones and send us 1,200 notes.</p>
</article>
<article class="tappa" data-tappa data-anno-tappa="2021">
<div class="tappa__figura" data-figura>
<svg viewBox="0 0 220 104" aria-hidden="true">
<path d="M52 88 H168" class="asse" />
<rect x="62" y="70" width="14" height="18" rx="3" class="barra" data-barra />
<rect x="84" y="62" width="14" height="26" rx="3" class="barra" data-barra />
<rect x="106" y="50" width="14" height="38" rx="3" class="barra" data-barra />
<rect x="128" y="36" width="14" height="52" rx="3" class="barra" data-barra />
<rect x="150" y="18" width="14" height="70" rx="3" class="barra barra--accesa" data-barra />
<path d="M66 66 C 92 58, 118 44, 157 14" class="tendenza" />
</svg>
</div>
<h2 class="tappa__titolo">Ten thousand teams</h2>
<p class="tappa__testo">Shared boards arrive, and whole studios move their week into one plan.</p>
</article>
<article class="tappa" data-tappa data-anno-tappa="2023">
<div class="tappa__figura" data-figura>
<svg viewBox="0 0 220 104" aria-hidden="true">
<path d="M78 74 H146 A20 20 0 0 0 144 34 A26 26 0 0 0 96 38 A18 18 0 0 0 78 74 Z" class="nuvola" />
<g class="giro" data-giro>
<path d="M100 56 A12 12 0 0 1 122 50" class="freccia" />
<path d="M118 46 L122.5 50.5 L117 53" class="freccia" />
<path d="M124 60 A12 12 0 0 1 102 66" class="freccia" />
<path d="M106 70 L101.5 65.5 L107 63" class="freccia" />
</g>
<path d="M64 92 L160 20" class="taglio" />
</svg>
</div>
<h2 class="tappa__titolo">Works without signal</h2>
<p class="tappa__testo">Plans stay on the device and sync the moment you are back online.</p>
</article>
<article class="tappa" data-tappa data-anno-tappa="2025">
<div class="tappa__figura" data-figura>
<svg viewBox="0 0 220 104" aria-hidden="true">
<rect x="56" y="12" width="108" height="70" rx="6" class="schermo" />
<path d="M46 88 H174 L168 94 H52 Z" class="base" />
<rect x="62" y="18" width="24" height="58" rx="3" class="lato" />
<path d="M66 26 H82 M66 34 H78 M66 42 H80" class="riga-chiara" />
<rect x="92" y="20" width="66" height="10" rx="2.5" class="riga-app" />
<rect x="92" y="36" width="44" height="34" rx="3" class="riga-app riga-app--accesa" />
<rect x="140" y="36" width="18" height="16" rx="2.5" class="riga-app" />
<rect x="140" y="56" width="18" height="14" rx="2.5" class="riga-app" />
</svg>
</div>
<h2 class="tappa__titolo">Pathnote 3</h2>
<p class="tappa__testo">A new desk app, made calmer: one line for the day, one for the year.</p>
</article>
</div>
</div>
<div class="linea" data-linea>
<div class="linea__fondo"></div>
<div class="linea__piena" data-piena></div>
<i class="linea__segno" data-segno></i>
<ol class="linea__anni" data-anni></ol>
</div>
<div class="invito" data-invito>
<span>Scroll through the years</span>
<svg viewBox="0 0 12 16" aria-hidden="true"><path d="M6 2 V13 M2 9 L6 13 L10 9" /></svg>
</div>
</div>
</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.
29 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 “Sideways company story” from Animorio and fit it into my siteEverything is drawn from one number, t, which goes from 0 to the last milestone: the track of cards moves by t times the width of a card plus the gap, each card shrinks and fades according to its distance from t, and the line fills by t over the number of milestones. The timeline tied to the scroll takes t from one milestone to the next with power2.inOut and holds it for HOLD at each one.
The year is made of four columns of digits from 0 to 9 inside windows whose edges are faded by a mask. Between two milestones each column goes from the digit of the first year to that of the second: equal digits stay still, different ones turn, and the right-hand one starts a little after the left one. The columns have a fixed width, so the year does not wobble.
When a milestone becomes the one in front its drawing starts 12 pixels lower, tilted two and a half degrees and a little smaller, and comes back into place with back.out(2.2). Then each drawing has its own gesture: the bars grow from the bottom, the tick draws itself, the arrows turn, the pencil slides.
Everything is drawn on a 640 by 420 pixel board (420 by 420 when the stage is narrow), scaled to fit the stage on both width and height. The widths of the cards and of the line are measured once the typeface has loaded, and measured again on resize.
| Name | File | Default | What it changes |
|---|---|---|---|
BRAND | script.js | Pathnote | The name of the company at the top. |
RIDE | script.js | 1 | How much scroll the whole story takes: 2 is twice as long. |
HOLD | script.js | 0.7 | How long each milestone stays in front before the next one. |
DIM | script.js | 0.45 | How much the milestones not in front fade: 0 not at all. |
SETTLE | script.js | 1 | How big the settle of the drawing is when a milestone arrives. |
ROLL | script.js | 1 | How staggered the year digits are when they roll: 0 turns them all together. |
For the about or “our story” page of a startup, a product company or a brand: a few real milestones, each with a year, a title and a small drawing, which whoever scrolls goes through one at a time without getting lost.
The same animation with adapted sizes: the board becomes square, the cards a little narrower and the line shorter, and everything scales down to fit the screen.
No sideways sliding: as you scroll, the milestone in front swaps in place with a fade, the year changes without rolling and the line fills.
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.5 KB; the libraries: GSAP + ScrollTrigger 45 KB, Lenis 5.3 KB.
Tested on 28 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.