
Stacking certificates
Hover, Images
The evening menu of Tonda, a made up sharing plates bar, in a light and warm card: four real dishes seen from above sit on a travertine lazy Susan. Hovering a dish name in the list, clicking a plate or dragging the tray turns it on a spring, a hair past the mark and back, until the chosen dish faces you; the plates turn with the tray, but their shadows and gloss stay put as under a real lamp. The front dish grows, the others fade into the stone, the name and the ingredients slide in from the side the tray turns and the price rolls on its digits. Add to table puts the dish on the order: the button swells, the tick draws itself, a ring of light runs round the rim of the plate and the table count rolls.
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>
<!--
"Lazy Susan menu" 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 sharing plates menu on a lazy Susan that brings the dish to the front</title>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fontsource-variable/mona-sans@5.3.0/wdth.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fontsource-variable/fraunces@5.3.0/opsz.css">
<link rel="stylesheet" href="style.css">
</head>
<body>
<main class="stage" data-stage>
<!-- the sharing menu of Tonda, a made up small plates bar: four real dishes seen from above sit on a round
travertine lazy Susan. Hovering a dish in the list, clicking a plate or dragging the tray turns it on a spring
until that dish faces you; the plates turn with the tray, but their shadows and their gloss stay put, because
the lamp does not move. The front plate grows, its name and notes slide in, the price rolls, and Add to table
drops it on the order with a ring of light around the rim -->
<article class="card" data-card>
<span class="card__edge" aria-hidden="true"></span>
<header class="head">
<span class="brand">
<svg class="brand__mark" viewBox="0 0 20 20" aria-hidden="true">
<circle cx="10" cy="10" r="7.6"/>
<circle cx="10" cy="10" r="3.1"/>
<path d="M10 2.4v4.5"/>
</svg>
<span class="brand__name">Tonda</span>
<span class="brand__sub">Small plates</span>
</span>
<span class="tab" aria-live="polite">
<span class="tab__words">Table 6</span>
<span class="tab__count"><span class="tab__col" data-tabcol></span></span>
<span class="tab__words tab__words--soft" data-tabword>plates</span>
</span>
</header>
<div class="body">
<div class="lazy" role="group" aria-label="Lazy Susan, drag to turn" data-lazy>
<span class="lazy__shadow" aria-hidden="true"></span>
<span class="lazy__stone" aria-hidden="true"></span>
<div class="lazy__turn" data-turn>
<svg class="lazy__ticks" viewBox="0 0 200 200" aria-hidden="true" data-ticks></svg>
<button class="plate" type="button" style="--a:90deg" aria-label="Sourdough and cultured butter" data-plate>
<span class="plate__lift" data-lift>
<img class="plate__img" src="bread.webp" width="560" height="560" alt="" draggable="false">
<span class="plate__dim" data-dim></span>
<span class="plate__gloss" aria-hidden="true"></span>
<span class="plate__ring" aria-hidden="true" data-ring></span>
</span>
</button>
<button class="plate" type="button" style="--a:0deg" aria-label="Roast pumpkin velouté" data-plate>
<span class="plate__lift" data-lift>
<img class="plate__img" src="soup.webp" width="560" height="560" alt="" draggable="false">
<span class="plate__dim" data-dim></span>
<span class="plate__gloss" aria-hidden="true"></span>
<span class="plate__ring" aria-hidden="true" data-ring></span>
</span>
</button>
<button class="plate" type="button" style="--a:-90deg" aria-label="Spaghetti alla chitarra" data-plate>
<span class="plate__lift" data-lift>
<img class="plate__img" src="pasta.webp" width="560" height="560" alt="" draggable="false">
<span class="plate__dim" data-dim></span>
<span class="plate__gloss" aria-hidden="true"></span>
<span class="plate__ring" aria-hidden="true" data-ring></span>
</span>
</button>
<button class="plate" type="button" style="--a:180deg" aria-label="Tomatoes on the vine" data-plate>
<span class="plate__lift" data-lift>
<img class="plate__img" src="tomatoes.webp" width="560" height="560" alt="" draggable="false">
<span class="plate__dim" data-dim></span>
<span class="plate__gloss" aria-hidden="true"></span>
<span class="plate__ring" aria-hidden="true" data-ring></span>
</span>
</button>
</div>
<span class="lazy__sheen" aria-hidden="true"></span>
<svg class="lazy__notch" viewBox="0 0 16 8" aria-hidden="true"><path d="M2 7L8 1.6 14 7"/></svg>
</div>
<div class="info">
<p class="info__kicker"><span class="info__mask"><span data-kicker>Tonight, to share</span></span></p>
<h2 class="info__name"><span class="info__mask"><span data-name>Sourdough & cultured butter</span></span></h2>
<p class="info__line"><span class="info__mask"><span data-line>Seeded loaf, whipped butter, sea salt</span></span></p>
<div class="info__meta">
<p class="price" data-price aria-label="10 euros">
<span class="price__cur">€</span>
<span class="price__col" data-col></span>
<span class="price__col" data-col></span>
</p>
<span class="serves"><span class="info__mask"><span data-serves>Serves 2</span></span></span>
</div>
<div class="list" role="list" data-list>
<span class="list__hi" aria-hidden="true" data-hi></span>
<button class="row" type="button" role="listitem" data-row><span class="row__name">Sourdough</span><span class="row__price">10</span></button>
<button class="row" type="button" role="listitem" data-row><span class="row__name">Pumpkin velouté</span><span class="row__price">13</span></button>
<button class="row" type="button" role="listitem" data-row><span class="row__name">Spaghetti</span><span class="row__price">18</span></button>
<button class="row" type="button" role="listitem" data-row><span class="row__name">Vine tomatoes</span><span class="row__price">12</span></button>
</div>
<button class="add" type="button" data-add>
<span class="add__face" data-addface>
<svg class="add__icon" viewBox="0 0 16 16" aria-hidden="true"><path class="add__plus" data-plus d="M8 3.5v9M3.5 8h9"/><path class="add__tick" data-tick pathLength="1" d="M3.4 8.4l3 3 6.2-6.6"/></svg>
<span class="add__words"><span data-addwords>Add to table</span></span>
</span>
</button>
</div>
</div>
</article>
<svg class="pointer" viewBox="0 0 24 24" aria-hidden="true" data-pointer><path d="M5 3l13.5 8.2-6.1 1.3 3.4 6.6-2.6 1.3-3.4-6.6L5 18.4z"/></svg>
<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.
35 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 “Lazy Susan menu” from Animorio and fit it into my siteThe whole tray hangs on one angle, which GSAP carries to the chosen dish with back.out for the hair past the mark. A ticker draws it every frame: it turns the layer with the plates and, for each plate, measures how far it is from the front and works out its size and veil on a soft curve.
The plates turn with the tray, but each shadow uses two CSS variables, --sx and --sy, which the script works out by turning the same angle backwards (sine and cosine): the shadow always falls downwards. The gloss is a circle over the photo turned by minus the angle, so it stays at the top left.
The plates sit on the ring with left and top in percent worked out with CSS cos() and sin(), so they follow any size with no recalculation. The drag measures the finger’s angle round the centre, keeps its speed and, on release, adds a bit of throw before snapping to the nearest dish.
| Name | File | Default | What it changes |
|---|---|---|---|
TURN_TIME | script.js | 1.05 | The seconds the tray takes to bring a dish to the front. |
OVERSHOOT | script.js | 1.3 | How far the tray swings past the dish before it settles (0 none). |
FRONT_SCALE | script.js | 1.14 | How big the dish in front gets. |
BACK_SCALE | script.js | 0.86 | How small the dishes at the back get. |
FADE | script.js | 0.34 | How much the dishes away from the front fade into the stone (0 none). |
THROW | script.js | 0.3 | How far a drag keeps turning after you let go. |
SHADOW | script.js | 1 | How long the plates’ shadows are (0 none). |
AUTOPLAY | script.js | true | Left alone, a drawn pointer turns the tray and adds a dish. |
--accent | style.css | #c2512c | The terracotta of the price, the caret, the button and the ring of light. |
--stone | style.css | #e6dccd | The travertine of the tray. |
For the site of a restaurant, a bar or a wine bar with sharing plates: the evening menu becomes a tray to turn, each dish is seen in a photo before choosing it and goes onto the table’s order.
The same animation with adapted measures: the tray on top, sized on the height too, and under it the name, the price and the button on one line; the list hides and you choose by tapping a plate or dragging the tray with a finger. Below 520 pixels of height the ingredients hide too.
No turning: the tray switches to the chosen dish with a fade, the words change with a cross-fade and the price is in place at once.
GSAP 3.15.0, Mona Sans (font variabile) 5.3.0, Fraunces (font variabile) 5.3.0.
Compressed with gzip, the three demo files weigh 12 KB; the libraries: GSAP 28 KB.
Tested on 15 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.