
The inchworm menu
Menus, Hover, Transitions
The valet card in the app of Hollin House, a made-up hotel, alone on black in the premium product style. Press Request my car: the first step ticks, a small car seen from above leaves the garage and drives the road to the entrance while the brass line follows it, the wait in minutes counts down and the button becomes a quiet progress bar. At the entrance the car brakes with a little rock, its headlights come on, the door turns brass and the card says it is waiting for you; press again and you go down.
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>
<!--
"Hotel valet card" 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 hotel valet card with the car arriving at the entrance</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 valet card of a made-up hotel app: you ask for your car, a small car drives the route from the garage
to the entrance while the wait counts down, the steps fill, and at the door its lights come on -->
<section class="valet" data-valet aria-label="Valet">
<span class="valet__sheen" aria-hidden="true"></span>
<header class="head">
<span class="mark" aria-hidden="true">
<svg viewBox="0 0 24 24"><path d="M7 6v12M17 6v12M7 12h10" /></svg>
</span>
<span class="head__txt">
<span class="head__name" data-brand>Hollin House</span>
<span class="head__sub">Valet parking</span>
</span>
<span class="ticket">Ticket <b>418</b></span>
</header>
<div class="carrow">
<svg class="carrow__icon" viewBox="0 0 32 20" aria-hidden="true">
<path d="M4 13.5v-3.2l3.4-5.1c.5-.7 1.3-1.2 2.2-1.2h11.8c.9 0 1.7.4 2.2 1.1l3.6 5.2v3.2a1.6 1.6 0 0 1-1.6 1.6H5.6A1.6 1.6 0 0 1 4 13.5Z" />
<path d="M8.2 10h15.6M10 4.8l-1.6 5.2M22 4.8l1.6 5.2" />
<circle cx="9.5" cy="15.6" r="2.1" /><circle cx="22.5" cy="15.6" r="2.1" />
</svg>
<span class="carrow__txt">
<span class="carrow__name">Graphite estate</span>
<span class="carrow__where" data-where>Lower level, bay 31</span>
</span>
<span class="plate" data-plate>LK21 ROW</span>
</div>
<div class="route" aria-hidden="true">
<svg class="route__svg" viewBox="0 0 300 92" data-route>
<defs>
<radialGradient id="beam" cx="0" cy="0.5" r="1">
<stop offset="0" stop-color="#f6e7c4" stop-opacity="0.55" />
<stop offset="1" stop-color="#f6e7c4" stop-opacity="0" />
</radialGradient>
</defs>
<path class="route__track" d="M50 66 C 102 66, 112 30, 160 30 S 216 50, 234 45" />
<path class="route__done" data-done d="M50 66 C 102 66, 112 30, 160 30 S 216 50, 234 45" />
<g class="garage" transform="translate(30 66)">
<rect x="-13" y="-11" width="26" height="22" rx="6" />
<path d="M-6 4V-1h12v5M-6 1h12" />
</g>
<g class="door" data-door transform="translate(268 40)">
<rect x="-13" y="-13" width="26" height="26" rx="7" />
<path d="M-5 7V-2a5 5 0 0 1 10 0v9" />
</g>
<g class="car" data-car>
<g data-carbody>
<path class="car__beam" data-beam d="M10 -2 L44 -14 L44 14 L10 2 Z" fill="url(#beam)" />
<rect class="car__body" x="-11" y="-6.5" width="22" height="13" rx="4" />
<rect class="car__glass" x="2" y="-4.6" width="5" height="9.2" rx="1.6" />
<rect class="car__glass" x="-8" y="-4.6" width="4" height="9.2" rx="1.4" />
<rect class="car__lamp" data-lamp x="9.4" y="-5" width="1.8" height="3" rx="0.9" />
<rect class="car__lamp" data-lamp x="9.4" y="2" width="1.8" height="3" rx="0.9" />
</g>
</g>
</svg>
<div class="route__labels"><span>Garage</span><span>Main entrance</span></div>
</div>
<div class="status">
<span class="status__roll" data-status><span class="status__line">Parked</span></span>
<span class="eta" data-eta><span class="eta__num" data-etanum>4</span><span class="eta__unit" data-etaunit>min</span></span>
</div>
<ol class="steps" data-steps>
<li class="step" data-step><span class="step__ring"><svg viewBox="0 0 12 12"><path d="M3 6.2 5.1 8.2 9 4" /></svg></span>Requested</li>
<li class="step" data-step><span class="step__ring"><svg viewBox="0 0 12 12"><path d="M3 6.2 5.1 8.2 9 4" /></svg></span>On its way</li>
<li class="step" data-step><span class="step__ring"><svg viewBox="0 0 12 12"><path d="M3 6.2 5.1 8.2 9 4" /></svg></span>At the door</li>
</ol>
<button class="go" type="button" data-go>
<span class="go__fill" data-gofill aria-hidden="true"></span>
<span class="go__face">
<span class="go__label" data-golabel>Request my car</span>
</span>
</button>
</section>
<svg class="ghost" data-ghost viewBox="0 0 24 24" aria-hidden="true"><path d="M5 3.2 19.2 11l-6.3 1.6-3.3 5.9Z"></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.
32 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 “Hotel valet card” from Animorio and fit it into my siteA single SVG path is the road twice: dotted grey underneath, and the same in brass on top, with the dash as long as the curve and offset by what is left, so it draws itself behind the car.
The car is an SVG group placed at a fraction of the road with getPointAtLength; two points just before and after give the angle, so it turns with the curve. GSAP only animates the fraction, from 0 to 1.
The minutes come from the fraction and only roll when they change; the steps tick with a tick drawn by its stroke and a small elastic on the ring.
The car group leans forward a pixel and a half and comes back on an elastic: the braking. Then the headlights, a cone with a radial gradient, rise in opacity and the is-ready class lights up the door and the card’s glow.
| Name | File | Default | What it changes |
|---|---|---|---|
ETA_MINUTES | script.js | 4 | The wait shown when you ask for the car, in minutes. |
TRIP_TIME | script.js | 6.5 | How many seconds the car takes from the garage to the door in the demo. |
SPRING | script.js | 1 | How lively the springs are (0 none, 1.6 a lot). |
LIGHTS | script.js | 1 | How bright the headlights are on arrival (0 off). |
BRAND | script.js | "Hollin House" | The name of the hotel. |
PLATE | script.js | "LK21 ROW" | The car’s number plate. |
LOOP | script.js | true | Left alone, the drawn pointer does the round again. |
In the app of a hotel, a resort or a holiday home with parking, on the room services page, in a valet or car pick-up app: anywhere a guest asks for something that arrives and wants to see how long is left.
The card narrows to 92 vw and the vertical sizes use clamp with vh, so it fits the phone box; the road is an SVG that scales with the width, and below 520 pixels of height the labels under the road are hidden.
No trip and no bounces: the car goes from the garage to the door halfway through the time, the states and labels change with fades, the ticks appear already drawn. The drawn pointer is not shown, the demo still repeats.
GSAP 3.15.0, Mona Sans (font variabile) 5.3.0.
Compressed with gzip, the three demo files weigh 7.2 KB; the libraries: GSAP 28 KB.
Tested on 14 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.