
The gallery that opens
Galleries, Transitions, Images, Physics
The booking form of the tasting at an invented winery, Valdora Estate, in a dark premium card like a Dribbble shot: on top the real photo of the barrels under the vault, then the day in a row of dates and the time in pills, with a wine red pill sliding on a spring behind the choice; the guests on a rolling counter, with a glass that fills for each guest, and the total rolling digit by digit. Book tasting sends and confirms with a drawn gold 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>
<!--
"Cellar tasting form" 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 tasting booking form with the guests and the rolling price</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 booking card of a winery's cellar tasting: a real photo of the barrels on top, then the day in a row of
dates, the time in pills, the guests on a spring counter with a glass for each guest, and the total that rolls
its digits. Book tasting sends, then confirms with a check drawn in SVG -->
<form class="book" data-book aria-label="Book a cellar tasting" novalidate>
<span class="book__halo" aria-hidden="true"></span>
<div class="book__card" data-card>
<figure class="photo">
<div class="photo__move" data-photo>
<img class="photo__img" src="cantina.webp" width="1024" height="683" alt="Rows of oak barrels under the vaulted ceiling of the cellar" draggable="false">
</div>
<span class="photo__shade" aria-hidden="true"></span>
<span class="photo__sheen" data-sheen aria-hidden="true"></span>
<figcaption class="photo__cap">
<span class="chip">
<svg class="chip__icon" viewBox="0 0 16 16" aria-hidden="true"><path d="M5 1.8h6c.2 2.6-.4 5.3-3 5.6-2.6-.3-3.2-3-3-5.6zM8 7.4v5.4M5.4 13.6h5.2"/></svg>
<span data-kind>Cellar tasting</span>
</span>
<span class="photo__title" data-winery>Valdora Estate</span>
<span class="photo__sub" data-sub>Five wines from the barrel, 90 min</span>
</figcaption>
</figure>
<div class="body">
<div class="head">
<span class="label" id="l-date">Date</span>
<span class="hint">November</span>
</div>
<div class="pick pick--days" role="radiogroup" aria-labelledby="l-date" data-days>
<span class="pick__pill" data-pill aria-hidden="true"><span class="pick__pill-in" data-pill-in></span></span>
<button class="day" type="button" role="radio" aria-checked="true" data-opt><span class="day__wd">Thu</span><span class="day__n">12</span></button>
<button class="day" type="button" role="radio" aria-checked="false" data-opt><span class="day__wd">Fri</span><span class="day__n">13</span></button>
<button class="day" type="button" role="radio" aria-checked="false" data-opt><span class="day__wd">Sat</span><span class="day__n">14</span></button>
<button class="day" type="button" role="radio" aria-checked="false" data-opt><span class="day__wd">Sun</span><span class="day__n">15</span></button>
<button class="day" type="button" role="radio" aria-checked="false" aria-disabled="true" disabled data-opt><span class="day__wd">Mon</span><span class="day__n">16</span><span class="day__off">Closed</span></button>
<button class="day" type="button" role="radio" aria-checked="false" data-opt><span class="day__wd">Tue</span><span class="day__n">17</span></button>
<button class="day" type="button" role="radio" aria-checked="false" data-opt><span class="day__wd">Wed</span><span class="day__n">18</span></button>
</div>
<div class="head">
<span class="label" id="l-time">Time</span>
<span class="hint">Cellar door, 90 min</span>
</div>
<div class="pick pick--times" role="radiogroup" aria-labelledby="l-time" data-times>
<span class="pick__pill" data-pill aria-hidden="true"><span class="pick__pill-in" data-pill-in></span></span>
<button class="slot" type="button" role="radio" aria-checked="true" data-opt>11:00</button>
<button class="slot" type="button" role="radio" aria-checked="false" data-opt>13:30</button>
<button class="slot" type="button" role="radio" aria-checked="false" data-opt>16:00</button>
<button class="slot" type="button" role="radio" aria-checked="false" data-opt>18:30<span class="slot__left">2 left</span></button>
</div>
<div class="guests">
<div class="guests__text">
<span class="label" id="l-guests">Guests</span>
<span class="glasses" data-glasses aria-hidden="true"></span>
</div>
<div class="step" role="group" aria-labelledby="l-guests">
<button class="step__btn" type="button" aria-label="One guest less" data-minus>
<svg viewBox="0 0 16 16" aria-hidden="true"><path d="M3.5 8h9"/></svg>
</button>
<span class="step__num" aria-live="polite" data-guests-out><span class="roll" data-guests></span></span>
<button class="step__btn" type="button" aria-label="One guest more" data-plus>
<svg viewBox="0 0 16 16" aria-hidden="true"><path class="step__v" d="M8 3.5v9"/><path d="M3.5 8h9"/></svg>
</button>
</div>
</div>
<span class="rule" aria-hidden="true"></span>
<div class="total">
<span class="total__left">
<span class="label">Total</span>
<span class="total__each" data-each>€45 per guest</span>
</span>
<span class="total__price" data-price aria-live="polite"><span class="total__cur" data-cur>€</span><span class="total__digits" data-digits></span></span>
</div>
<button class="go" type="submit" data-go>
<span class="go__face" data-face>
<span class="go__sweep" data-sweep aria-hidden="true"></span>
<span class="go__bar" data-bar aria-hidden="true"></span>
<span class="go__words">
<span class="go__word" data-word="idle">Book tasting</span>
<span class="go__word" data-word="busy" aria-hidden="true">Booking</span>
<span class="go__word" data-word="done" aria-hidden="true">Booked</span>
</span>
<svg class="go__icon" viewBox="0 0 20 20" aria-hidden="true">
<path class="go__arrow" data-arrow d="M4 10h11M11 5.6L15.4 10 11 14.4"/>
<circle class="go__spin" data-spin cx="10" cy="10" r="6.2" pathLength="1"/>
<path class="go__check" data-check pathLength="1" d="M4.6 10.4l3.6 3.5 7.2-7.6"/>
</svg>
</span>
<span class="go__ring" data-ring aria-hidden="true"></span>
</button>
<p class="note" aria-live="polite"><span class="note__a" data-note-a>Free cancellation up to 24 hours before</span><span class="note__b" data-note-b>Confirmed for Thu 12 Nov at 11:00</span></p>
</div>
</div>
</form>
</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.
53 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 “Cellar tasting form” from Animorio and fit it into my siteThe card is min(420px, 90vw, 71vh) wide and every size is a share of that width (--u, one four hundred and twentieth): photo, cells, pills and words stay in proportion from the phone box to a wide screen, and the vh limit always keeps it all inside the window.
Each row of choices (days and times) has a single pill, absolute behind the cells: GSAP gives it the x and width of the chosen cell, measured with offsetLeft and offsetWidth and measured again on resize. The ease is a true spring written as a function, a damped oscillator that settles exactly at the end of the tween. The pill’s child stretches for a sixth of a second towards where it goes and comes back on the same spring.
Each number is a window one line tall, with a soft mask above and below, over a column of values built by the script: to change value the column slides by yPercent. The total has as many drums as the largest total has digits; each drum starts five hundredths after the one on its right, and the ones not needed close up through a CSS variable --on that shrinks their width and opacity.
One SVG glass per place: the wine is a rectangle clipped by the shape of the bowl with a clipPath, and GSAP raises its y attribute when the guest is there; the glass hops three pixels and straightens, as if just set down.
Idle, busy and done are three words stacked in the same grid cell, coming in blurred from below and leaving upwards. In busy an SVG arc with stroke-dasharray turns, a scaleX line runs along the bottom and a light sweeps over the button; in done the check draws itself with stroke-dashoffset from 1 to 0 (pathLength 1), the button swells by 3.5% and a gold outline widens and fades, once.
A GSAP timeline does the round by itself: day, time, two guests, Book tasting, wait, back to the start, and again. The first real pointerdown, key or wheel on the card kills it and the card belongs to whoever uses it; changing something after the confirmation brings the button back to Book tasting.
| Name | File | Default | What it changes |
|---|---|---|---|
WINERY | script.js | Valdora Estate | The winery’s name on the photo. |
PRICE | script.js | 45 | The price of the tasting per guest. |
CURRENCY | script.js | € | The currency sign before the total. |
GUESTS | script.js | 2 | The guests at the start. |
MAX_GUESTS | script.js | 8 | The most guests in one booking, and the glasses in the row. |
SPRING | script.js | 1 | How springy pills and drums are: 0.4 calm, 2 very bouncy. |
SEND | script.js | 1.6 | How many seconds the booking takes to go through. |
HOLD | script.js | 2.8 | How many seconds the confirmation stays before the card starts over. |
AUTO | script.js | true | The card fills itself in until someone touches it. |
For the site of a winery, a farm, an olive mill or a brewery that runs tours and tastings; for a restaurant with themed evenings, a cooking school, a guided tour, a spa or a hotel selling experiences: the whole booking in one card, with the price visibly changing while you choose.
On the phone the card is 90% of the screen wide and everything shrinks in proportion; days, times, plus and minus and the button are tapped with a finger and the press squashes them by a hair. The rest is the same.
Nothing moves: the pill jumps to the new choice and lights up again with a fade, the numbers change in place, the glasses fill without hopping, the photo stays still, and the button goes from Book tasting to Booking to Booked with fades, the arc still and the check already drawn.
GSAP 3.15.0, Mona Sans (font variabile) 5.3.0.
Compressed with gzip, the three demo files weigh 11 KB; the libraries: GSAP 28 KB.
Tested on 6 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.