Skip to content
animorio
IT
Back to the library

Roadmap milestones

Hover, SVGGSAP, CSS onlyMediumCompressed weight: Demo 10 KBGSAP 28 KBFreeDownload the zip

The public roadmap of a made-up notes app, Waymark, on a light background: a thin SVG line with four quarters, from Q4 2026 to Q3 2027, the mark of today and five milestones as small diamonds, full when shipped, half when in progress, empty when planned. Pass over a milestone and the line fills up to it in the accent colour, the diamond turns a quarter and opens into a card with a title, a status and two lines, and the others step back. On a phone the line turns vertical and a tap does the same.

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>
<!--
  "Roadmap milestones" 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>The roadmap with milestones that open as you pass</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>
  <main class="palco" data-palco>
    <!-- the public roadmap of a made-up notes app, Waymark: pass over a milestone and the line fills up to it,
         the milestone opens into a card and the others step back -->
    <section class="mappa" data-mappa aria-label="Waymark public roadmap">
      <header class="testa">
        <span class="marchio" aria-hidden="true">
          <svg viewBox="0 0 24 24"><path d="M7 20V4.6"/><path d="M7 5h9.6l-2.3 3.6 2.3 3.6H7"/></svg>
        </span>
        <div class="testa__testo">
          <h1 class="testa__titolo">Roadmap</h1>
          <p class="testa__sotto">What we are building next for Waymark</p>
        </div>
        <span class="testa__agg">Updated Oct 27</span>
      </header>

      <div class="pista" data-pista>
        <svg class="pista__svg" data-svg aria-hidden="true">
          <g class="guide" data-guide></g>
          <path class="linea linea--fatta" data-fatta d=""/>
          <path class="linea linea--futura" data-futura d=""/>
          <path class="linea linea--piena" data-piena d=""/>
          <g class="tacche" data-tacche></g>
          <path class="oggi__tacca" data-oggi-tacca d=""/>
        </svg>
        <div class="trimestri" data-trimestri></div>
        <span class="oggi" data-oggi>Today</span>
        <div class="tappe" data-tappe></div>

        <p class="invito" data-invito>
          <svg viewBox="0 0 24 24" aria-hidden="true"><path d="M6 3.6 18.6 10.4l-5.6 1.4-2.9 5.3Z"/></svg>
          <span data-invito-testo>Point at a milestone to open it</span>
        </p>

        <article class="scheda" data-scheda aria-live="polite" aria-hidden="true">
          <span class="scheda__becco" data-becco aria-hidden="true"></span>
          <div class="scheda__su" data-entra>
            <span class="stato" data-stato>
              <svg class="stato__icona" data-stato-icona viewBox="0 0 16 16" aria-hidden="true"></svg>
              <span data-stato-testo></span>
            </span>
            <span class="scheda__quando" data-quando></span>
          </div>
          <h2 class="scheda__titolo" data-titolo data-entra></h2>
          <p class="scheda__testo" data-testo data-entra></p>
          <div class="scheda__giu" data-entra>
            <div class="nota" data-nota></div>
            <button class="voto" type="button" data-voto aria-pressed="false">
              <svg viewBox="0 0 16 16" aria-hidden="true"><path d="M4.2 9.8 8 6l3.8 3.8"/></svg>
              <span class="voto__n" data-voti>0</span>
            </button>
          </div>
        </article>
      </div>
    </section>

    <svg class="fantasma" data-fantasma viewBox="0 0 24 24" aria-hidden="true"><path d="M5 3.2 19.2 11l-6.3 1.6-3.3 5.9Z"/></svg>
  </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.

