Skip to content
animorio
IT
Back to the library

Arrival guide

Scroll, TextGSAP, CSS onlyMediumCompressed weight: Demo 7.3 KBGSAP + ScrollTrigger 45 KBLenis 5.3 KBFreeDownload the zip

Scroll inside the preview

The arrival guide of a made-up holiday home by the sea, Saltmere House, in the clean style of the interface pieces: the stage stays still and, as you scroll, the four steps of the arrival open one after another along a line that runs down from stop to stop. Park in bay 3, open the gate, take the keys, join the Wi-Fi: on each step a soft light comes on, the stop fills with sea green with a small pop, the name gains weight and the chip on the right shows its value, with the gate and key box codes rolling into place digit by digit and the Wi-Fi key showing itself letter by letter. The step count in the header rolls; at the end the last stop draws a tick, You’re in comes up and the button to message the host 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>
<!--
  "Arrival guide" 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>Saltmere House, arrival guide</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>
  <!-- the arrival guide of a made-up holiday house by the sea, Saltmere House. A sticky stage: as you scroll, the line on the
       left runs down from one stop to the next and each step of the arrival opens in turn: park in bay 3, open the side
       gate (the code rolls into place digit by digit), take the keys from the key box (another code), join the Wi-Fi (the
       password shows itself letter by letter). At the end the last stop takes a tick, You're in comes up and the Message
       your host pill rises. Scrolling back closes the steps again -->
  <section class="corsa" data-corsa>
    <div class="palco">
      <p class="occhiello">
        <svg viewBox="0 0 16 16" aria-hidden="true"><path d="M2.5 7.6 8 3l5.5 4.6"/><path d="M4 6.6v6.4h8V6.6"/><path d="M6.8 13v-3.4h2.4V13"/></svg>
        Saltmere House <span class="occhiello__sep">·</span> Arrival guide
      </p>
      <h2 class="titolo">Friday, from 4 pm.<br><span class="titolo__due" data-due>Four steps to the door.</span></h2>

      <figure class="guida" data-guida>
        <div class="guida__testa">
          <span class="guida__nome">Your arrival</span>
          <span class="guida__stato" data-stato><span class="guida__stato-in" data-stato-testo>Step 1 of 4</span></span>
        </div>

        <ol class="passi">
          <li class="passo" data-passo>
            <span class="tappa" data-tappa>
              <svg viewBox="0 0 20 20" aria-hidden="true"><path d="M3.5 12.5v-2.6l1.8-4.1c.3-.6.8-.9 1.4-.9h6.6c.6 0 1.1.3 1.4.9l1.8 4.1v2.6"/><path d="M3.5 12.5h13v2h-13z"/><path d="M5.6 15.2v1.2M14.4 15.2v1.2"/><path d="M4.6 9.6h10.8"/></svg>
            </span>
            <span class="passo__testo">
              <span class="passo__nome"><span class="passo__in" data-nome>Park in bay 3</span></span>
              <span class="passo__nota" data-nota>Gravel drive, last bay by the hedge</span>
            </span>
            <span class="gettone gettone--chiaro" data-gettone><span class="gettone__etichetta">Bay</span><span class="gettone__valore">3</span></span>
          </li>

          <li class="passo" data-passo>
            <span class="tappa" data-tappa>
              <svg viewBox="0 0 20 20" aria-hidden="true"><path d="M3.5 16.5V5.5M16.5 16.5V5.5"/><path d="M3.5 7.5h13M3.5 13.5h13"/><path d="M7.5 7.5v6M10 7.5v6M12.5 7.5v6"/></svg>
            </span>
            <span class="passo__testo">
              <span class="passo__nome"><span class="passo__in" data-nome>Open the side gate</span></span>
              <span class="passo__nota" data-nota>Keypad on the left post</span>
            </span>
            <span class="gettone" data-gettone data-codice="4812"><span class="gettone__etichetta">Code</span><span class="cifre" data-cifre></span></span>
          </li>

          <li class="passo" data-passo>
            <span class="tappa" data-tappa>
              <svg viewBox="0 0 20 20" aria-hidden="true"><circle cx="7" cy="10" r="3.2"/><path d="M10.2 10h6.3M14.2 10v2.3M16.4 10v1.6"/></svg>
            </span>
            <span class="passo__testo">
              <span class="passo__nome"><span class="passo__in" data-nome>Take the keys</span></span>
              <span class="passo__nota" data-nota>Grey key box under the porch light</span>
            </span>
            <span class="gettone" data-gettone data-codice="2735"><span class="gettone__etichetta">Box</span><span class="cifre" data-cifre></span></span>
          </li>

          <li class="passo" data-passo>
            <span class="tappa" data-tappa>
              <svg class="tappa__wifi" viewBox="0 0 20 20" aria-hidden="true"><path d="M3 8.2a10 10 0 0 1 14 0"/><path d="M5.5 10.8a6.4 6.4 0 0 1 9 0"/><path d="M8 13.3a2.8 2.8 0 0 1 4 0"/><circle cx="10" cy="15.4" r="0.9"/></svg>
              <svg class="tappa__spunta" viewBox="0 0 20 20" aria-hidden="true"><path d="M5.5 10.4 8.6 13.4 14.6 7" data-spunta/></svg>
            </span>
            <span class="passo__testo">
              <span class="passo__nome"><span class="passo__in" data-nome>Join the Wi-Fi</span></span>
              <span class="passo__nota" data-nota>Saltmere-Guest</span>
            </span>
            <span class="gettone gettone--parola" data-gettone><span class="gettone__etichetta">Key</span><span class="parola" data-parola="tide&amp;pine"></span></span>
          </li>
        </ol>

        <div class="guida__piede" data-piede>
          <span class="dentro" data-dentro>You’re in. The kettle is by the window.</span>
          <a class="scrivi" href="#" data-scrivi><span class="scrivi__fondo" aria-hidden="true"></span>
            <svg viewBox="0 0 16 16" aria-hidden="true"><path d="M2.8 4.2h10.4v6.6H7.4L4.5 13V10.8H2.8z"/></svg>
            <span>Message your host</span></a>
        </div>
      </figure>
    </div>
  </section>
  <footer class="piede">Saltmere House is a made-up holiday home.</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.

