Skip to content
animorio
IT
Back to the library

Recipe bowl

Scroll, ImagesGSAPMediumCompressed weight: Demo 10 KBGSAP + ScrollTrigger 45 KBLenis 5.3 KBFreeDownload the zip

Scroll inside the preview

The recipe page of a made-up food blog, Saltwater Kitchen, with a glazed ceramic bowl seen from above: as you scroll, the spaghetti, glossy cherry tomatoes, a drizzle of olive oil spiralling over the pasta, basil leaves with their veins, grated parmesan and black pepper drop into the bowl one at a time, their shadows closing in under them as they land, and the ingredient list beside it ticks off line by line. At the end the dish is ready and a little steam rises.

The code

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>
<!--
  "Recipe bowl" 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>Saltwater Kitchen, summer spaghetti</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>
  <!-- a made-up food blog, Saltwater Kitchen. A sticky stage with a ceramic bowl seen from above and the recipe beside
       it: scrolling, the ingredients drop into the bowl one at a time, falling towards the table with their shadow
       closing in under them, and the list ticks off line by line; at the end the dish is ready and a little steam rises -->
  <section class="corsa" data-corsa>
    <div class="palco" data-palco>
      <div class="tavolo" data-tavolo>
        <svg class="scena" data-scena viewBox="0 0 400 400" aria-label="A ceramic bowl seen from above, filling with spaghetti, cherry tomatoes, olive oil, basil, parmesan and black pepper" role="img">
          <defs>
            <radialGradient id="g-tavolo-ombra" cx="50%" cy="50%" r="50%">
              <stop offset="0" stop-color="#3b2a1a" stop-opacity=".30"/>
              <stop offset=".62" stop-color="#3b2a1a" stop-opacity=".12"/>
              <stop offset="1" stop-color="#3b2a1a" stop-opacity="0"/>
            </radialGradient>
            <radialGradient id="g-bordo" cx="42%" cy="40%" r="62%">
              <stop offset="0" stop-color="#fffdf9"/>
              <stop offset=".72" stop-color="#f6f1e8"/>
              <stop offset=".9" stop-color="#e9e1d3"/>
              <stop offset="1" stop-color="#d9cfbe"/>
            </radialGradient>
            <radialGradient id="g-pozzo" cx="62%" cy="64%" r="72%" fx="66%" fy="68%">
              <stop offset="0" stop-color="#fbf8f2"/>
              <stop offset=".55" stop-color="#f1ebe0"/>
              <stop offset=".86" stop-color="#ddd3c2"/>
              <stop offset="1" stop-color="#c8bca8"/>
            </radialGradient>
            <linearGradient id="g-luce-bordo" x1="0" y1="0" x2="1" y2="1">
              <stop offset="0" stop-color="#fff" stop-opacity=".95"/>
              <stop offset=".45" stop-color="#fff" stop-opacity="0"/>
            </linearGradient>
            <radialGradient id="g-pomodoro" cx="36%" cy="32%" r="72%">
              <stop offset="0" stop-color="#ff8f6e"/>
              <stop offset=".35" stop-color="#ec3d23"/>
              <stop offset=".8" stop-color="#c3200f"/>
              <stop offset="1" stop-color="#8e1209"/>
            </radialGradient>
            <radialGradient id="g-polpa" cx="45%" cy="42%" r="62%">
              <stop offset="0" stop-color="#ff9a7c"/>
              <stop offset=".7" stop-color="#ee4a2c"/>
              <stop offset="1" stop-color="#b8200f"/>
            </radialGradient>
            <linearGradient id="g-calice" x1="0" y1="0" x2="1" y2="1">
              <stop offset="0" stop-color="#7cae45"/>
              <stop offset="1" stop-color="#3f6e22"/>
            </linearGradient>
            <linearGradient id="g-foglia" x1="0" y1="0" x2="1" y2="1">
              <stop offset="0" stop-color="#6fbf4f"/>
              <stop offset=".55" stop-color="#3f9437"/>
              <stop offset="1" stop-color="#25682a"/>
            </linearGradient>
            <linearGradient id="g-olio" x1="0" y1="0" x2="1" y2="1">
              <stop offset="0" stop-color="#f5d46a"/>
              <stop offset=".6" stop-color="#d9a321"/>
              <stop offset="1" stop-color="#b98410"/>
            </linearGradient>
            <radialGradient id="g-pozza" cx="40%" cy="38%" r="60%">
              <stop offset="0" stop-color="#fff2b8" stop-opacity=".9"/>
              <stop offset=".45" stop-color="#e8b93a" stop-opacity=".55"/>
              <stop offset="1" stop-color="#d49e1c" stop-opacity="0"/>
            </radialGradient>
            <filter id="f-ombra" x="-50%" y="-50%" width="200%" height="200%"><feGaussianBlur stdDeviation="3.2"/></filter>
            <filter id="f-ombra-grande" x="-50%" y="-50%" width="200%" height="200%"><feGaussianBlur stdDeviation="9"/></filter>
            <filter id="f-vapore" x="-50%" y="-50%" width="200%" height="200%"><feGaussianBlur stdDeviation="2.6"/></filter>
            <clipPath id="c-pozzo"><circle cx="200" cy="200" r="146"/></clipPath>
          </defs>

          <!-- the bowl's shadow on the table, light from the top left -->
          <ellipse cx="214" cy="218" rx="186" ry="184" fill="url(#g-tavolo-ombra)" filter="url(#f-ombra-grande)"/>
          <!-- the rim, glazed ceramic with a blue line -->
          <circle cx="200" cy="200" r="176" fill="url(#g-bordo)"/>
          <circle cx="200" cy="200" r="175.4" fill="none" stroke="#c9bda8" stroke-width="1.2"/>
          <circle cx="200" cy="200" r="166" fill="none" stroke="#3a5a9b" stroke-width="1.6" opacity=".78"/>
          <circle cx="200" cy="200" r="162.6" fill="none" stroke="#3a5a9b" stroke-width=".6" opacity=".5"/>
          <path d="M 64 150 A 150 150 0 0 1 150 60" fill="none" stroke="url(#g-luce-bordo)" stroke-width="5" stroke-linecap="round" opacity=".9"/>
          <!-- the well -->
          <circle cx="200" cy="200" r="148" fill="url(#g-pozzo)"/>
          <circle cx="200" cy="200" r="148" fill="none" stroke="#bfb19a" stroke-width="1" opacity=".7"/>
          <g clip-path="url(#c-pozzo)">
            <ellipse cx="236" cy="236" rx="70" ry="54" fill="#fff" opacity=".35" filter="url(#f-ombra-grande)"/>
            <g data-cibo></g>
          </g>
          <g data-sopra></g>
          <g data-vapore filter="url(#f-vapore)"></g>
        </svg>
      </div>

      <div class="ricetta" data-ricetta>
        <p class="blog">Saltwater Kitchen</p>
        <h1 class="titolo" data-titolo>Summer spaghetti with cherry tomatoes</h1>
        <p class="dati"><span>Serves 2</span><span>15 min</span></p>
        <ul class="lista" data-lista></ul>
        <p class="stato" data-stato aria-live="polite"><span class="stato__testo" data-stato-testo>Scroll to cook</span></p>
      </div>
    </div>
  </section>
  <footer class="fine">Saltwater Kitchen is a made-up blog. Recipe and drawings are illustrative.</footer>

  <script src="https://cdn.jsdelivr.net/npm/gsap@3.15.0/dist/gsap.min.js"></script>
  <script src="https://cdn.jsdelivr.net/npm/gsap@3.15.0/dist/ScrollTrigger.min.js"></script>
  <script src="https://cdn.jsdelivr.net/npm/lenis@1.3.26/dist/lenis.min.js"></script>
  <script src="script.js"></script>
