
Title rising from a line
Transitions, Text, Images
The dark warm tasting menu card of Ossel, a made-up restaurant, in the premium style of the interface pieces: up top a belt of five real plates (CC0 photos) runs sideways under the lamp of the pass and stops on a spring at each course, the middle plate grows and catches the light on its edge, the others shrink and dim. Below, the course card stays still and only its words change: the course and the dish roll up, the notes and the wine slide in, the glass fills and the serving time rolls on its digits. Five thin bars fill while each course waits; the belt can be dragged, tapped and runs by itself, and on dessert Reserve is pressed and answers 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>
<!--
"Tasting menu belt" 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 menu with the belt of plates passing under the course card</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 tasting menu card of Ossel, a made-up restaurant. Up top a belt of real plates runs sideways under the
warm lamp of the pass and stops on each course; below it the course card stays still and only its words
change: the course, the dish, what is in it, the wine and the time it reaches the table -->
<article class="menu" data-menu>
<header class="menu__head">
<p class="menu__brand"><span class="menu__mark">Ossel</span><span class="menu__sub">Tasting menu, autumn</span></p>
<span class="menu__chip">5 courses</span>
</header>
<div class="belt" data-belt tabindex="0" role="group" aria-roledescription="carousel" aria-label="Courses of the tasting menu">
<span class="belt__lamp" data-lamp aria-hidden="true"></span>
<div class="belt__track" data-track>
<figure class="plate" data-plate><span class="plate__body" data-body><img src="gamberi.webp" alt="Prawns and mussels in a saffron broth with charred sourdough" draggable="false" style="object-position: 40% 62%"></span></figure>
<figure class="plate" data-plate><span class="plate__body" data-body><img src="tagliatelle.webp" alt="Tagliatelle with roast cherry tomatoes and basil on a white plate" draggable="false" style="object-position: 50% 30%"></span></figure>
<figure class="plate" data-plate><span class="plate__body" data-body><img src="salmone.webp" alt="Grilled salmon with crème fraîche and thyme on a dark stone plate" draggable="false" style="object-position: 38% 50%"></span></figure>
<figure class="plate" data-plate><span class="plate__body" data-body><img src="anatra.webp" alt="Sliced duck breast with blood orange and a herb salad" draggable="false" style="object-position: 50% 40%"></span></figure>
<figure class="plate" data-plate><span class="plate__body" data-body><img src="crostata.webp" alt="A burnt honey custard tart on a white plate" draggable="false" style="object-position: 50% 62%"></span></figure>
</div>
<span class="belt__fade belt__fade--l" aria-hidden="true"></span>
<span class="belt__fade belt__fade--r" aria-hidden="true"></span>
</div>
<div class="rail" aria-hidden="true">
<span class="rail__ticks" data-ticks></span>
<svg class="rail__notch" viewBox="0 0 10 6"><path d="M1 6L5 1.2 9 6"/></svg>
</div>
<section class="course" aria-live="polite">
<div class="course__top">
<span class="course__slot course__slot--label" data-label></span>
<span class="course__time" data-time aria-label=""></span>
</div>
<h2 class="course__slot course__slot--dish" data-dish></h2>
<p class="course__slot course__slot--notes" data-notes></p>
<p class="course__pair">
<svg class="course__glass" viewBox="0 0 16 16" aria-hidden="true"><path d="M5 1.8h6c.3 2.6.1 4.6-1 5.7-.6.6-1.3.9-2 .9s-1.4-.3-2-.9C4.9 6.4 4.7 4.4 5 1.8zM8 8.4v5.2M5.4 14.2h5.2"/><path class="course__wine" data-wine d="M5.3 4.4h5.4c-.1 1.3-.4 2.3-1 2.8-.5.5-1.1.7-1.7.7s-1.2-.2-1.7-.7c-.6-.5-.9-1.5-1-2.8z"/></svg>
<span class="course__slot course__slot--wine" data-pairing></span>
</p>
<div class="course__bars" data-bars></div>
</section>
<footer class="menu__foot">
<p class="menu__price"><span class="menu__amount">$128</span><span class="menu__per">per guest, pairing $75</span></p>
<button class="reserve" type="button" data-reserve>
<span class="reserve__face" data-face>
<span class="reserve__words" data-words>Reserve</span>
<svg class="reserve__icon" viewBox="0 0 16 16" aria-hidden="true">
<path class="reserve__arrow" data-arrow d="M3 8h9M8.5 4.2L12.3 8 8.5 11.8"/>
<path class="reserve__check" data-check pathLength="1" d="M3.4 8.4l3 3 6.2-6.6"/>
</svg>
</span>
</button>
</footer>
<span class="menu__grain" aria-hidden="true"></span>
</article>
</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.
24 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 “Tasting menu belt” from Animorio and fit it into my siteThe belt's position is one number, in plates, pulled by a spring (stiffness and damping) towards the course being served. Every frame each plate is placed from its distance to the middle, wrapped with a modulo over the five plates: so the belt runs forward for ever, follows the drag and settles with its pixel of bounce. Scale, brightness, the light on the edge and the slide of the photo all come from that same distance.
Each line of the card is a box with hidden overflow: the new words come in from below while the old ones leave at the top and are then removed. The dish name is split into words that rise staggered with back.out; the time is four rolls of digits that GSAP takes to the right figure.
The bar of the course is a scaleX tween as long as DWELL: when it ends it calls the next course. The pointer over the belt and the drag pause it, so the demo waits for whoever is looking without a separate timer.
| Name | File | Default | What it changes |
|---|---|---|---|
DWELL | script.js | 3.2 | How many seconds each course waits under the lamp before the belt moves on. |
STIFFNESS | script.js | 120 | The spring that pulls the belt to the course: higher is quicker. |
DAMPING | script.js | 17 | Lower lets the plate pass the mark and come back. |
SIDE | script.js | 0.8 | How big the plates on the sides are (1 as big as the middle one). |
DIM | script.js | 0.42 | How bright the plates on the sides stay (1 not dimmed). |
PARALLAX | script.js | 0.1 | How far each photo slides against the belt. |
LOOP | script.js | true | Left alone, the belt brings the courses one after the other. |
AUTO_RESERVE | script.js | true | Left alone, Reserve is pressed while dessert is served. |
--accent | style.css | #e3a35c | The amber of the lamp, the course, the mark and the bars. |
--card | style.css | #15120f | The warm black of the card. |
--wine | style.css | #8e2f3a | The wine in the little glass. |
For the tasting menu page of a restaurant, a chef or a themed dinner: whoever looks sees the plates go by in the order they reach the table, with the wine and the time, and books without leaving the page. It also works for the menu of an event or a dinner with courses.
The same animation with adapted measures: the belt window is sized on the height (clamp with vh) and the card fits the box; on the phone the belt is dragged with a finger and a plate or a bar is tapped to bring it to the middle.
No movement: the belt jumps to the new plate with a fade, the words change with a crossfade, the time simply changes and the button turns into Held for two with a fade.
GSAP 3.15.0, Mona Sans (font variabile) 5.3.0.
Compressed with gzip, the three demo files weigh 9.9 KB; the libraries: GSAP 28 KB.
Tested on 16 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.