
The liquid grid
Hover, Transitions
A ticket-shaped button that grows into the menu panel, with news clippings arriving one at a time. On closing, the clippings fall like dropped sheets of paper.
Rebuilt from scratch studying pensatori-irrazionali.com by Pensatori Irrazionali: 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>
<!--
"The paper-slip menu" 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="it">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Il menù dei foglietti</title>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fontsource-variable/mona-sans@5.3.0/standard.css">
<link rel="stylesheet" href="style.css">
</head>
<body>
<div class="pagina" data-pagina>
<header class="testata">
<a class="marchio" href="#">Ritaglio</a>
</header>
<main class="apertura">
<p class="nota" data-nota>Apri il menù in alto a destra: i ritagli arrivano uno alla volta e, quando lo chiudi, cadono come fogli.</p>
<h1 class="apertura__titolo" data-titolo>Carta, schermi e tutto quello che ci sta in mezzo.</h1>
</main>
<div class="menu" data-menu>
<div class="velo" data-velo></div>
<!-- il bottone a biglietto: crescendo diventa il pannello -->
<nav class="biglietto" data-biglietto aria-label="Menù">
<button class="tasto" type="button" data-tasto data-autoclic aria-expanded="false" aria-controls="menu-voci" aria-label="Apri il menù">
<svg viewBox="0 0 20 20" aria-hidden="true">
<line class="tasto__linea tasto__linea--su" x1="4" y1="7.5" x2="16" y2="7.5"/>
<line class="tasto__linea tasto__linea--giu" x1="4" y1="12.5" x2="16" y2="12.5"/>
</svg>
</button>
<div class="dentro" id="menu-voci" data-dentro>
<ul class="voci">
<li class="voce" data-voce>
<a href="#">Lavori<svg viewBox="0 0 16 16" aria-hidden="true"><path d="M2.5 8h10.5M9 4l4 4-4 4" fill="none" stroke="currentColor" stroke-width="1.6" stroke-linecap="round" stroke-linejoin="round"/></svg></a>
<span class="voce__riga" data-riga></span>
</li>
<li class="voce" data-voce>
<a href="#">Studio<svg viewBox="0 0 16 16" aria-hidden="true"><path d="M2.5 8h10.5M9 4l4 4-4 4" fill="none" stroke="currentColor" stroke-width="1.6" stroke-linecap="round" stroke-linejoin="round"/></svg></a>
<span class="voce__riga" data-riga></span>
</li>
<li class="voce" data-voce>
<a href="#">Ritagli<svg viewBox="0 0 16 16" aria-hidden="true"><path d="M2.5 8h10.5M9 4l4 4-4 4" fill="none" stroke="currentColor" stroke-width="1.6" stroke-linecap="round" stroke-linejoin="round"/></svg></a>
<span class="voce__riga" data-riga></span>
</li>
<li class="voce" data-voce>
<a href="#">Contatti<svg viewBox="0 0 16 16" aria-hidden="true"><path d="M2.5 8h10.5M9 4l4 4-4 4" fill="none" stroke="currentColor" stroke-width="1.6" stroke-linecap="round" stroke-linejoin="round"/></svg></a>
<span class="voce__riga" data-riga></span>
</li>
</ul>
<ul class="piede" data-piede>
<li><a href="#">Instagram</a></li>
<li><a href="#">Newsletter</a></li>
<li><a href="#">LinkedIn</a></li>
</ul>
</div>
</nav>
<!-- i ritagli: arrivano dal pannello e, chiudendo, cadono -->
<aside class="ritagli" data-ritagli aria-label="Ritagli">
<a class="ritaglio" href="#" data-ritaglio>
<span class="ritaglio__testi">
<span class="ritaglio__fonte">Carta Stampata<svg viewBox="0 0 16 16" aria-hidden="true"><path d="M2.5 8h10.5M9 4l4 4-4 4" fill="none" stroke="currentColor" stroke-width="1.6" stroke-linecap="round" stroke-linejoin="round"/></svg><span class="ritaglio__data">20 set</span></span>
<span class="ritaglio__testo">Un nostro manifesto per la stagione dei concerti è finito in copertina.</span>
<span class="ritaglio__genere">Uscita</span>
</span>
<span class="ritaglio__tessera ritaglio__tessera--pomodoro" aria-hidden="true">C</span>
</a>
<a class="ritaglio" href="#" data-ritaglio>
<span class="ritaglio__testi">
<span class="ritaglio__fonte">Festival del Libro<svg viewBox="0 0 16 16" aria-hidden="true"><path d="M2.5 8h10.5M9 4l4 4-4 4" fill="none" stroke="currentColor" stroke-width="1.6" stroke-linecap="round" stroke-linejoin="round"/></svg><span class="ritaglio__data">7 giu</span></span>
<span class="ritaglio__testo">Abbiamo disegnato i segnalibri e le insegne dell’edizione di quest’anno.</span>
<span class="ritaglio__genere">Progetto</span>
</span>
<span class="ritaglio__tessera ritaglio__tessera--lime" aria-hidden="true">F</span>
</a>
<a class="ritaglio" href="#" data-ritaglio>
<span class="ritaglio__testi">
<span class="ritaglio__fonte">Radio di Quartiere<svg viewBox="0 0 16 16" aria-hidden="true"><path d="M2.5 8h10.5M9 4l4 4-4 4" fill="none" stroke="currentColor" stroke-width="1.6" stroke-linecap="round" stroke-linejoin="round"/></svg><span class="ritaglio__data">5 mag</span></span>
<span class="ritaglio__testo">Mezz’ora di chiacchiere su caratteri, insegne dipinte e vetrine.</span>
<span class="ritaglio__genere">Intervista</span>
</span>
<span class="ritaglio__tessera ritaglio__tessera--cielo" aria-hidden="true">R</span>
</a>
<a class="ritaglio" href="#" data-ritaglio>
<span class="ritaglio__testi">
<span class="ritaglio__fonte">Premio Pagina<svg viewBox="0 0 16 16" aria-hidden="true"><path d="M2.5 8h10.5M9 4l4 4-4 4" fill="none" stroke="currentColor" stroke-width="1.6" stroke-linecap="round" stroke-linejoin="round"/></svg><span class="ritaglio__data">20 apr</span></span>
<span class="ritaglio__testo">Una menzione per il sito di una piccola libreria di provincia.</span>
<span class="ritaglio__genere">Premio</span>
</span>
<span class="ritaglio__tessera ritaglio__tessera--rosa" aria-hidden="true">P</span>
</a>
<a class="tutti" href="#" data-tutti>Tutti i ritagli<svg viewBox="0 0 16 16" aria-hidden="true"><path d="M2.5 8h10.5M9 4l4 4-4 4" fill="none" stroke="currentColor" stroke-width="1.6" stroke-linecap="round" stroke-linejoin="round"/></svg></a>
</aside>
</div>
</div>
<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.
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 “The paper-slip menu” from Animorio and fit it into my siteThe button and the panel are the same element: a 44-pixel nav that GSAP takes to a third of the screen (420 at most) and to full height, with expo.inOut. The content already has the size of the open panel, so the growing ticket uncovers it instead of reflowing it every frame.
The shape is a clip-path polygon with five points per corner on a 9-pixel quarter circle centred on the corner, written with calc(100% − …): the same rule works for the button, the panel, the clippings and the coloured tiles, at any size.
The items drop from −2rem with a 0.05 stagger; the rules start from scaleX 0 with the origin on the left; the clippings arrive from 8rem to the right and −2rem above, with a random rotation between −7° and 7°, in power3.out; the last button arrives with elastic.out(1.2, 0.55).
Each clipping gets a random delay, the same for two tweens: one takes it past the bottom of the page with power2.in, faster and faster, and fades it out; the other, with sine.inOut, moves it sideways and turns it up to 58° around a random transform-origin, plus a tilt in depth of up to 40°. Two different curves on the same sheet make a swaying path.
| Name | File | Default | What it changes |
|---|---|---|---|
LATO | script.js | 44 | The closed ticket, in pixels. |
LARGO | script.js | 420 | The maximum width of the open panel. |
CADUTA | script.js | 0.8 | The seconds of the clippings’ fall. |
STORTO | script.js | 58 | How far a clipping may turn while falling, in degrees. |
--tacca | style.css | 9px | The ticket shape: for a different bite, redo the points with another radius. |
For the menu of a portfolio or a magazine, when you want to show the latest news or recent work beside the items.
The panel takes the whole screen and the clippings, only the first two, sit inside the panel under the items, on a slightly darker paper.
The panel appears already full size and everything comes and goes with a two-tenths fade: no growth, no askew sheets, no fall.
GSAP 3.15.0, Mona Sans (font variabile) 5.3.0.
Compressed with gzip, the three demo files weigh 6.1 KB; the libraries: GSAP 28 KB.
Tested on 27 September 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.