
The inchworm menu
Menus, Hover, Transitions
The «I'm here» curbside pickup button of an invented bakery, Crumb & Co., in the style of real product interface pieces, on white: pressed, the black pill springs open onto the three pickup bays, which come in staggered from blurred to sharp. Pick a bay and its tile grows in saffron until it fills the whole pill; a thin ring runs around the paper bag, its handle swinging, while it is brought out to you, and at the end the check draws itself on «Picked up».
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>
<!--
"Curbside pickup 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 I'm here curbside pickup button with the bay to pick</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 curbside pickup of Crumb & Co., an invented bakery: I'm here opens into the three pickup bays, the bay you
pick fills the pill with saffron, a ring runs around the paper bag while it is brought out, then Picked up -->
<div class="frame" data-inquadra>
<div class="pill" data-pill>
<span class="pill__skin" aria-hidden="true"></span>
<span class="pill__grain" aria-hidden="true"></span>
<span class="pill__sheen" data-sheen aria-hidden="true"></span>
<span class="pill__fill" data-fill aria-hidden="true"></span>
<button class="pill__go" type="button" data-go aria-expanded="false" aria-controls="bays" aria-describedby="pick-note">
<span class="layer layer--rest" data-layer="rest">
<span class="in">
<svg class="bag" viewBox="0 0 24 24" aria-hidden="true">
<g class="bag__handle" data-handle><path d="M9 8.2V6.6a3 3 0 0 1 6 0v1.6"/></g>
<path class="bag__body" d="M5.6 8.2h12.8l-1 11.1a1.3 1.3 0 0 1-1.3 1.2H7.9a1.3 1.3 0 0 1-1.3-1.2Z"/>
<path class="bag__fold" d="M6.3 11.4h11.4"/>
</svg>
<span class="txt">I'm here</span>
</span>
</span>
</button>
<div class="layer layer--bays" data-layer="bays" id="bays" role="group" aria-label="Pick your bay">
<span class="in">
<span class="bays__q" aria-hidden="true">Bay</span>
<button class="chip" type="button" data-bay="1" aria-label="Bay 1"><span class="chip__bg"></span><span class="chip__n">1</span></button>
<button class="chip" type="button" data-bay="2" aria-label="Bay 2"><span class="chip__bg"></span><span class="chip__n">2</span></button>
<button class="chip" type="button" data-bay="3" aria-label="Bay 3"><span class="chip__bg"></span><span class="chip__n">3</span></button>
</span>
</div>
<span class="layer layer--bring" data-layer="bring" aria-hidden="true">
<span class="in">
<span class="ring-ico">
<svg class="ring" viewBox="0 0 32 32"><circle class="ring__track" cx="16" cy="16" r="14"/><circle class="ring__run" data-ring cx="16" cy="16" r="14"/></svg>
<svg class="bag bag--small" viewBox="0 0 24 24">
<g class="bag__handle" data-handle2><path d="M9 8.2V6.6a3 3 0 0 1 6 0v1.6"/></g>
<path class="bag__body" d="M5.6 8.2h12.8l-1 11.1a1.3 1.3 0 0 1-1.3 1.2H7.9a1.3 1.3 0 0 1-1.3-1.2Z"/>
<path class="bag__fold" d="M6.3 11.4h11.4"/>
</svg>
</span>
<span class="txt"><b data-baynum>Bay 2</b><span class="sep">·</span>Bringing it out</span>
</span>
</span>
<span class="layer layer--done" data-layer="done" aria-hidden="true">
<span class="in">
<svg class="check" viewBox="0 0 24 24"><path class="check__ring" d="M12 3.2a8.8 8.8 0 1 1 0 17.6a8.8 8.8 0 1 1 0-17.6"/><path class="check__tick" data-tick d="M7.9 12.3l2.7 2.7 5.6-5.9"/></svg>
<span class="txt">Picked up<span class="sep">·</span>Enjoy</span>
</span>
</span>
</div>
<p class="note" id="pick-note" aria-live="polite">
<span class="note__t" data-n="rest">Crumb & Co. · Order A42 · ready at the curb</span>
<span class="note__t" data-n="bays">Which bay are you parked in?</span>
<span class="note__t" data-n="bring">Ines is on her way out · about 1 min</span>
<span class="note__t" data-n="done">Handed over at 18:42 · 3 items</span>
</p>
</div>
</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.
31 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 “Curbside pickup button” from Animorio and fit it into my siteThe pill has a single width animated by GSAP; inside are four absolutely positioned, centred layers (rest, bays, bringing, done), each with max-content content. Each layer is measured at its real width, with the wdth axis set back to 100 because mid-swap the labels are narrowed, and the pill goes to that size plus its padding.
Pressed, the pill widens with back.out and an elastic spring on its scale (BOUNCE), and the three tiles come in STAGGER seconds apart from scale 0.55 and blur(4px) to sharp. The tiles are real buttons: reachable with Tab, Escape closes them.
The saffron layer starts with an inset clip-path cut exactly on the chosen tile, measured with getBoundingClientRect relative to the pill (divided by its current scale), and opens to inset(0 round 30px) with expo.inOut while the pill narrows onto the pickup label.
The ring is a circle with a stroke-dasharray as long as its circumference: stroke-dashoffset goes to zero in BRING seconds and then calls the check, a path drawn the same way. The bag handle swings with a yoyo tween on rotation, pivoting at its base (transform-box: fill-box).
Until someone touches it, GSAP delayedCalls (never setTimeout) press the pill, pick bay PICK and start over after PAUSE seconds. At the first tap, click or key the loop stops and the pill answers the person only.
| Name | File | Default | What it changes |
|---|---|---|---|
ACCENT | script.js | #f0b13a | The colour of the chosen bay and of the pill while the bag is brought out. |
PICK | script.js | 2 | The bay the automatic loop picks. |
BRING | script.js | 2.8 | Seconds for the ring to run around the bag. |
OPEN | script.js | 0.55 | Seconds for the pill to open onto the bays. |
STAGGER | script.js | 0.07 | Seconds between one bay coming in and the next. |
BOUNCE | script.js | 1.6 | How much the pill, bays and labels bounce. |
PAUSE | script.js | 2.2 | Seconds the automatic loop holds Picked up and the rest state. |
LOOP | script.js | true | The automatic loop starts over. |
In the app or site of a restaurant, a bakery, a café or a shop with curbside pickup: the customer arrives, says «I'm here», picks where they parked and sees the order being brought out. It also suits the click and collect of an online shop.
The same animation with adapted sizes: the pill stays 60 pixels tall and never goes past 94% of the screen; under 380 pixels the tiles narrow and the text drops to 15; widths are measured again on resize. A tap does what a click does and the press shows under the finger too.
No bounces, squashes, swings or passing lights: labels and bays change with a fade, the saffron tile opens quickly, the ring fills and the check appears already drawn.
GSAP 3.15.0, Mona Sans (font variabile) 5.3.0.
Compressed with gzip, the three demo files weigh 7.0 KB; the libraries: GSAP 28 KB.
Tested on 9 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.