21 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 “Roadmap milestones” 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 background sits the roadmap card of Waymark, a made-up notes app: the black mark with the little flag, «Roadmap», «What we are building next for Waymark» and «Updated Oct 27». Below, a thin line runs from October 2026 to September 2027, split into four quarters by ticks and light rules: up to today it is a solid black stroke, with the black «Today» tag above its mark, after that it is dashed. On the line five milestones are small diamonds: full for Shared spaces, already shipped, half for Offline mode, in progress, empty for Public API, Calendar sync and AI summaries, planned; under each one the name and the status in grey. Pass over a milestone and the line fills with indigo blue up to it, and every diamond the line passes takes the colour and makes a small hop; the milestone’s diamond turns a quarter and grows, while a thin echo of its shape spreads and fades. From the diamond a card with a beak opens: the status in a pill (Shipped with a tick, In progress with a ring, Planned with a calendar), the date, the title, two lines and at the bottom a note and the vote button. In the in-progress card a bar fills to 64 percent while the figure counts. The other milestones step back, the names under the card disappear, the milestone’s quarter turns black and heavier. Moving to the next milestone the card closes in a blink and opens again from the new diamond; leaving, the line empties and the card goes back into the diamond. The vote goes up by one with a rolling figure and a hopping arrow. A drawn pointer goes from one milestone to the next and votes for Offline mode; on a phone the line is vertical, with quarters and Today on the left and the card beside the milestone, and it works with a tap and the keyboard arrows.

How it works

The line in pixels

The track is an SVG whose viewBox is as big as itself, rebuilt on every resize: the line, the quarter ticks and the mark of today are in real pixels and stay thin. Each milestone sits on the line as a fraction of the year, from October 2026 to September 2027, computed from its date; before OGGI the line is solid, after it dashed.

The line that fills

On top there is the same line in the accent colour, with a dash as long as the line: the stroke-dashoffset says how far it is full. GSAP animates the fraction up to the milestone with power3.out and on every frame checks which diamonds it has just passed: those take the colour and hop with back.out.

The milestone that opens

The diamond turns 90 degrees and grows with back.out, an echo of its shape spreads and fades; the card starts from its beak (the transform origin is the beak’s point), from 0.42 to 1 with a barely there bounce, and its content comes in staggered. If another card is open, it first closes in 0.12 seconds.

The others step back

The other milestones drop to ATTENUA. The names the card would cover disappear completely: the card is measured from its left and top and its unscaled size, because halfway through opening it is still small. The milestone’s quarter turns black and its weight goes from 520 to 640 on the variable font’s axis.

Vertical on a phone

Below VERTICALE pixels of width the same geometry turns: the line runs down on the left, quarters and Today sit on its left, the names on its right, and the card opens beside the diamond, kept inside the track. A tap on a milestone does what passing over does, tapping outside closes it.

Values to change

NameFileDefaultWhat it changes
RIEMPIscript.js0.62How long the line takes to fill up to the milestone, in seconds.
APRIscript.js0.5How long the milestone takes to open into its card, in seconds.
ATTENUAscript.js0.3How visible the other milestones stay while one is open: 0 off, 1 as before.
OGGIscript.js"2026-10-27"Today’s date on the line, as YYYY-MM-DD: before it the line is solid, after it dashed.
SOSTAscript.js1.5How many seconds the autopilot rests on each milestone.
VERTICALEscript.js520Below this card width, in pixels, the line turns vertical.

Try them in the Playground

When to use it

For the roadmap page of a product or an app, a public changelog, a project plan shown to clients or the stages of a fundraiser: everything reads at a glance, and the details of each milestone arrive only when needed.

On phones

On a phone the line turns vertical inside the box: quarters and Today on the left, names on the right, and the card opens beside the tapped milestone, always inside the track. A tap does what the mouse’s pass does; tapping outside closes the card.

With reduced motion

No turns, bounces or echoes: the line is already full up to the milestone, the card fades in in place and fades to the next one, the bar and the vote change without counting or rolling.

Pitfalls

  • The open card covered the names of nearby milestones, which peeked out at its edges even when dimmed: now covered names disappear completely, measuring the card without its scale, which is still small halfway through opening.
  • With an empty line, the round cap of the accent stroke left a dot at the start of the line: below a tiny fraction the full line hides.
  • In the narrow phone card the note slipped under the vote button: the note has min-width 0 and an ellipsis.
  • Two close milestones in the same quarter had touching names: the dates are chosen so that at least twenty pixels stay between names at a 700 pixel width.

Libraries

GSAP 3.15.0, Mona Sans (font variabile) 5.3.0.

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

Testing

Tested on 27 October 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