</body>
</html>

Playground

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.

20 values to change

Or ask your AI assistant for it

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 “Recipe bowl” from Animorio and fit it into my site
Platform licenseFree on your sites and your clients’ sites. Want it inside a website builder, a template platform or a client dashboard? There’s a license for agencies and platforms.

What it does

On a linen-coloured table there is a glazed ceramic bowl seen from above, with a warm white rim, a double blue line and the light coming from the top left; beside it the Saltwater Kitchen recipe, Summer spaghetti with cherry tomatoes, and the list of six ingredients with their amounts. As you scroll, the ingredients drop into the bowl one at a time: seen from above, falling means coming down from the camera, so every piece arrives large, shrinks to its size with a small squash and settles, while its shadow on the food below closes in and darkens; at each landing the bowl gives the faintest nudge. First the spaghetti nest, forty strands drawn as glossy tubes; then five cherry tomatoes, three whole with their green calyx and two halved with their seeds; then a golden drizzle of olive oil that draws itself in a spiral over the pasta and leaves four shiny pools; then four basil leaves with the midrib and veins; then grated parmesan raining down in shards and a few grains of black pepper. The line of the ingredient that is falling lights up, then its circle fills green and the tick draws. At the end the text turns to Ready to serve and a little steam rises from the dish. On the phone, under the bowl there are only the title and the line of what is falling now.

