Skip to content
animorio
IT
Back to the library

Renovation timeline

Images, ScrollGSAP, CSS onlyMediumCompressed weight: Demo 9.3 KBGSAP + ScrollTrigger 45 KBFreeDownload the zip

Scroll inside the preview

The project page of Ashgrove Builders, a made-up renovation company: as you scroll, a still stage shows a big real photo of the site changing phase after phase, Demolition, Floors, Plaster, Plumbing & wiring, Finished. Each new photo comes in behind a thin orange blade, with the picture inside sliding a little the other way; on the left the phase lights up on a timeline that fills, below the data bar rolls to the new week, and at the end the «Handed over in 9 weeks» card comes up. Minimal style, real CC0 photos.

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>
<!--
  "Renovation timeline" 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>Renovation timeline, phase by phase</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 project page of Ashgrove Builders, a made-up renovation company. Scrolling down, the stage stays still:
       a big real photo of the site changes phase after phase behind a clean blade, the phases light up one by one on
       a thin vertical timeline, the data bar under the photo rolls to the new week, and at the end a small card says
       the flat was handed over -->
  <header class="barra">
    <p class="marchio">
      <svg class="marchio__segno" viewBox="0 0 24 24" aria-hidden="true"><path d="M3.5 11.5 12 4.5l8.5 7" /><path d="M6.5 10v9.5h11V10" /><path d="M10.5 19.5v-5h3v5" /></svg>
      Ashgrove Builders
    </p>
    <nav class="barra__voci" aria-label="Main">
      <a href="#" aria-current="page">Projects</a>
      <a href="#">Process</a>
      <a href="#">Contact</a>
    </nav>
  </header>

  <main>
    <section class="apertura">
      <p class="piccolo">Project &middot; Hollis Street, flat and kitchen</p>
      <h1 class="titolo">Nine weeks, <em>one room at a time.</em></h1>
      <p class="piccolo piccolo--tenue">
        Scroll through the site
        <svg class="giu" viewBox="0 0 12 16" aria-hidden="true"><path d="M6 1v13M1.5 9.5 6 14l4.5-4.5" /></svg>
      </p>
    </section>

    <section class="cantiere" data-cantiere>
      <div class="palco">
        <div class="scena">
          <div class="fasi" data-fasi>
            <p class="etichetta">Site log</p>
            <div class="fasi__binario" data-binario>
              <i class="fasi__linea" aria-hidden="true"><i class="fasi__piena" data-piena></i></i>
              <i class="fasi__tacca" data-tacca aria-hidden="true"></i>
              <ol class="fasi__voci" data-voci>
                <li class="fase" data-fase><span class="fase__nome">Demolition</span><span class="fase__quando">Weeks 1 to 2</span></li>
                <li class="fase" data-fase><span class="fase__nome">Floors</span><span class="fase__quando">Weeks 2 to 3</span></li>
                <li class="fase" data-fase><span class="fase__nome">Plaster</span><span class="fase__quando">Weeks 4 to 5</span></li>
                <li class="fase" data-fase><span class="fase__nome">Plumbing &amp; wiring</span><span class="fase__quando">Weeks 6 to 7</span></li>
                <li class="fase" data-fase><span class="fase__nome">Finished</span><span class="fase__quando">Week 9</span></li>
              </ol>
            </div>
          </div>

          <div class="colonna">
            <figure class="foto" data-foto>
              <div class="foto__vetro" data-vetro>
                <div class="scatto" data-scatto><div class="scatto__dentro"><img src="demolizione.webp" alt="The old room stripped back: bare walls, lifted floor and rubble" width="960" height="640" decoding="async"></div></div>
                <div class="scatto" data-scatto><div class="scatto__dentro"><img src="pavimenti.webp" alt="A carpenter carries a plywood sheet across the new subfloor" width="1024" height="681" decoding="async"></div></div>
                <div class="scatto" data-scatto><div class="scatto__dentro"><img src="intonaco.webp" alt="New plasterboard walls with filled joints, before paint" width="1024" height="681" decoding="async"></div></div>
                <div class="scatto" data-scatto><div class="scatto__dentro"><img src="impianti.webp" alt="An electrician in a white hard hat fits a socket in the new wall" width="960" height="639" decoding="async"></div></div>
                <div class="scatto" data-scatto><div class="scatto__dentro"><img src="finita.webp" alt="The finished kitchen: white units, an island and grey stone floor" width="1024" height="683" decoding="async"></div></div>
                <i class="lama" data-lama aria-hidden="true"></i>
              </div>
              <figcaption class="cartellino" aria-hidden="true">
                <span class="cartellino__luogo">Hollis St.</span>
                <span class="rullo rullo--cartellino"><span class="striscia" data-striscia>
                  <span>Demolition</span><span>Floors</span><span>Plaster</span><span>Plumbing &amp; wiring</span><span>Finished</span>
                </span></span>
              </figcaption>

              <div class="consegna" data-consegna role="status">
                <svg class="consegna__segno" viewBox="0 0 24 24" aria-hidden="true"><circle cx="12" cy="12" r="10.25" /><path data-spunta d="M7.5 12.4l3 3 6-6.4" /></svg>
                <div class="consegna__testo">
                  <p class="consegna__titolo">Handed over in 9 weeks</p>
                  <p class="consegna__sotto">On budget &middot; 0 snags left</p>
                </div>
              </div>
            </figure>

            <div class="dati" data-dati aria-hidden="true">
              <div class="dato">
                <span class="dato__nome">Week</span>
                <span class="rullo"><span class="striscia" data-striscia><span>1</span><span>3</span><span>5</span><span>7</span><span>9</span></span></span>
              </div>
              <div class="dato">
                <span class="dato__nome">On site</span>
                <span class="rullo"><span class="striscia" data-striscia><span>4 trades</span><span>5 trades</span><span>6 trades</span><span>7 trades</span><span>2 trades</span></span></span>
              </div>
              <div class="dato dato--largo">
                <span class="dato__nome">This phase</span>
                <span class="rullo"><span class="striscia" data-striscia><span>3.4 t cleared</span><span>46 m&sup2; subfloor</span><span>212 m&sup2; boarded</span><span>31 points wired</span><span>Keys returned</span></span></span>
              </div>
              <div class="dato dato--fine">
                <span class="dato__nome">Done</span>
                <span class="rullo"><span class="striscia" data-striscia><span>12%</span><span>34%</span><span>58%</span><span>86%</span><span>100%</span></span></span>
                <i class="dato__barra"><i data-avanza></i></i>
              </div>
            </div>
            <p class="nascosto" data-leggi aria-live="polite"></p>
          </div>
        </div>
      </div>
    </section>

    <section class="apertura apertura--fine">
      <h2 class="titolo titolo--medio">Planning a renovation? <em>Walk us round.</em></h2>
      <a class="pulsante" href="#"><span>Book a site visit</span><svg viewBox="0 0 16 16" aria-hidden="true"><path d="M3 8h10M9 4l4 4-4 4" /></svg></a>
    </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="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.

