
The liquid grid
Hover, Transitions
The website of a made-up architecture and interiors studio, Haldor Studio, with four pages in their own colours: Home ivory, Work midnight blue, Studio terracotta, Contact sage. On a click on a menu item a thin cord drops to the point of the click, then vertical slats in the colour of the next page turn shut like a venetian blind, the ones near the finger first, each with a small bounce past flat; across the shut slats the name of the new page reads, then the blind opens to the side and the new title rises out of its mask.
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>
<!--
"Venetian blind transition" 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 venetian blind page transition that closes from the click</title>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fontsource-variable/bricolage-grotesque@5.3.0/standard.css">
<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>
<main class="stage" data-stage>
<!-- the four pages of a made-up architecture and interiors studio, Haldor, each in its own colour. A click on the menu
drops a thin cord at the point of the click, then vertical slats in the colour of the next page turn shut like a
venetian blind, the ones near the click first, each with a small overshoot; the name of the new page shows across
the closed slats, and then the blind turns open again from one side to the other on the new page -->
<header class="top">
<a href="#" class="brand" data-go="home" aria-label="Haldor Studio, home">
<svg class="brand__mark" viewBox="0 0 24 24" aria-hidden="true">
<rect x="3.2" y="3.2" width="17.6" height="17.6" rx="3.4"></rect>
<path d="M8.1 6.4v11.2M12 6.4v11.2M15.9 6.4v11.2"></path>
</svg>
<span class="brand__name">Haldor<em>Studio</em></span>
</a>
<nav class="nav" data-nav aria-label="Main">
<span class="nav__hover" data-hover aria-hidden="true"><i></i><i></i><i></i></span>
<span class="nav__pill" data-pill aria-hidden="true"><span class="nav__shine"></span></span>
<a href="#" class="nav__item is-here" data-go="home" aria-current="page"><span>Home</span></a>
<a href="#" class="nav__item" data-go="work"><span>Work</span></a>
<a href="#" class="nav__item" data-go="studio"><span>Studio</span></a>
<a href="#" class="nav__item" data-go="contact"><span>Contact</span></a>
</nav>
<span class="where" data-where aria-hidden="true">Oslo<i></i>Lisbon</span>
</header>
<div class="pages">
<section class="page page--home is-on" data-page="home" aria-label="Home">
<div class="page__text">
<p class="eyebrow" data-in>Architecture and interiors</p>
<h1 class="title" data-title><span class="line"><span>Rooms that</span></span><span class="line"><span>hold the <i>light</i></span></span></h1>
<p class="text" data-in>Houses, studios and quiet public rooms, drawn slowly between Oslo and Lisbon.</p>
</div>
<figure class="room" data-in aria-label="Fjordhus, on site in Bergen">
<span class="room__wall"></span>
<span class="room__window"><i></i><i></i><i></i><i></i><i></i></span>
<span class="room__beam"></span>
<span class="room__floor"></span>
<figcaption class="room__tag"><b>Fjordhus</b><span>On site in Bergen</span></figcaption>
</figure>
</section>
<section class="page page--work" data-page="work" aria-label="Work" hidden>
<div class="page__text">
<p class="eyebrow" data-in>Selected work</p>
<h1 class="title" data-title><span class="line"><span>Built, and</span></span><span class="line"><span>lived <i>in</i></span></span></h1>
</div>
<ul class="list" data-in>
<li class="row"><span class="thumb thumb--a"></span><b>Fjordhus</b><span>Bergen</span><em>Residential</em><span class="row__year">2025</span></li>
<li class="row"><span class="thumb thumb--b"></span><b>Casa Alfama</b><span>Lisbon</span><em>Interiors</em><span class="row__year">2024</span></li>
<li class="row"><span class="thumb thumb--c"></span><b>Linden Hall</b><span>Oslo</span><em>Cultural</em><span class="row__year">2023</span></li>
</ul>
</section>
<section class="page page--studio" data-page="studio" aria-label="Studio" hidden>
<div class="page__text">
<p class="eyebrow" data-in>The studio</p>
<h1 class="title" data-title><span class="line"><span>Twelve people,</span></span><span class="line"><span>two <i>cities</i></span></span></h1>
<p class="text" data-in>We keep the team small on purpose: every project is drawn by the people who build it.</p>
</div>
<dl class="facts" data-in>
<div><dt>Architects</dt><dd data-count="12">12</dd></div>
<div><dt>Rooms built</dt><dd data-count="41">41</dd></div>
<div><dt>Since</dt><dd>2011</dd></div>
</dl>
</section>
<section class="page page--contact" data-page="contact" aria-label="Contact" hidden>
<div class="page__text">
<p class="eyebrow" data-in>Contact</p>
<h1 class="title" data-title><span class="line"><span>Start a room</span></span><span class="line"><span>with <i>us</i></span></span></h1>
<p class="text" data-in>Tell us about the site, the light and the people who will live there.</p>
</div>
<div class="reach" data-in>
<a class="mail" href="#" data-mail><span>hello@haldor.example</span>
<svg viewBox="0 0 16 16" aria-hidden="true"><path d="M3.5 8h8.5M8.6 4.4 12.2 8l-3.6 3.6"></path></svg>
</a>
<span class="reach__hours">Studio visits, Tuesday to Friday</span>
</div>
</section>
</div>
<!-- the blind: the slats are made by the script, each with its slice of the page name -->
<div class="blind" data-blind aria-hidden="true"></div>
<span class="cord" data-cord aria-hidden="true"><i></i></span>
<div class="grain" aria-hidden="true"></div>
<svg class="ghost" data-ghost viewBox="0 0 24 24" aria-hidden="true"><path d="M5 3.5l13 7.2-5.6 1.4-2.8 5.4z"></path></svg>
<p class="sr" aria-live="polite" data-live></p>
</main>
<script src="https://cdn.jsdelivr.net/npm/gsap@3.15.0/dist/gsap.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.
73 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 “Venetian blind transition” from Animorio and fit it into my siteOn every page change the script measures the window and makes up to 14 vertical slats, never narrower than 30 pixels (11 on a phone), each one pixel wider so no light ever passes between them. Every slat has the background of the next page and its own slice of the name: a block as wide as the screen moved back by the slat's position, so the slices together read as one word.
Every slat starts at rotateY 90 degrees, edge on and invisible, and turns to 0 in 0.62 s on back.out(2.2): it goes a few degrees past and comes back, the small overshoot of a real blind. Its delay is its distance from the point of the click over the longest distance, times 0.42 s: the slats under the finger shut first and the wave runs to both sides.
Every slat is drawn from its own state on every frame: the turn with its 700 pixel perspective, a dark veil whose opacity is the sine of the angle (turned it is in shadow, flat it is in light) and changes side when the angle goes below zero, and the slice of the name rising from 26 % along with it. A fixed gradient makes it look curved, light in the middle like lacquered wood.
Once the last slat has shut, the new page goes underneath and the --bg, --ink and --acc variables change; for 0.6 s the name reads with the ‘Haldor Studio’ line and the page's eyebrow. Then the blind opens to the side, from the edge nearer the click to the other: every slat turns on one of its edges with power3.in, 0.38 s between the first and the last, and the new title rises out of its mask while the last one leaves.
Before the slats a thin cord drops to the point of the click with a wooden pull, gives a seven pixel tug and goes up again. The menu pill runs to the new item on a spring with a highlight; on hover the faint pill takes the colour of the page it leads to and three thin slats turn inside it. On the wall the shadow of a blind drifts slowly with the pointer.
| Name | File | Default | What it changes |
|---|---|---|---|
SLATS | script.js | 14 | How many slats on a computer (fewer on a phone). |
MIN_SLAT | script.js | 30 | The smallest width of a slat, in pixels. |
CLOSE_TIME | script.js | 0.62 | The seconds each slat takes to shut. |
CLOSE_SPREAD | script.js | 0.42 | The seconds between the slat under the click and the farthest one. |
OVERSHOOT | script.js | 2.2 | How far each slat goes past and back as it shuts (0 no bounce). |
HOLD | script.js | 0.6 | The seconds the blind stays shut, with the name of the new page. |
OPEN_TIME | script.js | 0.66 | The seconds each slat takes to open again. |
OPEN_SPREAD | script.js | 0.38 | The seconds between the first and the last slat opening. |
DEPTH | script.js | 700 | The perspective of the turning slats (lower is deeper). |
NAME_RISE | script.js | 26 | How far below each slat's slice of the name starts, in percent. |
CORD | script.js | 1 | The cord that drops to the point of the click (1 on, 0 off). |
For the website of an architecture or design studio, an agency, a hotel or a brand with a few pages, each in its own colour: when the page change should feel like a physical gesture, a blind that shuts and opens again, starting from the point that was touched.
The same transition with adapted sizes: at most one slat every 30 pixels (11 on a phone), the brand name and the cities hide, the room moves to the top right and the title is sized on width and height; in the short preview box title, rows and numbers stay. The slats start from the point touched with the finger.
No turning slats and no cord: the shut blind with the name fades in, the page changes underneath and the blind fades out; the content fades in without moving and the pill jumps to its place.
GSAP 3.15.0, Bricolage Grotesque (font variabile) 5.3.0, Mona Sans (font variabile) 5.3.0.
Compressed with gzip, the three demo files weigh 12 KB; the libraries: GSAP 28 KB.
Tested on 9 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.