
The liquid grid
Hover, Transitions
The pickup screen of a coffee bar, minimal style: the number being served drops into place on a split-flap board, «Up next» rolls on, your place counts down from 3 ahead to You’re next, the wait bar fills tick by tick, and when it is your turn the card lights up amber with a small knock and the bell swings once.
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>
<!--
"Now serving screen" 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>Now serving</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>
<main class="stage">
<!-- the pickup screen of a made-up coffee bar, Morrow: the number being served falls into place on a split-flap
board, your place in the queue counts down, the wait bar shortens, and when it is your turn the card lights
up and the bell swings once -->
<section class="card" data-card tabindex="0" aria-labelledby="card-title">
<span class="card__ring" data-ring aria-hidden="true"></span>
<span class="card__sheen" aria-hidden="true"></span>
<header class="head">
<span class="brand">
<svg class="brand__mark" viewBox="0 0 20 20" aria-hidden="true"><path d="M4 6h10v5.5a4.5 4.5 0 0 1-4.5 4.5h-1A4.5 4.5 0 0 1 4 11.5Z" fill="none" stroke="currentColor" stroke-width="1.6" stroke-linejoin="round"/><path d="M14 8h1.4a2.1 2.1 0 0 1 0 4.2H14" fill="none" stroke="currentColor" stroke-width="1.6"/></svg>
<span>Morrow</span>
</span>
<span class="head__where">Pickup counter</span>
</header>
<h1 class="label" id="card-title">Now serving</h1>
<div class="row">
<div class="board" data-board aria-hidden="true"></div>
<div class="next" aria-hidden="true">
<span class="next__k">Up next</span>
<span class="roll roll--next"><span class="roll__row" data-next1>B48</span></span>
<span class="roll roll--next"><span class="roll__row" data-next2>B49</span></span>
</div>
</div>
<p class="sr" data-serving-sr aria-live="polite">Now serving B47</p>
<div class="you" data-you>
<div class="you__ticket" data-ticket>
<span class="you__small">Your number</span>
<span class="you__num" data-yournum>B50</span>
</div>
<div class="you__state">
<span class="roll" data-state aria-hidden="true"><span class="roll__row" data-state-row>3 ahead of you</span></span>
<span class="sr" data-state-sr aria-live="polite">3 ahead of you</span>
<span class="roll roll--small" aria-hidden="true"><span class="roll__row" data-wait>About 6 min</span></span>
</div>
<svg class="bell" viewBox="0 0 24 24" aria-hidden="true">
<g data-bell>
<path d="M12 3.2c-3.3 0-5.6 2.5-5.6 5.8v3.6L4.6 16h14.8l-1.8-3.4V9c0-3.3-2.3-5.8-5.6-5.8Z" fill="none" stroke="currentColor" stroke-width="1.6" stroke-linejoin="round"/>
<g data-clapper><path d="M10 18.4a2 2 0 0 0 4 0" fill="none" stroke="currentColor" stroke-width="1.6" stroke-linecap="round"/></g>
</g>
</svg>
</div>
<div class="wait" aria-hidden="true">
<span class="wait__track"><span class="wait__fill" data-fill></span></span>
<span class="wait__ticks" data-ticks></span>
</div>
<div class="drawer" data-drawer>
<div class="drawer__inner">
<span class="drawer__line"><span class="drawer__k">Order</span><span>Oat flat white, almond croissant</span></span>
<span class="drawer__line"><span class="drawer__k">Counter</span><span data-counter>2, by the window</span></span>
</div>
</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.
33 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 “Now serving screen” from Animorio and fit it into my siteEvery digit is a tile with four stacked halves: two still ones (the top with the new value, the bottom with the old) and two moving ones (the old top and the new bottom). Each half is 50% tall with overflow hidden and the whole digit inside, shifted up by 50% in the bottom half.
The old top turns from 0 to -90 degrees on the hinge with power2.in while a black veil darkens it; then the new bottom turns from 90 to 0 with back.out(BOUNCE), the bounce of a landing flap, and its veil lightens. At the end the still halves take the new value.
The position, the minutes and Up next are lines in a window one line tall: the old one slides up and away, the new one comes from below with a small back.out. The real text also goes into a hidden span with aria-live, for screen readers.
When the number served is yours, a timeline lights the amber ring around the card, makes it jump 3 pixels on an elastic spring, turns the ticket amber and swings the bell with fading rotation keyframes (svgOrigin on the hook, 12 3.2 in the viewBox), the clapper following late.
Everything runs on gsap.delayedCall: a call every STEP seconds, your turn staying for TURN_HOLD seconds, then the queue goes back to B47 and starts again. The order drawer opens on hover, on tap or with the Tab key.
| Name | File | Default | What it changes |
|---|---|---|---|
STEP | script.js | 2.4 | The seconds between one call and the next. |
FLIP | script.js | 0.62 | How long a flap takes to fall, in seconds. |
FLAP_STAGGER | script.js | 0.08 | The delay between one tile and the next when several change. |
BOUNCE | script.js | 1.9 | How much the flap bounces when it lands (0 = it stops dead). |
AHEAD | script.js | 3 | How many people are ahead of you at the start. |
MIN_PER_PERSON | script.js | 2 | The estimated minutes for each person ahead. |
TURN_HOLD | script.js | 3.4 | How long your turn stays before the queue starts again, in seconds. |
BELL_SWING | script.js | 22 | How far the bell swings, in degrees. |
In the app or on the screen of a coffee bar, a bakery or a fast food place for order pickup, in a restaurant waitlist, at a town office, a pharmacy, a barber or a service desk: wherever people wait for a number.
Everything is sized in em, and the text size follows the window’s width and height together: the card fits whole in the box even with the drawer open. A tap opens and closes the drawer; there is no hover.
No falling flaps, no rolling lines, no jump and no swinging bell: the digits change with a short fade, the lines crossfade, the ring and the amber ticket fade in. The queue still moves on.
GSAP 3.15.0, Mona Sans (font variabile) 5.3.0.
Compressed with gzip, the three demo files weigh 6.6 KB; the libraries: GSAP 28 KB.
Tested on 24 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.