
Logo loader
Transitions, SVG, Text
The ivory home page of a made-up studio, Ondine Atelier, that turns dresses into objects: a big sentence in Bodoni Moda, upright capitals alternating with lowercase italics, «WHERE the DRESS becomes a FORM.». On a link click the two halves of the sentence step aside by half the hole on a measured spring with one pixel too many, and in between a window with the proportions of the screen opens on a real photo of pleated white silk that breathes; then the window takes the whole screen in 0.7 seconds and you land on the study page. «Back» does the gesture in reverse.
Rebuilt from scratch studying verostudio.com by Rodéo studio, plutot.cool: the idea is theirs; code, copy and images are ours. Read how it’s made
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>
<!--
"Fabric window 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>Ondine Atelier, where the dress becomes form</title>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fontsource-variable/bodoni-moda@5.3.0/opsz.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fontsource-variable/bodoni-moda@5.3.0/opsz-italic.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fontsource-variable/instrument-sans@5.3.0/wdth.css">
<link rel="stylesheet" href="style.css">
</head>
<body>
<main class="stage" data-stage>
<!-- a made-up studio, Ondine Atelier, that turns old dresses into objects. A click on a link opens a window
in the middle of the sentence: the two halves step aside, the photo of the fabric breathes inside the window,
then the window grows to the whole screen and the second page is there. Back does the gesture in reverse -->
<header class="head" data-head>
<a class="brand" href="#top" aria-label="Ondine Atelier">
<svg class="brand__mark" viewBox="0 0 24 24" aria-hidden="true">
<path d="M4 15c3-6 5-6 8 0s5 6 8 0"/>
<path d="M4 9.5c3-6 5-6 8 0s5 6 8 0" class="brand__thin"/>
</svg>
<span class="brand__name">Ondine Atelier</span>
</a>
<nav class="nav" aria-label="Pages">
<a href="#study" data-open>Studies</a>
<a href="#study" data-open>Process</a>
<a href="#study" data-open>Contact</a>
</nav>
</header>
<h1 class="phrase" aria-label="Where the dress becomes form">
<span class="half half--top" data-half="top">
<span class="line" data-line><span class="up">Where</span> <em>the</em></span>
<span class="line" data-line data-near><span class="up">Dress</span></span>
</span>
<span class="half half--bottom" data-half="bottom">
<span class="line" data-line data-near><em>becomes</em></span>
<span class="line" data-line><em>a</em> <span class="up">Form.</span></span>
</span>
</h1>
<div class="win" data-win aria-hidden="true">
<div class="win__photo" data-photo><img src="pieghe.webp" alt="" draggable="false"></div>
<div class="win__shade"></div>
</div>
<div class="frame" data-frame aria-hidden="true"><i class="frame__glint" data-glint></i></div>
<p class="caption" data-caption aria-hidden="true">
<span class="caption__row"><span data-cap>Silk organza</span></span>
<span class="caption__row caption__row--dim"><span data-cap>pleated by hand</span></span>
</p>
<footer class="foot" data-foot>
<a class="enter" href="#study" data-open data-autoclic>
<span class="enter__text">Enter the study</span>
<svg class="enter__arrow" viewBox="0 0 22 12" aria-hidden="true"><path d="M1 6h19M15 1.5 20 6l-5 4.5"/></svg>
</a>
<p class="foot__note">Garments into objects</p>
</footer>
<section class="study" id="study" data-study aria-label="The silk study" hidden>
<button class="back" type="button" data-back>
<svg class="back__arrow" viewBox="0 0 22 12" aria-hidden="true"><path d="M21 6H2M7 1.5 2 6l5 4.5"/></svg>
<span>Back</span>
</button>
<div class="study__title">
<p class="study__kicker"><span data-in>The silk study</span></p>
<h2 class="study__name"><span data-in><span class="up">Fold</span> <em>held still</em></span></h2>
<p class="study__line"><span data-in>A wedding dress, unpicked and set in resin.</span></p>
</div>
</section>
</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.
32 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 “Fabric window transition” from Animorio and fit it into my siteThe photo fills the screen behind the sentence and only shows inside a clip-path: inset(...) worked out in pixels. The window is HOLE_SIZE % of the screen wide and tall in proportion (screen height over width), so when it grows it becomes the screen without changing shape.
Opening, growing, splitting, leaning and leaving are numbers from 0 to 1 in one object animated by GSAP; draw() turns them into pixels on every frame. If the window changes size mid-gesture, the drawing stays right.
The top half rises by half the window height, the bottom one falls by half plus GAP, minus the empty space above the lowercase. On top of the split in power4.inOut (the site's quint) sits nudge: one pixel in 0.16 s and back in 0.5 s, the settle.
Words are split into letters; those of the two lines next to the hole rotate by BEND degrees on a bell of their distance from the middle, a beat after the window and a little past, then come back.
After HOLD_TIME the sentence leaves by OUT_SHIFT % on power4.in and, 0.15 s later, the window goes full screen in FULL_TIME on power3.inOut (the site's quart). Back does it all in reverse.
| Name | File | Default | What it changes |
|---|---|---|---|
HOLE_SIZE | script.js | 15.6 | Width of the window in the sentence, in % of the screen (the site uses 15.6 vw; 34% on a phone). |
OPEN_TIME | script.js | 1.4 | Seconds the window takes to open in the sentence (the site uses 1.4). |
FULL_TIME | script.js | 0.7 | Seconds the window takes to grow to the whole screen (the site uses 0.7). |
HOLD_TIME | script.js | 0.9 | Seconds the window stays open in the sentence before it grows. |
GAP | script.js | 10 | Pixels between the window and the lower half of the sentence (the site uses 10). |
BEND | script.js | 3 | Degrees the letters next to the window lean away from it. |
ZOOM | script.js | 1.22 | How close the photo starts inside the window before its slow zoom out. |
OUT_SHIFT | script.js | 25 | % of the screen the two halves travel as they leave (the site uses 25). |
LOOP | script.js | true | Left alone, it opens, waits and comes back again and again. |
For the home page of an atelier, a design studio or a photographer, for a wedding or event page, for a landing page with a strong sentence: when going from the sentence to the picture is the story, and the page you land on is a full-bleed photo.
The same gesture: the window is 34% of the screen wide and never taller than 34% of its height, the sentence is measured on the height too (min(10vw, 9vh)), the menu keeps one link and the caption never leaves the side.
No movement: the sentence fades out, the photo fades in already full screen and Back does the same in reverse; no zoom, no lean, no glint.
GSAP 3.15.0, Bodoni Moda (font variabile) 5.3.0, Instrument Sans (font variabile) 5.3.0.
Compressed with gzip, the three demo files weigh 7.3 KB; the libraries: GSAP 28 KB.
Tested on 10 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.