
The liquid grid
Hover, Transitions
Two pages of Nerith Bio, a made-up biotech company: the pipeline list with four medicines and the page of one product. A click on a row and the new page rises from below like a sheet, with a soft shadow on its edge, a line of light and corners that straighten as it lands, while the old one slides up a quarter and darkens under a veil; all in 1.2 s on the site’s «parallax» curve, then the title rises line by line. Going back plays the gesture the other way, and the «Get in touch» modal rises the same way, its right column landing 0.25 s later.
Rebuilt from scratch studying polpharmabiologics.com by Widelab: 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>
<!--
"Sheet over pipeline" 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 page that rises like a sheet over the pipeline</title>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fontsource-variable/newsreader@5.3.0/opsz.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>
<!-- two pages of a made-up biotech company, Nerith Bio: the pipeline list and the page of one product.
A click on a product: the new page rises from below like a sheet while the old one slides up a quarter
and darkens under a veil; the back link plays the same gesture the other way. The Get in touch modal
rises with the same gesture, its right column a little later -->
<header class="nav" data-nav>
<span class="brand">
<svg class="brand__mark" viewBox="0 0 22 22" aria-hidden="true">
<path class="brand__outer" d="M11 1.6 20.4 11 11 20.4 1.6 11Z"/>
<path class="brand__inner" d="M11 7.2 14.8 11 11 14.8 7.2 11Z"/>
</svg>
<span class="brand__name">Nerith Bio</span>
</span>
<nav class="nav__links" aria-label="Main">
<span class="nav__link">Science</span>
<span class="nav__link is-current" aria-current="page">Pipeline</span>
<span class="nav__link">Partners</span>
</nav>
<button class="pill" type="button" data-open data-hov>
<span class="pill__bg" aria-hidden="true"></span>
<span class="pill__label">Get in touch</span>
</button>
</header>
<!-- the pipeline: the old page of the gesture -->
<section class="page page--list" data-list aria-label="Pipeline">
<div class="list__head">
<div>
<p class="eyebrow" data-list-reveal>Biosimilars pipeline</p>
<h1 class="title">
<span class="line"><span class="line__in" data-list-line>Built to the molecule,</span></span>
<span class="line"><span class="line__in" data-list-line>proven in the clinic.</span></span>
</h1>
</div>
<p class="list__note" data-list-reveal>Four programmes in development, each matched to its reference medicine down to the last glycan.</p>
</div>
<div class="rows" data-rows role="list"></div>
</section>
<!-- the veil between the two pages -->
<div class="veil" data-veil aria-hidden="true"></div>
<!-- the product: the sheet -->
<section class="page page--product sheet" data-product aria-label="Product" aria-hidden="true">
<span class="product__light" data-product-light aria-hidden="true"></span>
<span class="grain" aria-hidden="true"></span>
<span class="product__mark" aria-hidden="true">
<svg class="mark" data-p-mark viewBox="0 0 200 200">
<path class="mark__a" d="M100 4 196 100 100 196 4 100Z"/>
<path class="mark__b" d="M100 40 160 100 100 160 40 100Z"/>
<path class="mark__c" d="M100 78 122 100 100 122 78 100Z"/>
<path class="mark__d" d="M100 4V196M4 100H196"/>
</svg>
</span>
<div class="product__top">
<button class="back" type="button" data-back data-hov>
<span class="back__ic" aria-hidden="true">
<svg viewBox="0 0 16 16"><path d="M13 8H3.4M7.6 3.6 3.2 8l4.4 4.4"/></svg>
</span>
<span class="back__label">Pipeline</span>
</button>
</div>
<div class="product__body">
<p class="eyebrow eyebrow--light"><span class="line"><span class="line__in" data-p-line data-p-code></span></span></p>
<h2 class="product__name"><span class="line"><span class="line__in" data-p-line data-p-name></span></span></h2>
<p class="product__desc">
<span class="line"><span class="line__in" data-p-line data-p-desc1></span></span>
<span class="line"><span class="line__in" data-p-line data-p-desc2></span></span>
</p>
</div>
<div class="product__foot">
<div class="stats">
<div class="stat" data-p-stat><span class="stat__v" data-p-stage></span><span class="stat__k">Stage</span></div>
<div class="stat" data-p-stat><span class="stat__v" data-p-area></span><span class="stat__k">Therapy area</span></div>
<div class="stat" data-p-stat><span class="stat__v" data-p-filing></span><span class="stat__k">Planned filing</span></div>
</div>
<div class="track" data-track>
<div class="track__labels" data-track-labels></div>
<div class="track__bar"><span class="track__fill" data-track-fill><span class="track__tick"></span></span></div>
</div>
</div>
</section>
<!-- the Get in touch modal: the same gesture, with a parallax inside the panel -->
<div class="modal" data-modal aria-hidden="true">
<div class="modal__veil" data-modal-veil></div>
<div class="modal__panel sheet" data-panel role="dialog" aria-modal="true" aria-labelledby="modal-title" tabindex="-1">
<div class="mcard">
<span class="scene" data-scene aria-hidden="true"><span class="scene__light" data-scene-light></span><span class="scene__light scene__light--two" data-scene-light2></span></span>
<span class="grain" aria-hidden="true"></span>
<p class="eyebrow eyebrow--light mcard__eyebrow"><span class="line"><span class="line__in" data-m-line>Partnerships</span></span></p>
<h2 class="mcard__title" id="modal-title">
<span class="line"><span class="line__in" data-m-line>Bring us your</span></span>
<span class="line"><span class="line__in" data-m-line>next molecule.</span></span>
</h2>
<p class="mcard__contact"><span class="line"><span class="line__in" data-m-line>partners@nerith.bio</span></span></p>
</div>
<form class="mform" data-right>
<p class="mform__title" data-m-field>Tell us about your programme</p>
<label class="field" data-m-field><span class="field__k">Name</span><input class="field__in" type="text" autocomplete="off" placeholder="Dr. Ada Lindqvist"><span class="field__line"></span></label>
<label class="field" data-m-field><span class="field__k">Work email</span><input class="field__in" type="email" autocomplete="off" placeholder="ada@company.com"><span class="field__line"></span></label>
<label class="field field--msg" data-m-field><span class="field__k">Message</span><textarea class="field__in" rows="2" placeholder="A biosimilar for an anti-TNF reference, phase I ready."></textarea><span class="field__line"></span></label>
<button class="send" type="submit" data-m-field data-hov>
<span class="send__label">Send message</span>
<svg class="send__ic" viewBox="0 0 16 16" aria-hidden="true"><path d="M3 8h9.6M8.4 3.6 12.8 8l-4.4 4.4"/></svg>
</button>
</form>
<button class="close" type="button" data-close data-hov aria-label="Close">
<svg viewBox="0 0 16 16" aria-hidden="true"><path d="M4 4l8 8M12 4l-8 8"/></svg>
</button>
</div>
</div>
<svg class="cursor" data-cursor viewBox="0 0 24 24" aria-hidden="true"><path d="M5 2.8v16.4l4.2-4 2.8 6.2 2.9-1.3-2.8-6.1h5.9Z"/></svg>
</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/CustomEase.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.
48 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 “Sheet over pipeline” from Animorio and fit it into my siteLike Barba with sync: true on the site, the two pages live together during the change. They are two sections in position: absolute, one over the other: the list at z-index 1, the veil at 2, the product at 3. The sheet starts at yPercent 100 (one window height lower, like the site’s 100vh) and the old page at 0; yPercent instead of vh updates by itself if the window changes size halfway.
CustomEase.create("parallax", "0.7, 0.05, 0.13, 1"), the site’s curve: it starts slow, speeds up hard in the middle and lands very slowly. In 1.2 s the sheet goes from 100 to 0, the old page from 0 to -25 and the veil from autoAlpha 0 to 0.8, all three on the same curve and from the same instant: the depth between the two sheets shows without a single delay.
The sheet has three shadows at the top (a one pixel one, a short one and a long soft one), a one pixel line of light in a ::before with a gradient fading at the sides and top corners rounded by 28 px. On every frame the distance from the edge sets the radius: it stays round for most of the ride and straightens in the last 16% (through a square root, so it straightens right at the end); the line of light goes out in the last eight pixels.
Each title line is a window with overflow: hidden with the real line inside, with 0.14 em of room below for the descenders. At 0.72 s, when the sheet has almost landed, the lines rise from yPercent 110 to 0 in 0.8 s, 0.1 s apart, on expo.out: the same numbers as the site’s reveals. Then the three facts rise by 14 px and the phase track fills up to the coral tick.
Going back is the same gesture reversed: the list starts again from -25 under the veil at 0.8, the sheet goes back to 100, the veil to 0, and the title lines leave upwards in 0.5 s on power2.in. Halfway the row we started from takes a pale card that fades away. The menu turns light when the edge of the sheet passes under its middle, like the page themes of the site.
The same gesture: the veil to 0.8, the panel from 100vh to 0 in 1.2 s, the right column starting 25vh lower and riding for 1.2 + 0.25 s, so it lands after the panel (the site’s numbers). On closing everything goes down together in 1.2 s, with no lag. The movement lives in two CSS variables (--py and --ry) that GSAP takes from 1 to 0, multiplied by 100vh and 25vh in the CSS. The soft scene on the left comes in from scale 1.1 and opacity 0 in 1 s on the same curve, like the scene in the site’s modal.
| Name | File | Default | What it changes |
|---|---|---|---|
DURATION | script.js | 1.2 | Seconds of the whole gesture, pages and modal (the site uses 1.2). |
PARALLAX | script.js | 0.7, 0.05, 0.13, 1 | The site’s «parallax» curve, the four numbers of a cubic-bezier. |
OLD_SHIFT | script.js | 25 | How far the old page slides up, in percent of the window (the site uses 25). |
VEIL | script.js | 0.8 | How dark the veil over the old page gets (the site uses 0.8). |
RIGHT_FROM | script.js | 25 | The extra travel of the right column of the modal, in vh (the site uses 25). |
RIGHT_LAG | script.js | 0.25 | Seconds the right column lands after the panel (the site uses 0.25). |
TITLE_TIME | script.js | 0.8 | Seconds each title line takes to rise (the site uses 0.8). |
TITLE_STAGGER | script.js | 0.1 | Seconds between one title line and the next (the site uses 0.1). |
TITLE_AT | script.js | 0.72 | How many seconds after the start of the sheet the titles rise. |
CORNER | script.js | 28 | The radius in pixels of the top corners of the sheet while it travels. |
IDLE | script.js | 1.6 | Seconds before the pointer starts on its own. |
LOOP | script.js | true | Left alone, it opens a product, comes back, opens the modal and closes it, over and over. |
For the page changes of a site with a list and its detail pages: the products of a company, the projects of a studio, the rooms of a hotel, the articles of a magazine. The modal with the late column works for any contact or booking form that opens over the page.
The same gesture with adapted sizes: the rows keep the name, the disease, the phase and the arrow (code and dashes hide), the product name is measured on width and height with min(vw, vh), the modal puts the scene above the form. A finger taps the row and the page rises; the tap does not switch on the hover.
No rising sheets and no sliding pages: the new page and the modal fade in in 0.45 s, with the titles already in place. No pointer on its own.
GSAP 3.15.0, CustomEase (GSAP) 3.15.0, Newsreader (font variabile) 5.3.0, Instrument Sans (font variabile) 5.3.0.
Compressed with gzip, the three demo files weigh 13 KB; the libraries: GSAP + CustomEase 31 KB.
Tested on 13 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.