68 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 “Renovation timeline” 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

At the top of the Ashgrove Builders page the title «Nine weeks, one room at a time.» invites you down. Then the stage stops: on the left the five phases of the job on a vertical timeline, in the middle the big photo of the site with a glass chip, below a bar with the week, the trades on site and the figure of the phase. As you scroll, each new phase arrives behind a blade: the old photo gets a little smaller and darker, the new one slides into place, the phase lights up and the numbers roll. At the last phase, the finished kitchen, the handover card comes up and its check draws itself. Clicking a phase scrolls the page there.

How it works

A still stage and some numbers

The section is 620vh tall and a 100vh sticky stage stays still inside it. A GSAP timeline tied to the scroll with scrub SCRUB moves numbers, not elements: the opening of each photo, the phase index (k, which can be 2.4), the drum index (d) and the final card. On every update a single function rewrites everything from those numbers, both ways.

The blade

Each new photo is cut by clip-path inset(0 X% 0 0) going from 100% to 0 on a power2.inOut curve, so the uncovered part grows from left to right. The blade runs along the edge, an orange line BLADE pixels wide with a soft shadow falling on the old photo; the picture inside starts SLIDE% off and comes back to zero with power3.out, so it slides against the blade and settles.

The photo that steps aside

While the blade covers it, the photo before shrinks to PUSH, loses light (DIM) and colour and moves 4% the way the blade goes. Each photo, while its phase lasts, also makes a slow DRIFT zoom: the stage is never quite still.

Timeline and drums

The phase nearest to index k goes to full ink, the others stay at 30%, and it takes weight and width with the wght and wdth axes of Mona Sans. The line fills to the middle of the phase with scaleY and a short tick rides on it. The values of the bar and of the chip are vertical strips that go up one row per phase on the ROLL curve, and each drum takes the measured width of the value it shows.

The handover

At the last phase the card comes up from the corner on a back.out(1.7) spring and settles; the check is a line with a stroke-dasharray as long as its path, drawn once the card has arrived. A click on a phase works out the point of the page from its place in the timeline and scrolls there.

Values to change

NameFileDefaultWhat it changes
SLIDEscript.js9How far the photo inside slides against the blade, in % of its width.
PUSHscript.js0.94How small the old photo gets as the new one covers it.
DIMscript.js0.3How much the old photo darkens under the blade.
DRIFTscript.js0.05The slow zoom of each photo while its phase lasts.
ROLLscript.js'back.out(1.4)'The curve of the data rolling to the next phase.
BLADEscript.js2The width of the blade, in pixels.
SCRUBscript.js0.8How many seconds the page takes to catch up with the scroll.

Try them in the Playground

When to use it

For the project page of a builder or renovation company, an architect, an interior designer or a craftsman: when the site photos tell the job from start to handover. The photos are the five img in the HTML (the webp files in the folder), the phases are in the list and the figures in the strips of the bar.

On phones

The same animations at adapted sizes: the phases become a small row above the photo that slides sideways to keep the active phase on the left, with the horizontal line filling under it; the photo and the data bar are measured on width and height.

With reduced motion

No movement: no blade, the photos cross-fade from one to the next, the values of the bar change with a fade and the card appears without rising.

Pitfalls

  • clip-path also cuts the shadow: the shadow of the blade is a pseudo-element of the blade, above the photos, not a shadow of the new photo.
  • A drum as wide as its longest value leaves a gap after «4 trades»: the width of every value is measured and the drum takes the width of the one it shows, interpolated while it rolls.
  • On the phone the row of phases is wider than the box: it slides sideways (translateX) and a mask fades the right edge, so nothing leaves the box.

Libraries

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

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

Testing

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