Skip to content
animorio
IT
All components

Shipment status card

Steppers, Transitions, SVGGSAP, CSS onlyMediumCompressed weight: Demo 7.5 KBGSAP 28 KBFreeDownload the zip

The order status card of Pell & Co, a made-up lamp shop: the desk lamp ordered, the big status rolling from «Order placed» to «Shipped», «Out for delivery» and «Delivered», and below it the four stages in a row in their circles. The green bar fills on a spring from one stage to the next with a drawn little van riding on it, leaning back as it pulls away, bouncing on the road and rocking forward when it stops; the circle it reaches swells a hair, the next one lights up with a still halo. While the van is out the stops count down from 3 to 1, then the house becomes a tick drawing itself, the van fades by the door and the line below says «Left at front door». On white, with a single green accent.

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>
<!--
  "Shipment status card" 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>Shipment status card</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/jetbrains-mono@5.3.0/index.css">
  <link rel="stylesheet" href="style.css">
</head>
<body>
  <main class="stage">
    <!-- the order status card of Pell & Co, a made-up lighting shop: the order, the four stages in a row, the bar and
         the little van moving from one stage to the next, the arrival time rolling, and Delivered with the tick -->
    <section class="card" data-card aria-label="Order status, Pell and Co">
      <span class="card__edge" aria-hidden="true"></span>

      <header class="head">
        <span class="thumb" aria-hidden="true">
          <svg viewBox="0 0 40 40">
            <path class="lamp__base" d="M12.5 33.2h15a1.2 1.2 0 0 1 1.2 1.2v.4h-17.4v-.4a1.2 1.2 0 0 1 1.2-1.2z"/>
            <path class="lamp__arm" d="M20 33.2 15.6 21.4 23.4 13.6"/>
            <circle class="lamp__joint" cx="15.6" cy="21.4" r="1.25"/>
            <path class="lamp__shade" d="M21.2 10.4 28.9 8.2l2.6 8.6-3.6.9a4.6 4.6 0 0 1-6.7-7.3z"/>
            <path class="lamp__glow" d="M30.4 17.6 33 24.6"/>
          </svg>
        </span>
        <div class="head__txt">
          <p class="order">Pell &amp; Co · <span class="mono">#PC-30418</span></p>
          <h1 class="name">Arc desk lamp, oat</h1>
          <p class="when"><span class="roller" data-when aria-hidden="true"></span></p>
        </div>
      </header>

      <div class="status">
        <p class="status__big"><span class="roller" data-status aria-hidden="true"></span></p>
        <p class="status__eta"><span class="roller" data-eta aria-hidden="true"></span></p>
      </div>

      <!-- the four stages -->
      <div class="steps" data-steps aria-hidden="true">
        <div class="track" data-track>
          <span class="track__line"></span>
          <span class="track__fill" data-fill></span>
          <span class="van" data-van>
            <span class="van__body" data-van-body>
              <svg viewBox="0 0 28 18">
                <path class="van__shell" d="M2.4 3.4h13.8v10H2.4a1 1 0 0 1-1-1v-8a1 1 0 0 1 1-1z"/>
                <path class="van__cab" d="M16.2 6h5.2l3.8 4v3.4h-9z"/>
                <path class="van__win" d="M17.6 7.4h3.2l2.4 2.6h-5.6z"/>
                <path class="van__stripe" d="M3.4 9.6h10.6"/>
                <circle class="van__wheel" cx="6.4" cy="14.2" r="2.1"/>
                <circle class="van__wheel" cx="20.6" cy="14.2" r="2.1"/>
              </svg>
            </span>
            <span class="van__shadow" data-van-shadow></span>
          </span>
        </div>

        <div class="step" data-step>
          <span class="node" data-node>
            <svg class="ico" viewBox="0 0 16 16"><path d="M4.2 2.6h7.6v10.8l-1.3-.9-1.25.9-1.25-.9-1.25.9-1.25-.9-1.3.9z"/><path d="M6.2 5.6h3.6M6.2 8h3.6"/></svg>
          </span>
          <span class="step__lab">Ordered</span>
        </div>
        <div class="step" data-step>
          <span class="node" data-node>
            <svg class="ico" viewBox="0 0 16 16"><path d="M8 2.4 13.2 5v6L8 13.6 2.8 11V5z"/><path d="M2.8 5 8 7.6 13.2 5M8 7.6v6"/></svg>
          </span>
          <span class="step__lab">Shipped</span>
        </div>
        <div class="step" data-step>
          <span class="node" data-node>
            <svg class="ico" viewBox="0 0 16 16"><path d="M8 14s-4.2-3.9-4.2-7.3a4.2 4.2 0 0 1 8.4 0C12.2 10.1 8 14 8 14z"/><circle cx="8" cy="6.7" r="1.5"/></svg>
          </span>
          <span class="step__lab">Out for delivery</span>
        </div>
        <div class="step" data-step>
          <span class="node" data-node>
            <svg class="ico ico--home" viewBox="0 0 16 16" data-home><path d="M2.8 7.4 8 3l5.2 4.4"/><path d="M4.2 6.4v6.6h7.6V6.4"/><path d="M6.8 13v-3.4h2.4V13"/></svg>
            <svg class="ico ico--tick" viewBox="0 0 16 16"><path d="M3.8 8.3 6.7 11.1 12.2 5.2" pathLength="1" data-tick/></svg>
          </span>
          <span class="step__lab">Delivered</span>
        </div>
      </div>

      <p class="note" aria-hidden="true">
        <span class="note__ico" data-note-ico></span>
        <span class="roller" data-note></span>
      </p>

      <button class="pill" type="button" data-pill aria-label="Refresh tracking">
        <span class="pill__bg" aria-hidden="true"></span>
        <span class="pill__face"><span class="pill__txt">Track package</span></span>
      </button>

      <p class="sr" aria-live="polite" data-live></p>
    </section>
  </main>

  <script src="https://cdn.jsdelivr.net/npm/gsap@3.15.0/dist/gsap.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.

