
Title rising from a line
Transitions, Text, Images
The gallery of Norrland, a made-up photography studio, with six real winter photos that load the way a well made site loads them: each frame is born in the average colour of its photo, then a tiny blurred copy arrives under a light grain, a thin line fills at the bottom while the real file comes in, and the sharp photo lands on top with a fade and a focus pull. The corner rounds a touch, the caption arrives last, and the frames finish in a natural order. Reload runs it again. Minimal style, a single accent.
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>
<!--
"Blur-up gallery" 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>Blur-up gallery</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/jetbrains-mono@5.3.0/index.css">
<link rel="stylesheet" href="style.css">
</head>
<body>
<!-- The gallery of an invented photography studio, Norrland, with six winter photographs that load the way a good
site loads them: each frame is born in the average colour of its photo, then a tiny blurred copy arrives, a thin
line fills at the bottom while the real file comes in, and the sharp photo lands on top with a fade and a focus
pull. Reload runs it all again. -->
<main class="pagina">
<header class="testa">
<div class="testa__sx">
<p class="marca">
<svg viewBox="0 0 24 24" aria-hidden="true"><path d="M3.5 18.5l6-9.5 3.6 5.4 2.4-3.4 5 7.5" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/></svg>
Norrland Studio
</p>
<h1 class="titolo">Winter light</h1>
<p class="nota"><span class="nota__riga" data-stato>Loading photographs</span></p>
</div>
<button type="button" class="pillola" data-ricarica aria-label="Reload the gallery">
<span class="pillola__fondo" aria-hidden="true"></span>
<span class="pillola__dentro">
<svg class="pillola__icona" data-icona viewBox="0 0 24 24" aria-hidden="true"><path d="M19 12a7 7 0 1 1-2.05-4.95" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round"/><path d="M19.2 4.6v3.6h-3.6" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round"/></svg>
<span class="pillola__testo">Reload</span>
</span>
</button>
</header>
<ul class="griglia">
<li class="riquadro" data-riquadro data-durata="1.25" data-parte="0" style="--medio:#6f7371">
<figure class="cornice" data-cornice>
<img class="piccola" data-piccola src="lago-piccola.webp" width="24" height="14" alt="" aria-hidden="true">
<span class="grana" data-grana aria-hidden="true"></span>
<img class="nitida" data-nitida src="lago.webp" width="960" height="578" alt="A frozen lake under jagged mountains, the ice cracked green and the peaks dusted with snow">
<span class="barra" data-barra aria-hidden="true"><span class="barra__pieno" data-pieno></span></span>
</figure>
<p class="dida" data-dida><span class="dida__nome">Glacier lake</span><span class="dida__meta">f/11</span></p>
</li>
<li class="riquadro" data-riquadro data-durata="1.7" data-parte="0.18" style="--medio:#9799aa">
<figure class="cornice" data-cornice>
<img class="piccola" data-piccola src="vetta-piccola.webp" width="24" height="16" alt="" aria-hidden="true">
<span class="grana" data-grana aria-hidden="true"></span>
<img class="nitida" data-nitida src="vetta.webp" width="960" height="640" alt="A lone pointed peak at sunset, pink clouds over a snowfield with ski tracks">
<span class="barra" data-barra aria-hidden="true"><span class="barra__pieno" data-pieno></span></span>
</figure>
<p class="dida" data-dida><span class="dida__nome">North face</span><span class="dida__meta">f/8</span></p>
</li>
<li class="riquadro" data-riquadro data-durata="0.95" data-parte="0.32" style="--medio:#c8c7c7">
<figure class="cornice" data-cornice>
<img class="piccola" data-piccola src="escursione-piccola.webp" width="24" height="16" alt="" aria-hidden="true">
<span class="grana" data-grana aria-hidden="true"></span>
<img class="nitida" data-nitida src="escursione.webp" width="960" height="640" alt="A skier in a red jacket crossing a white plain under a grey sky">
<span class="barra" data-barra aria-hidden="true"><span class="barra__pieno" data-pieno></span></span>
</figure>
<p class="dida" data-dida><span class="dida__nome">The crossing</span><span class="dida__meta">f/5.6</span></p>
</li>
<li class="riquadro" data-riquadro data-durata="2.05" data-parte="0.1" style="--medio:#656d74">
<figure class="cornice" data-cornice>
<img class="piccola" data-piccola src="fiordo-piccola.webp" width="24" height="16" alt="" aria-hidden="true">
<span class="grana" data-grana aria-hidden="true"></span>
<img class="nitida" data-nitida src="fiordo.webp" width="960" height="634" alt="Dark still water in a fjord with snowy mountains under heavy clouds">
<span class="barra" data-barra aria-hidden="true"><span class="barra__pieno" data-pieno></span></span>
</figure>
<p class="dida" data-dida><span class="dida__nome">Fjord, dusk</span><span class="dida__meta">f/4</span></p>
</li>
<li class="riquadro" data-riquadro data-durata="1.4" data-parte="0.5" style="--medio:#a3bdd3">
<figure class="cornice" data-cornice>
<img class="piccola" data-piccola src="pendio-piccola.webp" width="24" height="16" alt="" aria-hidden="true">
<span class="grana" data-grana aria-hidden="true"></span>
<img class="nitida" data-nitida src="pendio.webp" width="960" height="640" alt="A bright snow slope rising to a white summit under a deep blue sky">
<span class="barra" data-barra aria-hidden="true"><span class="barra__pieno" data-pieno></span></span>
</figure>
<p class="dida" data-dida><span class="dida__nome">Fresh powder</span><span class="dida__meta">f/16</span></p>
</li>
<li class="riquadro" data-riquadro data-durata="1.6" data-parte="0.4" style="--medio:#90aacb">
<figure class="cornice" data-cornice>
<img class="piccola" data-piccola src="cresta-piccola.webp" width="24" height="16" alt="" aria-hidden="true">
<span class="grana" data-grana aria-hidden="true"></span>
<img class="nitida" data-nitida src="cresta.webp" width="960" height="640" alt="A range of sharp snowy alpine ridges under a clear blue sky">
<span class="barra" data-barra aria-hidden="true"><span class="barra__pieno" data-pieno></span></span>
</figure>
<p class="dida" data-dida><span class="dida__nome">High ridge</span><span class="dida__meta">f/9</span></p>
</li>
</ul>
</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.
36 values to change
Works with Claude, Claude Code, ChatGPT, Cursor, VS Code, Windsurf, Codex, Gemini CLI
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 “Blur-up gallery” from Animorio and fit it into my siteThe frame’s background is the photo’s average colour (worked out once and written in --medio); on top sits the 24 pixel copy, blown up in CSS to 1.18 and blurred by 12 pixels, with an SVG grain in overlay; on top again the real photo, transparent. GSAP only fades the small copy: its scale stays with the CSS.
Each frame has its own time. The line fills in three legs: to 38% with power2.out, to 62% with sine.inOut and to 100% with power2.in, so it looks like a real file coming in, not one tween the same for everyone.
When the line is full the sharp photo goes from transparent to solid in FOCUS_TIME · 0.55, and meanwhile from blur(14px) and scale 1.04 to blur(0) and scale 1 in FOCUS_TIME with power3.out. Then the small copy and the grain go, the corner goes from 6 to 10 pixels with back.out and the caption arrives.
Each frame starts at its own moment (data-parte) and lasts its own time (data-durata): they finish in a scattered order, as on a real page, and it is all one timeline, which Reload stops and runs again.
The run begins only when the six photos are decoded (img.decode), so the focus pull never lands on an empty frame.
| Name | File | Default | What it changes |
|---|---|---|---|
LOAD_TIME | script.js | 1 | How long the loading lines take, as a multiple of each frame’s own time. |
SPREAD | script.js | 1 | How far apart the frames start loading (0 all together). |
FOCUS_TIME | script.js | 0.9 | How long the focus pull lasts, in seconds. |
BLUR | script.js | 14 | How blurred the photo is when it arrives, in pixels. |
START_SCALE | script.js | 1.04 | How big the photo is when it arrives, before it settles to 1. |
END_RADIUS | script.js | 10 | The frame’s corners once the photo is sharp, in pixels. |
LIFT | script.js | 4 | How far a loaded photo rises on hover, in pixels. |
AUTO_PILOT | script.js | 3.5 | After how many still seconds the gallery reloads by itself (0 never). |
In the galleries and photo grids of a photographer, a studio, a blog, a hotel or a shop: wherever images arrive after the page and the wait should feel intended rather than like a hole.
The page is sized on the height too; the six frames stay in three smaller columns and the aperture in the caption hides. No hover: Reload is tapped.
No focus pull and no movement: the lines fill and the photos arrive already sharp, with a fade; the line under the title changes with a crossfade.
GSAP 3.15.0, Mona Sans (font variabile) 5.3.0, JetBrains Mono (font variabile) 5.3.0.
Compressed with gzip, the three demo files weigh 6.7 KB; the libraries: GSAP 28 KB.
Tested on 28 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.
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.