
The elastic button
Buttons, Hover, Text
A kitchen’s order screen, on black: three tickets one under the other, each with its table, the dishes to tick off and the time running, green, amber or red by how long it has waited. Once every dish is ticked the “Bump” button lights up; tapping it sends the ticket off to the side, the ones below move up a slot on a spring and a new one comes in from the queue, while the count at the top drops.
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>
<!--
"Kitchen order board" 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>Kitchen order board</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 orders on a kitchen screen: three tickets with their dishes to tick off, the time running and
changing tone, and Bump sending the finished one away while the others move up -->
<section class="kd" data-kd aria-label="Kitchen orders">
<header class="kd__head"><strong>Kitchen</strong><span class="kd__sum"><span data-outsum>5 open</span></span></header>
<div class="kd__rail" data-rail></div>
</section>
<span class="live" aria-live="polite" data-live></span>
<svg class="ghost" data-ghost viewBox="0 0 24 24" aria-hidden="true"><path d="M5 3.200 19.200 11l-6.300 1.600-3.300 5.900Z"></path></svg>
</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.
15 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 “Kitchen order board” from Animorio and fit it into my siteThe orders come from a list in arrival order. Three fit on screen, each put in its slot with a translation; the others wait in the queue.
Every ticket has its own seconds, advancing on every frame. The text is rewritten only when the second changes, and under five minutes it is green, then amber, then red with “Late”.
Every dish is a button with aria-pressed: the line striking it grows. When all are struck the ticket takes the class that lights “Bump”.
The ticket leaves to the side and is removed; the others go to their new slot on a spring, and the next in the queue comes in from below into the last one.
| Name | File | Default | What it changes |
|---|---|---|---|
WARM | script.js | 5 | After how many minutes a ticket goes from green to amber. |
LATE | script.js | 10 | After how many minutes it turns red and says “Late”. |
SPEED | script.js | 1 | How fast the tickets’ time runs: 1 is real time. |
SPRING | script.js | 1 | How much the tickets bounce when they move up. |
LOOP | script.js | true | Left alone, the demo’s pointer ticks the dishes, sends two tickets away and starts again. |
On the kitchen screen of a restaurant, a pizzeria or a bar taking orders from tables and takeaway; the same slotted board with its queue carries a support desk’s tickets, a warehouse’s deliveries, patients waiting or a printer’s jobs.
The board is at most 348 pixels wide and about 290 tall, and narrows with the screen: long dish names truncate with an ellipsis. The “Bump” button is 68 by 60 pixels, easy even with greasy fingers; the dishes are 20-pixel rows.
No slides and no springs: the finished ticket fades out, the others are in place at once and the new one appears. The times keep counting, because they are data. The demo’s pointer does not start.
GSAP 3.15.0, Mona Sans (font variabile) 5.3.0.
Compressed with gzip, the three demo files weigh 5.7 KB; the libraries: GSAP 28 KB.
Tested on 30 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.