How it works

The bowl in one SVG

Everything is in a 400 by 400 SVG that fits the window by itself: the ceramic is made of circles with radial gradients, the well is lighter where the light falls and the bowl’s shadow is blurred on the table. The ingredients are drawn by the script with a fixed random sequence, so the dish is always the same.

Falling, seen from above

Each piece has its window on the scroll. Inside the window a landing curve goes from 0 to 1, passing slightly beyond: the height is one minus the curve, the scale goes from the starting size to 1 and the shadow moves down and to the right and fades the higher the piece is.

The order of the layers

While in the air a piece sits above the bowl, outside the clip of the well; when it lands it moves inside, after the ones already there, with its shadow under it. The order is rebuilt only when something changes state, not on every frame.

The list, the steam and the nudge

The glowing line, the filling circle and the tick follow the scroll; the steam and the nudge of the bowl live on time, on the GSAP ticker: the steam is three wisps redrawn on every frame, the nudge is a spring pushed by each landing.

Values to change

NameFileDefaultWhat it changes
RIDEscript.js1How much scroll the whole recipe takes: 2 is twice as long.
SCRUBscript.js0.8How far the drawing lags behind the scroll, in seconds.
DROP_HEIGHTscript.js1.9How large a piece starts, as if close to the camera (1 no fall).
SETTLEscript.js1.5How much a piece squashes and settles as it lands (0 none).
SHADOWscript.js0.32How dark the shadows of the pieces are.
NUDGEscript.js1How much the bowl moves when something lands (0 still).
STEAMscript.js1How much steam rises at the end (0 none).

Try them in the Playground

When to use it

For a recipe page on a food blog, a restaurant menu telling the story of a dish, the landing page of a meal-kit delivery service or an online cookbook: whoever scrolls sees the dish come together instead of reading a list.

On phones

The same animation with adapted sizes: the bowl on top, sized on the height too, and under it only the title and the line of the ingredient that is falling, which rolls to the next; the full list shows when there is room beside it.

With reduced motion

No motion: the dish is already ready, with every ingredient in place, the list ticked, Ready to serve and the steam still and faint; the page fades in.

Pitfalls

  • Seen from above, a falling piece does not move down the screen: it comes closer to the camera. If it slides down from the top of the page it looks like it is gliding over the table.
  • A piece still in the air must not be clipped by the bowl’s well: until it lands it sits on a layer above, outside the clip-path, or its edge gets cut while it is large.
  • Ask an SVG path for getTotalLength when it is in the document: detached it can return zero and the oil drizzle does not draw.

Libraries

GSAP 3.15.0, ScrollTrigger 3.15.0, Lenis 1.3.26, Mona Sans (font variabile) 5.3.0.

Compressed with gzip, the three demo files weigh 10 KB; the libraries: GSAP + ScrollTrigger 45 KB, Lenis 5.3 KB.

Testing

Tested on 30 October 2026

  • Desktop: Done
  • Phone: Done
  • Reduced motion: Done
  • Safari on iPhone: To do

License

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.

All animations