Skip to content
animorio
IT
Back to the library

Wine tasting notes

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

Scroll inside the preview

The product page of a wine from Casa Lenzara, a made-up winery, on a warm paper background. The stage stays put while you scroll: on the left a real photo of the bottle in an arched frame, on the right the wine’s name, its vintage and its land. Scrolling, a second arch opens inside the frame from the bottom with a golden hairline on its edge and the vineyard rises in place of the bottle; on the right the four tasting notes (Colour, Nose, Palate, Pairing) open one after the other, each with a small intensity bar that fills a pixel too far and settles back, while the strength and the serving temperature count up. At the end the «Add to cart · €28» button fills with wine and a glint runs over it. Both photos are real (CC0).

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>
<!--
  "Wine tasting notes" 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>Colle Basso 2021 · Casa Lenzara</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/full.css">
  <link rel="stylesheet" href="style.css">
</head>
<body>
  <!-- the product page of a made-up winery, Casa Lenzara. The stage sticks while you scroll: on the left a real photo of
       the bottle in an arched frame, on the right the wine, its vintage and its land. Scrolling, an arch opens inside the
       frame from the bottom and the vineyard rises in it; on the right the four tasting notes open one after the other,
       each with a small intensity bar that fills, the strength and the serving temperature count up, and at the end the
       Add to cart button lights up. -->
  <main>
    <section class="corsa" data-corsa>
      <div class="palco" data-palco>
        <div class="grana" aria-hidden="true"></div>

        <div class="pagina" data-pagina>
          <figure class="quadro" data-quadro>
            <div class="quadro__cornice">
            <div class="quadro__filo" aria-hidden="true"></div>
            <div class="arco" data-arco>
              <div class="scatto scatto--bottiglia" data-bottiglia>
                <img src="bottiglia.webp" alt="A bottle of red wine among grapes and roses on a wooden table" width="681" height="1024">
              </div>
              <div class="scatto scatto--vigna" data-vigna>
                <img src="vigna.webp" alt="Rows of vines turning orange in autumn under a pale sky" width="1024" height="683">
              </div>
              <div class="arco__luce" data-luce aria-hidden="true"></div>
              <div class="arco__ombra" aria-hidden="true"></div>
            </div>
            </div>
            <figcaption class="didascalia">
              <span class="didascalia__riga" data-didascalia>
                <span>The bottle, 750 ml</span>
              </span>
            </figcaption>
          </figure>

          <div class="scheda" data-scheda>
            <div class="scheda__testa">
            <p class="cantina">
              <svg class="cantina__segno" viewBox="0 0 20 20" aria-hidden="true"><path d="M3 17V9a7 7 0 0 1 14 0v8"/><path d="M7 17v-6a3 3 0 0 1 6 0v6"/></svg>
              <span>Casa Lenzara</span>
              <span class="cantina__ruolo">Estate red</span>
            </p>
            <h1 class="nome" data-nome>Colle Basso</h1>
            <dl class="dati">
              <div class="dato"><dt>Vintage</dt><dd>2021</dd></div>
              <div class="dato"><dt>Land</dt><dd>Val d’Orcia, Tuscany</dd></div>
              <div class="dato" data-forza><dt>Strength</dt><dd><span data-cifra="13.5" data-decimali="1">13.5</span>%</dd></div>
            </dl>
            </div>

            <div class="schede" data-indice aria-hidden="true">
              <span data-scheda-nome>Colour</span><span data-scheda-nome>Nose</span><span data-scheda-nome>Palate</span><span data-scheda-nome>Pairing</span>
            </div>

            <ol class="note" data-note>
              <li class="nota" data-nota>
                <div class="nota__testa">
                  <h2 class="nota__nome">Colour</h2>
                  <span class="nota__misura"><span class="barra" data-barra="0.78"><span class="barra__pieno"></span><span class="barra__punta"></span></span><span class="nota__parola">Deep</span></span>
                </div>
                <p class="nota__testo">Garnet at the core, turning brick at the rim.</p>
                <span class="nota__filo" aria-hidden="true"></span>
              </li>
              <li class="nota" data-nota>
                <div class="nota__testa">
                  <h2 class="nota__nome">Nose</h2>
                  <span class="nota__misura"><span class="barra" data-barra="0.66"><span class="barra__pieno"></span><span class="barra__punta"></span></span><span class="nota__parola">Pronounced</span></span>
                </div>
                <p class="nota__testo">Sour cherry, dried violet, a little cedar smoke.</p>
                <span class="nota__filo" aria-hidden="true"></span>
              </li>
              <li class="nota" data-nota>
                <div class="nota__testa">
                  <h2 class="nota__nome">Palate</h2>
                  <span class="nota__misura"><span class="barra" data-barra="0.86"><span class="barra__pieno"></span><span class="barra__punta"></span></span><span class="nota__parola">Full</span></span>
                </div>
                <p class="nota__testo">Firm tannins, bright acidity, <span data-cifra="13.5" data-decimali="1">13.5</span>% held in balance.</p>
                <span class="nota__filo" aria-hidden="true"></span>
              </li>
              <li class="nota" data-nota>
                <div class="nota__testa">
                  <h2 class="nota__nome">Pairing</h2>
                  <span class="nota__misura"><span class="barra" data-barra="0.54"><span class="barra__pieno"></span><span class="barra__punta"></span></span><span class="nota__parola">Generous</span></span>
                </div>
                <p class="nota__testo">Pici with ragù, aged pecorino. Serve at <span data-cifra="16" data-decimali="0">16</span>–<span data-cifra="18" data-decimali="0">18</span>°C.</p>
                <span class="nota__filo" aria-hidden="true"></span>
              </li>
            </ol>

            <div class="compra">
              <button class="carrello" type="button" data-carrello disabled>
                <span class="carrello__fondo" aria-hidden="true"><span class="carrello__vino" data-vino></span><span class="carrello__lampo" data-lampo></span></span>
                <span class="carrello__testo">
                  <span class="carrello__riga" data-riga-compra>Add to cart <span class="carrello__punto">·</span> €28</span>
                  <span class="carrello__riga carrello__riga--fatto" data-riga-fatto>
                    <svg viewBox="0 0 16 16" aria-hidden="true"><path d="M3.2 8.4 6.6 11.6 12.8 4.6"/></svg>
                    Added
                  </span>
                </span>
              </button>
              <p class="compra__nota">Six bottles ship free</p>
            </div>
          </div>
        </div>
      </div>
    </section>
  </main>

  <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.

