
The send button
Buttons, Transitions, SVG
The order notification of a coffee shop, Ember Coffee, in a dark glass pill with a real photo of the flat white seen from above. A three step bar follows the order: while it brews the photo fills with colour from the bottom with a wavy surface, like the cup being poured, a caramel ring closes around it and a thread of steam rises. When it is ready the pill opens on a spring into a card with Ready at the counter, the order number rolling in and the On my way button; tapped, it closes back with a check.
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>
<!--
"Coffee 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 coffee ready notification with the cup that fills</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 order notification of Ember Coffee: a dark glass pill with a round photo of the drink, the name and a
bar in three steps. While it brews the photo fills with colour from the bottom like the cup itself, a ring
closes around it and a thread of steam rises; when it is ready the pill opens on a spring into a card -->
<div class="note" data-note>
<div class="note__shell" data-shell>
<div class="note__head">
<div class="cup" data-cup>
<svg class="cup__ring" viewBox="0 0 60 60" aria-hidden="true">
<circle class="cup__track" cx="30" cy="30" r="28"/>
<circle class="cup__arc" data-arc cx="30" cy="30" r="28" pathLength="1"/>
</svg>
<div class="cup__photo" data-photo>
<img class="cup__empty" src="flat-white.webp" alt="" width="320" height="320" decoding="async">
<img class="cup__full" data-full src="flat-white.webp" alt="An oat flat white with a rosetta, seen from above" width="320" height="320" decoding="async">
<svg class="cup__surface" viewBox="0 0 100 100" preserveAspectRatio="none" aria-hidden="true"><path data-surface d=""/></svg>
</div>
<span class="cup__steam" data-steam aria-hidden="true"><i></i><i></i><i></i></span>
</div>
<div class="note__body">
<div class="note__top">
<p class="note__name">Oat flat white, Mia</p>
<span class="note__when">
<span class="note__when-words" data-when>now</span>
<svg class="note__done" viewBox="0 0 16 16" aria-hidden="true"><path data-done pathLength="1" d="M3.2 8.5l3 3 6.6-7"/></svg>
</span>
</div>
<div class="steps" data-steps role="progressbar" aria-label="Order progress" aria-valuemin="0" aria-valuemax="3" aria-valuenow="0">
<span class="steps__seg"><i data-seg></i></span>
<span class="steps__seg"><i data-seg></i></span>
<span class="steps__seg"><i data-seg></i></span>
</div>
<div class="steps__labels" aria-hidden="true">
<span data-label>Received</span>
<span data-label>Brewing</span>
<span data-label>Ready</span>
</div>
</div>
</div>
<div class="note__more" data-more>
<div class="ready">
<div class="ready__text" data-part>
<p class="ready__title">Ready at the counter</p>
<p class="ready__sub">Ember Coffee · Hayes Street bar</p>
</div>
<div class="ready__order" data-part>
<span class="ready__label">Order</span>
<span class="odo" data-odo></span>
</div>
</div>
<div class="go-wrap" data-part>
<button class="go" type="button" data-go>
<span class="go__face">
<span class="go__words" data-go-words>On my way</span>
<svg class="go__icon" viewBox="0 0 16 16" aria-hidden="true">
<path class="go__arrow" data-go-arrow d="M3 8h9.2M8.6 4.3L12.3 8 8.6 11.7"/>
<path class="go__check" data-go-check pathLength="1" d="M3.2 8.5l3 3 6.6-7"/>
</svg>
</span>
</button>
</div>
</div>
</div>
</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.
25 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 “Coffee ready notification” from Animorio and fit it into my siteThe pill uses no backdrop-filter: it is a warm top to bottom gradient, a 1 px edge and an inner line of light along the top made with inset box-shadows, an oval sheen in a pseudo-element and feTurbulence grain in an SVG background, in overlay at 16%. While it brews a CSS variable warms the corner by the photo.
The photo is there twice: underneath in black and white and in shadow (filter), on top in colour, cut by a polygon clip-path. Every frame GSAP's ticker recomputes fifteen points of the surface with two moving sines, at the height of the level, and draws the same line in an SVG over the photo: the wave is tallest halfway and flattens when the cup is empty or full.
The level, the ring (a circle with pathLength 1 and its stroke-dashoffset going from 1 to 0) and the second part of the bar (scaleX) are three tweens of the same length and curve in one timeline: they move as one thing. The steam is three CSS threads with a keyframe that rises, stretches and bends, faded in only while it brews.
The opening uses a hand written ease function: the response of a damped spring (damping 0.74) normalised between 0 and 1, passing the mark by a pixel or two and settling. The card grows from the pill's height to the measured one (scrollHeight) and goes back to auto at the end, so it survives a change of width.
Each digit of the order is a column of twenty figures in a drum 1 em tall with a faded mask above and below; GSAP takes it with yPercent to its digit in the second ten, on the spring and with a tenth of a second between the drums.
| Name | File | Default | What it changes |
|---|---|---|---|
ORDER | script.js | 147 | The order number that rolls in on the drums (up to three digits). |
BREW | script.js | 4.2 | The seconds it brews: the bar, the ring and the cup fill together. |
BOUNCE | script.js | 0.74 | The springs: lower bounces more (0.5), higher settles without passing the mark (1). |
HOLD | script.js | 2.4 | The seconds the card waits on Ready before the pilot taps On my way. |
STEAM | script.js | 1 | How visible the thread of steam is. |
LOOP | script.js | true | A new order arrives after each one. |
For the app or site of a coffee shop, a bar, a takeaway drinks chain or a restaurant with orders to collect: it says where the order is without opening the app and calls you to the counter when it is ready. It also works as an app showcase on a landing page, or as a model for any notification that follows a wait (a delivery, a print, a wash).
The same animation with adapted sizes: the pill is 92% of the screen wide, the title and the order number are sized on the height too, and the button is tapped with a finger; the open card stays under 240 pixels tall.
Nothing moves: the pill fades in, the colour photo rises in opacity instead of filling from the bottom, no steam, the card opens at once with the words fading in, the number is already in place, the words and the check change with a fade.
GSAP 3.15.0, Mona Sans (font variabile) 5.3.0.
Compressed with gzip, the three demo files weigh 8.4 KB; the libraries: GSAP 28 KB.
Tested on 5 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.