24 values to change

Works with Claude, Claude Code, ChatGPT, Cursor, VS Code, Windsurf, Codex, Gemini CLI

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 “Shipment status card” 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

The card starts at «Order placed». After a pause the green bar fills to the second stage with the little van running on it: it leans back as it pulls away, bounces along the road and rocks forward with a small sway when it arrives. Meanwhile the big status, the time and the line below roll: the old words go up and out, the new ones come from below a pixel too far and settle; the line’s icon swaps on a spring. The circle just reached swells and comes back, the next one lights up with a still pale green halo. At «Out for delivery» the stops count down one at a time, then the last stretch: the house in the last circle shrinks and a tick draws itself in its place, the van fades by the door, the status turns green and the line below, now on pale green, says «Left at front door · signed by J. Okafor». After a pause the bar goes back and the loop starts over. The «Track package» button squashes and springs back, and refreshes the time.

How it works

The road between stages

The stages are a grid of four equal columns, so their centres sit at 12.5, 37.5, 62.5 and 87.5%: the bar runs from the first centre to the last and fills with scaleX from the left, in thirds.

The little van

The van sits over the bar in a zero-width holder that GSAP moves in pixels (the bar width times the progress), so it stays on the tip even when the window changes; the body inside leans, bounces and rocks on its own.

The rolling lines

Each line is a one-line window with hidden overflow: the new text comes in from yPercent 105 with back.out, a beat after the old one has already gone up, so they never overlap.

Values to change

NameFileDefaultWhat it changes
STEP_TIMEscript.js1.4Seconds the bar and the van take to go from one stage to the next.
WAITscript.js1.5Seconds each stage stays before the next one.
STOPSscript.js3How many stops away the van is when it leaves for your door.
STOP_TIMEscript.js0.9Seconds between one stop and the next.
SPRINGscript.js0.5How springy the stage circles are when they fill (lower = more bounce).
BUMPscript.js0.07How much the van bounces on the road, in em.
HOLDscript.js2.8Seconds Delivered stays before the demo starts over.

Try them in the Playground

When to use it

On the order page of an online shop, in the «where is my parcel» email opened in the browser or in a courier app: whoever waits for a parcel wants to know where it is at a glance, and the van arriving makes the wait less dull.

On phones

Everything is in em and the size depends on both the width and the height of the window, so the card fits the phone box whole. The stage labels wrap inside their column, and under 420 pixels the stops line shortens to «3 stops away».

With reduced motion

No movement or springs: the bar and the van jump to the stage, the lines and icons swap with a fade and the tick appears already drawn.

Pitfalls

  • The van moves in pixels measured on the bar, not in percent: GSAP does not read percentages back from the CSS, and on resize it is put back in place.
  • The rolling lines have a fixed height and hidden overflow, and the new text starts when the old one is already halfway: with both halfway at once they would read on top of each other.
  • The icons in the circles sit absolutely in the exact centre, with negative margins of half their size: the tick takes the house’s place without shifting.

Libraries

GSAP 3.15.0, Mona Sans (font variabile) 5.3.0, JetBrains Mono (font variabile) 5.3.0.

Compressed with gzip, the three demo files weigh 7.5 KB; the libraries: GSAP 28 KB.

Testing

Tested on 2 December 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 components