
Blinds over images
Images, Scroll
Scroll inside the preview
The post “Saturday at the market” on Small Kitchen Notes, a made-up cooking blog: as you scroll, five instant photos of the market (tomatoes, bread, tulips, cheese, a coin) fall one after the other onto a light wooden table, land with a small bounce while their shadow tightens, and a handwritten line with the time appears on the white border. Beside them the post moves on line by line; at the end the photos gather into a neat pile and the title lands on top. The five photos are real (CC0 and public domain).
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>
<!--
"Saturday at the market" 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>Saturday at the market, Small Kitchen Notes</title>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fontsource-variable/mona-sans@5.3.0/wdth.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fontsource-variable/fraunces@5.3.0/full.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fontsource-variable/caveat@5.3.0/index.css">
<link rel="stylesheet" href="style.css">
</head>
<body>
<!-- a post on Small Kitchen Notes, a made-up cooking blog. While you scroll the stage stays still: a light wooden
table, where five instant photos of a Saturday market fall one after the other, land with a small bounce and get
a handwritten line on their white border. Beside it the post moves on line by line, with the time of each stop.
At the end the five tidy into a neat pile and the title lands on top -->
<header class="barra">
<p class="marchio">
<svg class="marchio__segno" viewBox="0 0 24 24" aria-hidden="true"><path d="M5 11h14a7 7 0 0 1-14 0Z" /><path d="M9 7.5c0-1.2 1-1.6 1-2.8M13.5 7.5c0-1.2 1-1.6 1-2.8" /></svg>
Small Kitchen Notes
</p>
<nav class="barra__voci" aria-label="Main">
<a href="#">Recipes</a>
<a href="#" aria-current="page">Notes</a>
<a href="#">About</a>
</nav>
</header>
<main>
<section class="apertura">
<p class="piccolo"><span class="piccolo__accento">Notes</span> Saturday, early</p>
<h1 class="titolo">Saturday <em>at the market.</em></h1>
<p class="piccolo piccolo--tenue">
Five stops, five photos
<svg class="giu" viewBox="0 0 12 16" aria-hidden="true"><path d="M6 1v13M1.5 9.5 6 14l4.5-4.5" /></svg>
</p>
</section>
<section class="racconto" data-racconto>
<div class="palco">
<div class="scena">
<article class="post">
<p class="ora" data-ora aria-hidden="true">
<span class="ora__giorno">Saturday</span>
<span class="ora__rullo">
<span data-orario>8:10</span>
<span data-orario>8:35</span>
<span data-orario>9:05</span>
<span data-orario>9:40</span>
<span data-orario>10:15</span>
</span>
</p>
<div class="post__finestra">
<div class="post__testo" data-testo>
<p data-paragrafo>I get there before the stalls are done unpacking. The tomatoes are still cold, and the man in the red shirt lets me fill my own bag.</p>
<p data-paragrafo>Then the bread table, where the loaves lean on each other like books. I take the raisin one, still warm through the paper.</p>
<p data-paragrafo>Pink tulips, wrapped in newspaper by the bucketful. I never plan to buy flowers and I always do.</p>
<p data-paragrafo>At the cheese stand an alpine wheel is cut to order. A thin slice to taste, a thick wedge to take home.</p>
<p data-paragrafo>Last coin, exact change. Back home the table fills up, and lunch more or less writes itself.</p>
</div>
</div>
</article>
<div class="tavolo" data-tavolo>
<canvas class="tavolo__venatura" data-venatura aria-hidden="true"></canvas>
<i class="tavolo__luce" aria-hidden="true"></i>
<figure class="istantanea" data-istantanea data-x="-0.44" data-y="-0.2" data-r="-7">
<i class="istantanea__lontana"></i><i class="istantanea__vicina"></i>
<div class="carta">
<div class="carta__foto"><img src="pomodori.webp" alt="Red tomatoes in wooden baskets, a hand filling a plastic bag" width="640" height="640" decoding="async"><i class="carta__lucido"></i></div>
<figcaption class="carta__scritta"><span data-scritta>Tomatoes, 8:10</span></figcaption>
</div>
</figure>
<figure class="istantanea" data-istantanea data-x="0.4" data-y="-0.24" data-r="5">
<i class="istantanea__lontana"></i><i class="istantanea__vicina"></i>
<div class="carta">
<div class="carta__foto"><img src="pane.webp" alt="Loaves of bread wrapped in plastic, piled on a market table" width="640" height="640" decoding="async"><i class="carta__lucido"></i></div>
<figcaption class="carta__scritta"><span data-scritta>Raisin loaf, 8:35</span></figcaption>
</div>
</figure>
<figure class="istantanea" data-istantanea data-x="-0.32" data-y="0.22" data-r="4">
<i class="istantanea__lontana"></i><i class="istantanea__vicina"></i>
<div class="carta">
<div class="carta__foto"><img src="tulipani.webp" alt="Bunches of pink tulips wrapped in paper" width="640" height="640" decoding="async"><i class="carta__lucido"></i></div>
<figcaption class="carta__scritta"><span data-scritta>Tulips, 9:05</span></figcaption>
</div>
</figure>
<figure class="istantanea" data-istantanea data-x="0.36" data-y="0.18" data-r="-6">
<i class="istantanea__lontana"></i><i class="istantanea__vicina"></i>
<div class="carta">
<div class="carta__foto"><img src="formaggio.webp" alt="A wheel of alpine cheese with a wedge cut out and a price card" width="640" height="640" decoding="async"><i class="carta__lucido"></i></div>
<figcaption class="carta__scritta"><span data-scritta>Alpine cheese, 9:40</span></figcaption>
</div>
</figure>
<figure class="istantanea" data-istantanea data-x="0.02" data-y="-0.02" data-r="-2">
<i class="istantanea__lontana"></i><i class="istantanea__vicina"></i>
<div class="carta">
<div class="carta__foto"><img src="moneta.webp" alt="Fingers holding out a two euro coin" width="640" height="640" decoding="async"><i class="carta__lucido"></i></div>
<figcaption class="carta__scritta"><span data-scritta>Exact change, 10:15</span></figcaption>
</div>
</figure>
<div class="biglietto" data-biglietto>
<i class="istantanea__lontana"></i><i class="istantanea__vicina"></i>
<div class="biglietto__carta">
<i class="biglietto__nastro" aria-hidden="true"></i>
<p class="biglietto__titolo">Saturday at the market.</p>
<p class="biglietto__firma">small kitchen notes</p>
</div>
</div>
</div>
</div>
</div>
</section>
<section class="apertura apertura--fine">
<h2 class="titolo titolo--medio">Lunch, <em>more or less.</em></h2>
<a class="pulsante" href="#"><span>Read the recipe</span><svg viewBox="0 0 16 16" aria-hidden="true"><path d="M3 8h10M9 4l4 4-4 4" /></svg></a>
</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.
47 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 “Saturday at the market” from Animorio and fit it into my siteThe section is 640vh tall and a 100lvh sticky stage stays still inside it. A GSAP timeline tied to the scroll with scrub SCRUB moves numbers, not elements: how far each photo has fallen, how much of its line is written, how far each paragraph has come in, the time, the final tidy-up. On every update a single function rewrites everything from those numbers. Lenis smooths the scroll and updates ScrollTrigger.
From a point above the table (DROP table heights higher, a little to one side) the photo comes down with power3.out, slowing, and turns TILT degrees more, which it loses as it arrives. Meanwhile it is LIFT larger and shrinks with power2.in: the distance to the table drops fastest at the end, like a photo let fall. On contact a damped spring squashes it by SQUASH in height and widens it a little, straightens it by half a degree and slides it by a pixel.
Each photo has two shadows in two separate elements: a far soft one, pushed down and sideways as much as the photo is in the air, and a close sharp one that only turns on in the last moments. So the shadow tightens without animating box-shadow, only opacity and transform. On the photo an oblique gradient passes once as it lands, the gloss of the photo paper.
The caption is in Caveat, in the blue-black of a pen, and is revealed by a gradient mask-image moving from left to right with a soft 8% edge: it looks like the pen writing. The position is a CSS variable --p written by the script, so the line writes itself backwards too.
Every word of the post sits in an overflow: hidden window. On load and on every resize the script measures the offsetTop of each word and works out its line: the words of one line rise together, one line after the other. The text column scrolls to the new paragraph, the one before turns grey, and above it the time rolls with back.out.
At the end the scattered positions draw in towards the centre down to TIDY and the rotations halve: the pile becomes neat. Then the slip with the title falls with the same flight as the photos and lands on top, with its piece of tape.
| Name | File | Default | What it changes |
|---|---|---|---|
DROP | script.js | 0.75 | How far above the table each photo starts, in table heights. |
LIFT | script.js | 0.16 | How much larger the photo looks while it is in the air. |
TILT | script.js | 16 | How many extra degrees it turns while it falls. |
SQUASH | script.js | 0.022 | How much it squashes when it touches the table. |
SPREAD | script.js | 1 | How spread out the photos lie on the table. |
TIDY | script.js | 0.22 | How loose the pile stays at the end (0 = one exact stack). |
SCRUB | script.js | 0.8 | How many seconds the story takes to catch up with the scroll. |
For a food or travel blog, the journal of a restaurant, a bakery or a café, the page of a market or a shop: when a post is made of small stops with one photo each. Swap the photos in the five img tags of the HTML (the webp files in the folder), the handwritten lines and the times in the HTML, the places on the table in data-x, data-y and data-r, the colours in :root.
The same animations at adapted sizes: the table sits on top and the post under it, in a short window showing the paragraph of the stop. The photos are sized from the table, on width and height, and recalculated on every resize.
No movement: the photos are already in place with the line already written and fade in one after the other, like the paragraphs and the title slip.
GSAP 3.15.0, ScrollTrigger 3.15.0, Lenis 1.3.26, Mona Sans (font variabile) 5.3.0, Fraunces (font variabile) 5.3.0, Caveat (font variabile) 5.3.0.
Compressed with gzip, the three demo files weigh 11 KB; the libraries: GSAP + ScrollTrigger 45 KB, Lenis 5.3 KB.
Tested on 5 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.