
The star rating
Ratings, SVG, Hover
The Call the waiter button of a restaurant’s table app, in smoked lacquer with a brass edge in a warm dark room, like a Dribbble shot. Pressed, the desk bell inside the disc is tapped twice; then the waiter answers: his initial rises in place of the bell, a brass ring closes around it, a warm light spreads through the button and the seconds of the wait roll down in the chip. When he reaches the table the disc turns solid brass, a check draws itself and a reflection crosses the lacquer. Pressed while you wait, the call is cancelled.
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>
<!--
"Call the waiter button" 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 call the waiter button with the wait that shortens</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 Call the waiter button of a restaurant's table app, in smoked lacquer with a brass edge on a warm dark
room. Pressed, the little desk bell inside is tapped twice; then the waiter answers: his initial rises in
place of the bell, a brass ring closes around it and a warm light spreads through the button as the wait
shortens, the seconds rolling down in the chip. When he is at the table the disc fills with brass and a check
draws itself. Pressed again while waiting, the call is cancelled -->
<div class="cw" data-wrap>
<span class="cw__spill" data-spill aria-hidden="true"></span>
<button class="cw__btn" type="button" data-btn aria-label="Call the waiter to table 12">
<span class="cw__body" data-body>
<span class="cw__fill" aria-hidden="true"></span>
<span class="cw__warm" aria-hidden="true"><span class="cw__warm-light" data-warm></span></span>
<span class="cw__shine" data-shine aria-hidden="true"></span>
<span class="cw__sweep" aria-hidden="true"><span class="cw__sweep-band" data-sweep></span></span>
<span class="cw__lacquer" aria-hidden="true"></span>
<span class="cw__row">
<span class="cw__disc" data-disc aria-hidden="true">
<span class="cw__disc-plate" data-plate></span>
<svg class="cw__ring" viewBox="0 0 44 44">
<circle class="cw__ring-track" cx="22" cy="22" r="20.5"/>
<circle class="cw__ring-done" data-ring cx="22" cy="22" r="20.5" pathLength="1" transform="rotate(-90 22 22)"/>
</svg>
<svg class="cw__bell" data-bell viewBox="0 0 24 24">
<g data-marks>
<path class="cw__mark" d="M6.2 7.6l-1.5-1.3M5.1 10.4l-1.9-.4"/>
<path class="cw__mark" d="M17.8 7.6l1.5-1.3M18.9 10.4l1.9-.4"/>
</g>
<g data-plunger>
<path class="cw__plunger" d="M12 9.6V7.2"/>
<path class="cw__plunger" d="M10.5 6.9h3"/>
</g>
<g data-dome>
<path class="cw__dome" d="M4.8 16.6a7.2 7.2 0 0 1 14.4 0z"/>
<path class="cw__dome-shine" d="M8 13.6a4.8 4.8 0 0 1 3-2.6"/>
</g>
<path class="cw__base" d="M3.4 18.6h17.2"/>
</svg>
<span class="cw__avatar" data-avatar><span class="cw__avatar-letter" data-initial>M</span></span>
<svg class="cw__check" viewBox="0 0 24 24"><path data-check pathLength="1" d="M7 12.4l3.3 3.3 6.7-7"/></svg>
</span>
<span class="cw__text" aria-hidden="true">
<span class="cw__state" data-state>
<span class="cw__title" data-t>Call the waiter</span>
<span class="cw__sub" data-s>Table 12 · Terrace</span>
</span>
<span class="cw__state" data-state>
<span class="cw__title cw__title--busy" data-t>Calling</span>
<span class="cw__sub" data-s>Ringing the floor</span>
</span>
<span class="cw__state" data-state>
<span class="cw__title" data-t>Marco is coming</span>
<span class="cw__sub" data-s>Seen · heading to Table 12</span>
</span>
<span class="cw__state" data-state>
<span class="cw__title" data-t>Marco is here</span>
<span class="cw__sub" data-s>Enjoy your evening</span>
</span>
<span class="cw__state" data-state>
<span class="cw__title" data-t>Call cancelled</span>
<span class="cw__sub" data-s>Tap again any time</span>
</span>
</span>
<span class="cw__chip" aria-hidden="true">
<span class="cw__chip-face" data-chip>~1 min</span>
<span class="cw__chip-face cw__chip-face--eta" data-chip>
<span class="cw__eta" data-eta>45</span><span class="cw__eta" data-eta>40</span><span class="cw__unit">s</span>
</span>
<span class="cw__chip-face" data-chip>Now</span>
</span>
</span>
</span>
</button>
</div>
<p class="sr" aria-live="polite" data-live></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.
36 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 “Call the waiter button” from Animorio and fit it into my siteThe button is a single box (moved only by GSAP) with absolute layers: the lacquer fill with a gradient from the top, a radial warm light anchored to the disc, the light under the pointer driven by two CSS variables through gsap.quickTo, the reflection band and on top the inner shadows: the brass hairline, the light at the top, the shadow at the bottom.
The bell is an SVG in three groups: the plunger, the dome and the strokes. Each tap is a piece of timeline: the plunger goes down by 1.6 and comes back on a spring, the dome trembles in x with a very tight elastic, the strokes flick and widen with scale and svgOrigin, and the warm light and the glow on the table flash.
Plate, ring, bell, initial and check share one grid cell; they all have position: relative, because an element transformed by GSAP is painted above its untransformed siblings and the plate, scaled up on hover, was covering the ring and the check.
One value p from 0 to 1, moved by a timeline WALK seconds long, drives everything: the ring’s strokeDashoffset (pathLength 1), the scale and opacity of the warm light and the seconds in the chip, rounded up in steps of STEP. At each change two numbers take turns: the old one drops out, the new one arrives from above with a back.out.
The initial shrinks, the plate takes a brass gradient and comes back from 0.7 on an elastic spring, the ring widens to 1.22 and fades, the check draws itself with strokeDashoffset, the light band crosses the lacquer with xPercent; after HOLD seconds everything goes back to rest and the bell returns with a springy turn.
| Name | File | Default | What it changes |
|---|---|---|---|
WAITER | script.js | Marco | The name of the waiter who answers (the initial goes in the disc). |
TABLE | script.js | Table 12 | The table the call comes from. |
AREA | script.js | Terrace | The room of the table, after the dot. |
USUAL | script.js | ~1 min | The chip at rest: the usual wait. |
ETA | script.js | 45 | The seconds of wait shown when the waiter answers. |
STEP | script.js | 5 | How many seconds the chip drops at every roll. |
WALK | script.js | 3.4 | How many real seconds the wait lasts in the demo. |
TAPS | script.js | 2 | How many times the bell is tapped. |
SPRING | script.js | 1 | How springy the moves are: 0.4 calm, 2 very bouncy. |
HOLD | script.js | 1.7 | How many seconds Marco is here stays before going back to rest. |
AUTO | script.js | true | The button goes round by itself until someone touches it. |
For the table app or QR menu of a restaurant, a bar or a hotel: calling the waiter, asking for the bill, calling room service. It says at once that the call got through, who is coming and how long it will take, and lets you cancel.
On the phone the button is at most 86% of the screen wide and long words end with an ellipsis; there is no hover, so the light under the finger turns on at the touch and the rest is the same.
Nothing moves: the bell, the initial and the check swap with a fade, the words and the seconds change in place, the ring fills and the warm light grows only in strength.
GSAP 3.15.0, Mona Sans (font variabile) 5.3.0.
Compressed with gzip, the three demo files weigh 9.1 KB; the libraries: GSAP 28 KB.
Tested on 2 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.