
Blinds over images
Images, Scroll
Scroll inside the preview
The case study of a made-up architecture studio, in the clean style of product interfaces: as you scroll, an orange line cuts the letters of the project title in half, the cut opens into a slit, then the top halves rise and the bottom halves sink while the real photo of the house opens between them, first in height and then to the full width. At the end the captions arrive.
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>
<!--
"Slit project photo" 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>Vane Studio, Fallow House</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 case study of a made-up architecture studio, Vane Studio. The stage sticks while you scroll: the project title
sits alone on warm paper, a thin orange line cuts through its letters, and the cut opens into a slit. As you keep
scrolling the top halves of the letters rise and the bottom halves sink, the photo of the house opens between them,
first in height and then to the full width, settling from slightly enlarged, and at the end the captions arrive. -->
<main>
<section class="corsa" data-corsa>
<div class="palco" data-palco>
<div class="spazio" data-spazio>
<div class="tavola" data-tavola>
<div class="testata" data-testata>
<span class="testata__marchio">
<svg viewBox="0 0 20 20" aria-hidden="true"><path d="M3 4 L10 16 L17 4" /></svg>
Vane Studio
</span>
<span class="testata__voce">Selected work</span>
</div>
<div class="foto" data-foto>
<div class="foto__dentro" data-dentro>
<img class="foto__img" src="casa.webp" alt="A low modern house with a long glass wall, a timber roof and a pool over the hills" width="960" height="720" decoding="async">
<div class="foto__grana"></div>
</div>
<div class="foto__velo" data-velo></div>
<div class="didascalia" data-didascalia>
<div class="didascalia__riga didascalia__riga--nome" data-did>Fallow House</div>
<div class="didascalia__riga" data-did>A low house on the hill, 2025</div>
<div class="didascalia__lato" data-did>
<span>Architecture</span>
<span>Interiors</span>
</div>
</div>
</div>
<div class="angoli" data-angoli aria-hidden="true">
<i class="angolo angolo--a" data-angolo></i>
<i class="angolo angolo--b" data-angolo></i>
<i class="angolo angolo--c" data-angolo></i>
<i class="angolo angolo--d" data-angolo></i>
</div>
<h1 class="titolo" data-titolo aria-label="Fallow House">
<span class="meta meta--su" data-meta-su aria-hidden="true"><span class="meta__testo" data-testo>Fallow House</span><i class="meta__filo" data-filo-su></i></span>
<span class="meta meta--giu" data-meta-giu aria-hidden="true"><span class="meta__testo" data-testo>Fallow House</span><i class="meta__filo" data-filo-giu></i></span>
</h1>
<div class="invito" data-invito>
<span>Scroll</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.
20 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 “Slit project photo” from Animorio and fit it into my siteThe title is written twice, one on top of the other: the top copy is clipped to its upper half with clip-path, the bottom one to its lower half. At rest they look like a single title; moved vertically, each takes its half of the letters with it. The cut position is a CSS variable, so it can be raised or lowered.
The photo fills the whole board and is clipped with clip-path: inset in pixels. A single state object, driven by the timeline, says how far apart the halves are and how wide the opening is; one function turns it into the photo’s clip, the position of the halves and of the four corner marks, so they always move together.
Everything is drawn on a 680 by 420 pixel board, scaled to fit the stage on both width and height (at most 1.6 times). The title is measured with the real typeface and fitted to 86% of the board; the photo is a real webp image with object-fit: cover, so it fills the board without stretching at any size.
Inside the clip, the photo has 40 extra pixels above and below: the timeline moves it from +30 to -30 as you scroll and brings it from 1.22 to 1, so it seems further away and settles as it opens.
| Name | File | Default | What it changes |
|---|---|---|---|
RIDE | script.js | 1 | How much scroll the opening takes: 2 is twice as long. |
TITLE | script.js | Fallow House | The project title that splits open. |
SLIT | script.js | 14 | How tall the first slit is, in pixels of the board. |
ZOOM | script.js | 1.22 | How enlarged the photo starts before settling at 1. |
DRIFT | script.js | 30 | How many pixels the photo drifts against the page: 0 no parallax. |
CUT | script.js | 50 | Where the letters are cut, as a percent of the line from the bottom. |
For a project page in a portfolio, the case study of an architecture, design or photography studio, the opening of a site presenting a place or a house: the title opening onto the photo is the moment the project shows itself.
The same animation with adapted sizes: the whole board scales down to fit the screen, with the same title, slit, photo and captions.
The photo is already open, with its captions, and simply fades in, with no movement.
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 6.1 KB; the libraries: GSAP + ScrollTrigger 45 KB, Lenis 5.3 KB.
Tested on 6 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.