
The inchworm menu
Menus, Hover, Transitions
The waitlist toast of Lume, an invented trattoria, on pure white, like a Dribbble shot. It says You’re 4th in line, about 15 min, with a small line of four marks where yours is lit; then the line moves: the mark at the front leaves through a thin door, the others step forward on a real spring, your place rolls from 4th to 3rd, 2nd and next and the minutes get shorter. When the table is ready a band of light crosses the card, which opens on Table 12 · by the window, the Hold for 5:00 countdown on a ring that runs out and two buttons: I’m coming confirms with a check and folds it away, Need 5 more min fills the ring again.
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>
<!--
"Table ready notification" 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 table ready notification of a restaurant waitlist</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 waitlist notification of Lume, a trattoria: your place in line rolls down from 4th to next while the
marks of the line slide forward and the ones ahead leave through the door. Then the table is ready: the
card opens on a spring with the table, a hold countdown on a ring that runs out, and two buttons -->
<div class="slot" data-slot>
<section class="toast" data-card aria-label="Lume waitlist">
<span class="toast__light" aria-hidden="true"></span>
<span class="toast__sheen" data-sheen aria-hidden="true"></span>
<button class="toast__head" type="button" data-head aria-expanded="false" aria-controls="more" aria-disabled="true">
<span class="tile" data-tile aria-hidden="true">
<span class="tile__face">
<span class="roll tile__num" data-num><span class="r">4</span></span>
<svg class="tile__table" data-ttable viewBox="0 0 24 24"><rect x="6.5" y="8" width="11" height="8" rx="2.2"/><path d="M9 5.2h6M9 18.8h6"/></svg>
<svg class="tile__check" data-tcheck viewBox="0 0 24 24"><path pathLength="1" d="M6.6 12.4l3.5 3.5 7.3-7.6"/></svg>
</span>
</span>
<span class="head__text">
<span class="head__row">
<span class="head__title"><span class="roll" data-title><span class="r">You're 4th in line</span></span></span>
<span class="head__when"><span class="roll" data-when><span class="r">now</span></span></span>
</span>
<span class="head__sub">
<span class="line" data-line aria-hidden="true"><span class="line__door"></span></span>
<span class="roll" data-sub><span class="r">about 15 min</span></span>
</span>
</span>
<svg class="chev" data-chev viewBox="0 0 16 16" aria-hidden="true"><path d="M4.5 6.5L8 10l3.5-3.5"/></svg>
</button>
<div class="toast__more" id="more" data-more>
<span class="rule" aria-hidden="true"></span>
<div class="hold" data-part>
<span class="ring" aria-hidden="true">
<svg viewBox="0 0 44 44">
<circle class="ring__track" cx="22" cy="22" r="17"/>
<path class="ring__arc" data-arc pathLength="1" d="M22 5a17 17 0 1 1 0 34a17 17 0 1 1 0-34"/>
</svg>
<svg class="ring__ico" data-rico viewBox="0 0 20 20"><path d="M10 6.2V10l2.6 1.7"/></svg>
</span>
<span class="hold__text">
<span class="hold__label">Hold for</span>
<span class="clock" data-clock aria-hidden="true"></span>
</span>
<span class="hold__party">
<span class="hold__label">Party of 2</span>
<span class="hold__place">Lume · Via Tortona</span>
</span>
</div>
<div class="acts" data-part>
<button class="act act--ghost" type="button" data-more5><span class="act__face"><span class="roll" data-more5w><span class="r">Need 5 more min</span></span></span></button>
<button class="act act--solid" type="button" data-coming>
<span class="act__face">
<svg class="act__check" data-acheck viewBox="0 0 20 20" aria-hidden="true"><path pathLength="1" d="M5.2 10.4l3 3 6.6-6.8"/></svg>
<span class="roll" data-comingw><span class="r">I'm coming</span></span>
</span>
</button>
</div>
</div>
<span class="progress" aria-hidden="true"><i data-progress></i></span>
</section>
</div>
<p class="sr" aria-live="polite" data-say></p>
</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.
28 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 “Table ready notification” from Animorio and fit it into my siteAt start a small function solves a damped spring in steps of 1/240 of a second (force STIFFNESS, damping DAMPING) until it stops: the curve becomes a GSAP ease and the settling time its duration. Three come out of it: the one for opening and for the line, a softer one for widths and a springier one for the words and the buttons.
The marks are made by the script, all in the same place and moved by GSAP with x in steps of 10 pixels. When the line moves the first one goes to x -10 and fades past the door while its inner bar squashes; the others go to i × 10 on the spring, 45 thousandths apart, and the bar of yours stretches and comes back on the springy ease.
Every label that changes is a grid with a single cell: the new one comes in on the spring losing a blur, the old one leaves and is removed, and the width goes from the old to the new. The title You’re 4th in line holds a second grid only for 4th, and so do the minutes: only the changing word rolls, and when Your table is ready arrives the whole title rolls.
The ring is a path that starts at the top, with pathLength 1: it draws itself whole on power3.out, then every second a delayedCall takes a second off, rolls only the digit that changed and brings stroke-dashoffset to 1 − left/total over one linear second. Need 5 more min adds 300 seconds, makes the new time the total and fills the ring on the spring.
| Name | File | Default | What it changes |
|---|---|---|---|
TABLE | script.js | 12 | The number of the table. |
SPOT | script.js | by the window | Where the table is. |
START | script.js | 4 | Your place in line at the start, from 2 to 6. |
WAIT | script.js | 15 | The minutes of waiting at the start. |
HOLD_MIN | script.js | 5 | The minutes the table is held for you. |
STEP | script.js | 1.3 | The seconds between one move of the line and the next. |
STIFFNESS | script.js | 260 | The force of the spring that opens the card and slides the line: higher is quicker. |
DAMPING | script.js | 22 | The damping: lower, it bounces more before it stops. |
SPEED | script.js | 1 | The speed of the round on its own: 2 twice as fast, 0.5 half. |
AUTO | script.js | true | It presses I’m coming by itself until someone touches it. |
For the app or site of a restaurant, a trattoria or a waitlist and booking service: telling whoever is waiting where the line is, how long is left and, once the table is ready, letting them confirm without opening the app. It works for any queue with a turn: the barber, the clinic, the counter pickup.
On the phone the notification is 92% of the screen wide, a long title ends with an ellipsis and the buttons get narrower; it opens and folds with a tap on the title and the buttons answer the finger like the mouse. Without a mouse the light that follows the pointer is not there.
Nothing moves: the notification appears and leaves with a fade, opens without the spring, the marks ahead fade out and the others are already in place, digits and words change with a fade. The ring still runs out, because it is the time.
GSAP 3.15.0, Mona Sans (font variabile) 5.3.0.
Compressed with gzip, the three demo files weigh 11 KB; the libraries: GSAP 28 KB.
Tested on 19 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.