40 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 “Arrival guide” 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 warm white ground sits the arrival guide of Saltmere House, a made-up holiday home by the sea: at the top a pill with a drawn little house, Saltmere House and Arrival guide, then the two-line title, Friday, from 4 pm. in black and Four steps to the door. in narrow light grey, and below the guide card, with Your arrival and the step count in its header. Inside are four steps, each with its round stop and drawn icon (the car, the gate, the key, the Wi-Fi), the name, a note and a chip on the right: Bay 3, Code and four digits, Box and four digits, Key and the password hidden behind dots. At first everything is grey. As you scroll, the second title line widens and turns black; on each step a faint green light comes on, the stop fills with sea green and swells a little, the icon turns white, the name goes from thin grey to full black, and the chip sharpens: the code digits roll down like a counter to their figure, one after another, and the Wi-Fi key shows itself letter by letter as the dots fade. Between stops the line fills with green. In the header Step 1 of 4 rolls up to Step 4 of 4 and then All set. At the end the Wi-Fi icon gives way to a tick that draws itself, You’re in. The kettle is by the window. comes in and the dark Message your host button rises. Scrolling back closes the guide.

How it works

One timeline, tied to the scroll

The whole guide is a paused GSAP timeline, with one stretch for each step, and ScrollTrigger drives it back and forth with scrub while the stage stays still with position: sticky. The step count in the header reads the timeline’s time on each update and changes the line only when the step changes.

Digits on a counter

Each digit is a one-line window with a strip from 0 to 9 repeated twice inside: GSAP moves the strip with yPercent to the second copy of the right digit, so the counter rolls more than once round and, with scrub, rolls back too.

The line between stops

Between one stop and the next there is a thin grey track, and inside it a green fill that GSAP stretches with scaleY from the top: the line runs down as you scroll and reaches the stop just as the step opens.

Values to change

NameFileDefaultWhat it changes
RIDEscript.js1How much scroll the whole guide takes: 2 is twice as long.
SCRUBscript.js0.6How far the guide lags behind the scroll, in seconds.
TITLE_WIDTHscript.js114How wide the second title line gets on the width axis.
NAME_WEIGHTscript.js640The weight each step name reaches.
POPscript.js1.08How much each stop swells when it fills (1 for none).
GLOWscript.js1How visible the soft light under the open step is (0 none).
ROLLscript.js11: the codes roll into place; 0: they just appear.
--marestyle.css#2f5d57The sea green of the stops, the line and the light.
--fondostyle.css#f3f1ecThe warm white of the ground.

Try them in the Playground

When to use it

For the page of a holiday home, a short let or a small hotel that sends guests their arrival instructions: whoever scrolls reads the steps one at a time, with the codes and the Wi-Fi key, and finds the button to message the host at the end.

On phones

The same animation with adapted measures: title, card and steps are sized on the height too and all fit in the stage; the welcome line at the bottom hides below 480 pixels and the button stays centred.

With reduced motion

No motion: the guide is already open, with the codes, the password, the tick and the button, and it appears with a fade.

Pitfalls

  • GSAP does not read CSS variables inside colours it animates: the :root colours are read once with getComputedStyle and passed already resolved.
  • With Mona Sans no tabular-nums on the code digits: the tabular zero has a slash; the digits sit in windows of the same width instead.

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 7.3 KB; the libraries: GSAP + ScrollTrigger 45 KB, Lenis 5.3 KB.

Testing

Tested on 14 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