54 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 “Wine tasting notes” 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 an ivory paper background, with a soft light and a light grain, on the left sits an arched frame with a thin line around it and inside it the real photo of a bottle of red among grapes, roses and peaches on a wooden table; under it the caption «The bottle, 750 ml». On the right the Casa Lenzara mark with «Estate red», the wine’s name «Colle Basso» in a large serif, and three facts: Vintage 2021, Land Val d’Orcia, Tuscany, Strength still dimmed. Below, the four notes Colour, Nose, Palate and Pairing are only pale names with an empty bar, and at the bottom the «Add to cart · €28» button is only an outline. On opening the frame and the words rise into place and the name tightens its letters. Scrolling down the stage stays put. Inside the frame a small arch opens from the bottom, widens and rises until it fills it, with a golden hairline running on its edge: inside it is the vineyard in autumn, arriving from a little zoom and from a little lower, while the bottle underneath moves back slightly and darkens; half way the caption rolls to «The vineyard, Val d’Orcia». Meanwhile on the right the notes open one at a time: the name inks in, the line rises from under a veil, the hairline under the note draws from the left, the intensity bar fills with wine red with a tip that goes a pixel too far and settles back, and the intensity word appears (Deep, Pronounced, Full, Generous). With Palate the strength counts from 0.0 to 13.5% both in the line and in the facts above; with Pairing the temperature climbs to 16–18°C. At the end the button fills with wine from the left, its words turn light, a glint runs over it and it gives a small bounce. Under the mouse the button widens its letters and the line around the frame moves out on a spring; pressed, it gives and springs back, and the words roll to «Added» with a tick that draws itself, then back to the price. Everything follows the scroll both ways.

