Skip to content
animorio
IT
Back to the library

Scrolling roadmap

Scroll, SVGGSAPMediumCompressed weight: Demo 8.4 KBGSAP + ScrollTrigger 45 KBLenis 5.3 KBFreeDownload the zip

Scroll inside the preview

The public roadmap of a made-up app, Fieldkit, in the clean style of product interface pieces: three lanes, Now, Next and Later, on a stage that stays put. As you scroll a thin line runs through the lanes with the month riding its tip, and when it reaches a card the card moves on: the label rolls from Planned to In progress to Shipped, the bar fills and, once it ships, the tick draws itself, the card lifts a few pixels and settles with an elastic, and the count at the top goes up. Scrolling back undoes it all.

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>
<!--
  "Scrolling roadmap" 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>Fieldkit, the public roadmap</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 public roadmap of a made-up field app, Fieldkit. A sticky stage with three lanes, Now, Next and Later: as you
       scroll a thin line runs through the lanes with a month riding its tip, the feature cards come in lane by lane and
       change state as the line reaches them, the label rolling from Planned to In progress to Shipped, the bar filling
       and the tick drawing itself. The shipped count in the header rolls with them. -->
  <section class="corsa" data-corsa>
    <div class="palco" data-palco>
      <header class="testa">
        <p class="occhiello">
          <svg viewBox="0 0 16 16" aria-hidden="true"><path d="M2.5 12.5 6 4l3.5 5.5L11.5 6l2 6.5"/></svg>
          <span data-prodotto>Fieldkit</span> roadmap
        </p>
        <h2 class="titolo">What we’re building</h2>
        <p class="conto" aria-live="polite">
          <span class="rullo" data-conto><span>0</span></span> of <span data-totale>6</span> shipped this season
        </p>
      </header>

      <div class="tavola" data-tavola>
        <svg class="linea" data-linea aria-hidden="true">
          <path class="linea__base" data-base pathLength="1"/>
          <path class="linea__piena" data-piena pathLength="1"/>
          <g data-tacche></g>
        </svg>
        <div class="mese" data-mese aria-hidden="true"><span class="rullo" data-mese-rullo></span></div>
        <div class="corsie" data-corsie></div>
      </div>

      <p class="chiusa" data-chiusa>Updated every Friday. Vote for what comes next in the app.</p>
    </div>
  </section>
  <footer class="piede">Fieldkit is a made-up product. Dates 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.

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 “Scrolling roadmap” 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 public roadmap of Fieldkit, a made-up app for people who work in the field: at the top a white pill with a small green zigzag and the words Fieldkit roadmap, the headline What we’re building in wide Mona Sans and a line counting how many features shipped this season. Below, three lanes, Now, Next and Later, with two white cards each: the feature name, a line of explanation, the status label, a thin bar and the percentage. The cards come in lane by lane out of a slight blur. The stage stays put and as you scroll a thin green line runs above the lanes (on a phone down the left edge), with a small dark month pill riding its tip and rolling to the next month. When the line reaches a card, the card moves on: in the Now lane the two features in progress fill up and turn to Shipped, the label rolling and turning green, the tick drawing itself in a green circle, the card lifting a few pixels and settling with an elastic and the count at the top going up; in the Next lane two features go from Planned to In progress and their bar starts to fill; in Later just one starts. At the end the line about the Friday update comes in.

How it works

The line in pixels

The script measures the board and the three lanes and gives the SVG the same viewBox: on desktop the line runs horizontally from the start of the first lane to the end of the last, on a phone vertically down the left edge. For each lane it marks where the lane starts along the line, so the cards move when the tip really reaches them, in both layouts.

The scroll as a number

ScrollTrigger gives a value from 0 to 1 over the sticky stage; a short tween chases it with a small lag (SCRUB), so the line runs smoothly. From that value come the filled part of the line (stroke-dashoffset on pathLength 1), the month on the tip, the bars and the card states.

States as thresholds

Each card has its starting state and the thresholds where it changes, written as points along its lane. When the scroll passes a threshold a real timed animation plays, not tied to the scroll: the label rolls with a spring, the pill widens to the new word, the tick draws itself and the card lifts and settles. Scrolling back, the same thresholds play it all in reverse.

The rollers

The label, the month and the count are rollers: the words sit one above the other in a one-line window, and GSAP moves the column by whole lines with back.out. The label pill takes the measured width of the word, so Shipped leaves no gaps.

Values to change

NameFileDefaultWhat it changes
RIDEscript.js1How much scroll the whole roadmap takes: 2 is twice as long.
SCRUBscript.js0.5How far the line lags behind the scroll, in seconds.
PRODUCTscript.js'Fieldkit'The product name in the pill above the headline.
SHIP_LIFTscript.js4How many pixels a card lifts when it ships, before settling.
ROLLscript.js0.6How long a label takes to roll to the next state, in seconds.
SPRINGscript.js1.7How much the labels and the tick overshoot as they land (0 none).
--accentostyle.css#0f7a55The green of the line, the shipped features and the tick.

Try them in the Playground

When to use it

For the public roadmap of a software product or an app, a «what we’re working on» page or the what’s new section of a landing page: whoever scrolls sees the work move forward, instead of reading three still lists.

On phones

The same animation with adapted sizes: the lanes become rows with two cards side by side, the line runs down the left edge, the explanation lines and percentages are hidden and everything fits in the stage, sized on height too.

With reduced motion

No motion: the roadmap is already at its final point, with the shipped features, the ones in progress and the bars still, the count and the closing line; the cards fade in.

Pitfalls

  • The states are not tied to the scroll frame by frame: a spring rolling along with the wheel would look broken. The scroll only decides when, the animation runs on its own and plays back in reverse.
  • The pill width is measured on the words with width: max-content: with block spans every word would be as wide as the longest.
  • The thresholds sit along the lane and not on the whole scroll: so on a phone, where the line is vertical and the lanes have different heights, the cards still change when the tip reaches them.

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

Testing

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