
Blinds over images
Images, Scroll
Scroll inside the preview
The Autumn lookbook of Atelier Oska, a small made-up house of ceramics and furniture, lying open on a still stage: as you scroll the right-hand page lifts, turns on the spine in perspective and lands on the left with a small bounce, while the shadow of the fold runs across the paper and the page catches the light. Each spread is a real photo (CC0) on the left and the piece on the right, with its name, material, size and price; underneath, the index of the sections follows on a spring.
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>
<!--
"Flip-book lookbook" 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>The collection lookbook, its pages turning as you scroll</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="style.css">
</head>
<body>
<!-- the Autumn lookbook of Atelier Oska, a made-up house of ceramics and furniture. The stage stays still while you
scroll and the book lies open in the middle: every stretch of scroll lifts the right-hand page, turns it over on
the spine and lays it down on the left, with the shadow of the fold running across the paper. Each spread is a
real photo on the left and the piece on the right: its name, its material, its size and its price. Under the
book, the index of the sections follows on a spring. -->
<section class="lookbook" data-lookbook>
<div class="palco">
<header class="testata" data-testata>
<p class="marchio">
<svg class="marchio__segno" viewBox="0 0 24 24" aria-hidden="true"><circle cx="12" cy="12" r="8.5" /><path d="M7.5 15.5c2.6-1.4 6.4-1.4 9 0" /></svg>
Atelier Oska
</p>
<p class="stagione"><span>Autumn 2026</span> <em>Lookbook</em></p>
</header>
<div class="tavolo">
<div class="scena" data-scena>
<div class="libro" data-libro>
<i class="pila pila--s" data-pila="s" aria-hidden="true"></i>
<i class="pila pila--d" data-pila="d" aria-hidden="true"></i>
<i class="nastro" data-nastro aria-hidden="true"><i></i></i>
</div>
<i class="appoggio" aria-hidden="true"></i>
</div>
</div>
<nav class="indice" data-indice aria-label="Sections of the lookbook">
<i class="indice__molla" data-molla aria-hidden="true"></i>
<button type="button" data-voce>Ceramics</button>
<button type="button" data-voce>Seating</button>
<button type="button" data-voce>Tables</button>
<button type="button" data-voce>Textiles</button>
</nav>
<p class="suggerimento" data-suggerimento>
Scroll to turn the page
<svg viewBox="0 0 12 16" aria-hidden="true"><path d="M6 1v13M1.5 9.5 6 14l4.5-4.5" /></svg>
</p>
</div>
<!-- the spreads, in order: the script lays them in the book (left page on the back of the leaf before) -->
<div class="doppie" data-doppie>
<article class="doppia" data-doppia>
<div class="faccia faccia--s" data-sinistra>
<figure class="foto"><img src="ceramiche.webp" alt="Shelves of hand-thrown bowls, cups and vases in white and terracotta" width="960" height="640" decoding="async"></figure>
<p class="piede"><span>Page</span> Ceramics</p>
</div>
<div class="faccia faccia--d" data-destra>
<p class="sezione" data-riga>Ceramics</p>
<h2 class="pezzo" data-riga>Tide bowls</h2>
<p class="frase" data-riga>Thrown by hand in small batches, glazed chalk white.</p>
<dl class="dati" data-riga>
<div><dt>Material</dt><dd>Stoneware, matte glaze</dd></div>
<div><dt>Size</dt><dd>14 cm across</dd></div>
<div><dt>Price</dt><dd>€48 each</dd></div>
</dl>
<a class="vedi" href="#" data-riga><span>View the piece</span><svg viewBox="0 0 16 16" aria-hidden="true"><path d="M3 8h10M9 4l4 4-4 4" /></svg></a>
<p class="piede piede--d"><span>Page</span> Ceramics</p>
</div>
</article>
<article class="doppia" data-doppia>
<div class="faccia faccia--s" data-sinistra>
<figure class="foto"><img src="sedia.webp" alt="A wooden chair beside a round wooden table" width="800" height="1208" decoding="async"></figure>
<p class="piede"><span>Page</span> Seating</p>
</div>
<div class="faccia faccia--d" data-destra>
<p class="sezione" data-riga>Seating</p>
<h2 class="pezzo" data-riga>Lune chair</h2>
<p class="frase" data-riga>Steam-bent oak, with a seat shaped for long dinners.</p>
<dl class="dati" data-riga>
<div><dt>Material</dt><dd>Solid oak, oiled</dd></div>
<div><dt>Size</dt><dd>78 cm tall</dd></div>
<div><dt>Price</dt><dd>€620</dd></div>
</dl>
<a class="vedi" href="#" data-riga><span>View the piece</span><svg viewBox="0 0 16 16" aria-hidden="true"><path d="M3 8h10M9 4l4 4-4 4" /></svg></a>
<p class="piede piede--d"><span>Page</span> Seating</p>
</div>
</article>
<article class="doppia" data-doppia>
<div class="faccia faccia--s" data-sinistra>
<figure class="foto"><img src="tavolo.webp" alt="A wooden dining table with a linen runner in the morning light" width="800" height="1182" decoding="async"></figure>
<p class="piede"><span>Page</span> Tables</p>
</div>
<div class="faccia faccia--d" data-destra>
<p class="sezione" data-riga>Tables</p>
<h2 class="pezzo" data-riga>Morning table</h2>
<p class="frase" data-riga>Long enough for eight, quiet enough for one.</p>
<dl class="dati" data-riga>
<div><dt>Material</dt><dd>Ash, soap finish</dd></div>
<div><dt>Size</dt><dd>180 by 90 cm</dd></div>
<div><dt>Price</dt><dd>€1,480</dd></div>
</dl>
<a class="vedi" href="#" data-riga><span>View the piece</span><svg viewBox="0 0 16 16" aria-hidden="true"><path d="M3 8h10M9 4l4 4-4 4" /></svg></a>
<p class="piede piede--d"><span>Page</span> Tables</p>
</div>
</article>
<article class="doppia" data-doppia>
<div class="faccia faccia--s" data-sinistra>
<figure class="foto"><img src="tessuto.webp" alt="Washed linen throws hanging in natural tones" width="1024" height="576" decoding="async"></figure>
<p class="piede"><span>Page</span> Textiles</p>
</div>
<div class="faccia faccia--d" data-destra>
<p class="sezione" data-riga>Textiles</p>
<h2 class="pezzo" data-riga>Field throw</h2>
<p class="frase" data-riga>Washed linen that grows softer every year.</p>
<dl class="dati" data-riga>
<div><dt>Material</dt><dd>Washed linen</dd></div>
<div><dt>Size</dt><dd>130 by 180 cm</dd></div>
<div><dt>Price</dt><dd>€140</dd></div>
</dl>
<a class="vedi" href="#" data-riga><span>View the piece</span><svg viewBox="0 0 16 16" aria-hidden="true"><path d="M3 8h10M9 4l4 4-4 4" /></svg></a>
<p class="piede piede--d"><span>Page</span> Textiles</p>
</div>
</article>
</div>
</section>
<section class="fine">
<p class="fine__piccolo">Atelier Oska, Autumn 2026</p>
<h2 class="fine__titolo">The whole collection <em>is in the shop.</em></h2>
<a class="pulsante" href="#"><span>Shop the collection</span><svg viewBox="0 0 16 16" aria-hidden="true"><path d="M3 8h10M9 4l4 4-4 4" /></svg></a>
</section>
<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.
85 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 “Flip-book lookbook” from Animorio and fit it into my siteIn the HTML the spreads are written in order, each with its left and right page. The script lays them in the book: the first left page and the last right page stay flat, every other page goes on a leaf, the right page of a spread on the front and the left page of the next spread on the back (backface-visibility hidden, the back turned by 180 degrees). The book holds the perspective, each leaf is transform-style preserve-3d and turns around its left edge, the spine.
A GSAP timeline with ScrollTrigger (scrub SCRUB) moves a single number, T, from 0 to the number of spreads minus one, with a pause after every page; Lenis smooths the scroll. For each leaf the goal is its share of T passed through the TURN curve, and a spring (STIFF, DAMP) chases it every frame: when it goes past the plane of the paper it is sent back with BOUNCE, so the page bounces as it lands.
Every page has two veils written by the script: a shadow and a soft-light sheen. The turning leaf darkens the page below with a band that follows its edge (at the cosine of the angle) and widens with the sine, while its front darkens towards the spine and a band of light crosses it (SHEEN); the back arrives in shade and clears as it lands. The leaf's z-index changes halfway, when it crosses to the other side.
The words of the right page rise one by one as the leaf above uncovers them, the photo on the left settles from an 8% zoom, the page edges under the book grow on the left and thin on the right with the turned pages, and the ribbon bookmark swings on a spring pushed by the speed of the leaves.
Under the book the index pill has its own spring for position and width, softer than the pages', so it arrives a moment later and slightly overshoots the item before it stops. A tap on a section works out where that spread rests on the timeline and takes the scroll there with Lenis.
| Name | File | Default | What it changes |
|---|---|---|---|
TURN | script.js | 'power1.in' | The curve of the turning page: slow to lift, quicker to fall. |
STIFF | script.js | 150 | How tightly the pages follow the scroll (spring stiffness). |
DAMP | script.js | 17 | How soon a page stops swinging (damping). |
BOUNCE | script.js | 0.3 | How much the page bounces when it lands on the other side. |
SHADOW | script.js | 0.34 | How dark the shadow of the turning page is on the paper below. |
SHEEN | script.js | 0.55 | How much light the paper catches as it rises. |
SCRUB | script.js | 0.6 | How many seconds the book takes to catch up with the scroll. |
SMOOTH | script.js | 1.1 | Lenis smooth scrolling, in seconds (0 = off). |
For the seasonal lookbook or catalogue of a furniture, ceramics, fashion or homeware brand, for a collection page in an online shop, or for the portfolio of a studio that wants its work leafed through like a printed book. Spreads are added or removed in the HTML (the script builds the book from them), the photos are the webp files in the folder, the colours are in :root.
The same turning pages at adapted sizes: the book is measured on width and height, the type on the pages follows its width (cqw units), and on a small book the sentence and the link step aside so the name, material, size and price stay readable.
The pages do not turn: at each section the new spread fades in where the old one was, with the words already in place; no bounces, no swinging ribbon, no smooth scrolling.
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.
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.