How it works

The pinned stage and a timeline ten long

The section is 520vh tall with a sticky stage at 100lvh. A single GSAP timeline, ten units long, is tied to the scroll with ScrollTrigger and a 0.8 scrub: the arch runs from 0.6 to 5.4, the notes start at 1, 3, 5 and 7, the button at 8.8. Lenis smooths the scroll and updates ScrollTrigger every frame.

The arched frame

A border-radius of 999px 999px 4px 4px on a box taller than it is wide makes the half circle on top by itself: the browser shrinks the radii in proportion until they fit the side. The same rule works inside clip-path: inset(… round 999px 999px 0 0).

The arch opening

The vineyard sits over the bottle with a clip-path inset written in pixels on every update: width and height grow with a power2.inOut from the bottom centre, so the arch is always an arch. An empty element with a golden border and the same radius takes the same sizes, with an opacity that is the sine of the progress: it shows half way and fades at both ends.

The notes opening

Every note already has its place, so the stage never jumps: the name starts pale, the line has a clip-path opening from the top and a small rise, the hairline under it is a scaleX from the left. The bar is a scaleX fill with back.out(1.6) and a tip moving with the same ease: with the scrub the overshoot shows going back too.

The counting figures

Every figure has data-cifra and data-decimali: an object with v from 0 to the value, tweened in the timeline, rewrites the text with toFixed. The strength in the facts above climbs together with the one in the Palate note.

The button

The wine fill is a scaleX in the timeline, the glint an oblique gradient running across; at 9.1 the acceso class changes the colour, removes disabled and gives an elastic bounce. A click rolls the words to «Added» and draws the tick with stroke-dashoffset, then rolls back.

On a narrow screen

Below 640px the page becomes a grid: the small photo top left with the name and facts beside it, below the four note names as tabs and the notes stacked in the same cell, taking turns as they rise. The whole page is drawn at its own size and scaled to fit the stage in width and height.

Values to change

NameFileDefaultWhat it changes
RIDEscript.js1How much scroll the whole page takes: 2 is twice as long.
SCRUBscript.js0.8How many seconds the page takes to catch up with the scroll.
ZOOMscript.js1.18How zoomed in the vineyard is when the arch starts to open.
SINKscript.js0.82How bright the bottle stays under the vineyard (1 = no dimming).
BOUNCEscript.js1.6How far the bars overshoot before they settle (0 = not at all).
RISEscript.js12How many pixels a note rises while it opens.
GLOWscript.js0.9How bright the golden line on the edge of the arch is.
CROPscript.js1.3How close the vineyard sits in the open arch (1 = the whole photo).

Try them in the Playground

When to use it

For the product page of an online wine shop or a winery, of an olive oil, a coffee, a perfume: one product, one real photo, its qualities told one at a time as you scroll down and the purchase lighting up at the end.

On phones

The same animation with adapted sizes: the small arched photo top left with the name and facts beside it, below the four note names as tabs and one note at a time rising in place of the last, then the button. The page is measured on width and height and scaled to fit the box.

With reduced motion

No movement: the vineyard fades in over the bottle instead of opening in an arch, the notes light up with a fade with the bars already full and the figures already at their value, the button takes its colour with a fade. The scroll stays native, without Lenis.

Pitfalls

  • A clip-path in percentages does not make a true arch while it grows: the sizes are in pixels, read from the frame and worked out again on resize.
  • The notes must not change height as they open or the pinned stage jumps: the text already has its place and is uncovered with a clip-path.
  • The page is scaled with a transform on .pagina, which GSAP never touches: the animations live on its children.
  • Going from wide to narrow the timeline has to be rebuilt (narrow notes take turns, wide ones stay): it is rebuilt keeping the scroll position.
  • The button is disabled until it lights up, so a click half way down does nothing.

Libraries

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

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

Testing

Tested on 13 November 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