Skip to content
animorio
IT
Back to the library

RSVP tracker

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

The replies to an invitation seen by the host, on a white card: a ring split between coming, maybe and no, the three numbers beside it, the row of who is coming and the row of who has not answered yet. “Send a reminder” sends the nudge: one at a time the waiting guests answer, a yes flies to the head of the going row while the others make room, a maybe ends up in its number, and ring and counts update.

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>
<!--
  "RSVP tracker" 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>RSVP tracker</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="stage">
    <!-- the replies to an invitation, seen by the host: the ring of who is coming, maybe and no, and
         the guests still waiting who answer after the reminder and fly to the right row -->
    <article class="rv" data-rv aria-label="Replies to Rooftop dinner">
      <header class="rv__head"><strong>Rooftop dinner</strong><span>Sat 14 June · 18 invited</span></header>
      <div class="rv__top">
        <div class="rv__ring"><svg viewBox="0 0 88 88" aria-hidden="true"><circle class="rv__track" cx="44" cy="44" r="36"></circle><circle class="rv__seg rv__seg--no" data-seg="no" cx="44" cy="44" r="36" pathLength="18" transform="rotate(-90 44 44)"></circle><circle class="rv__seg rv__seg--maybe" data-seg="maybe" cx="44" cy="44" r="36" pathLength="18" transform="rotate(-90 44 44)"></circle><circle class="rv__seg rv__seg--yes" data-seg="yes" cx="44" cy="44" r="36" pathLength="18" transform="rotate(-90 44 44)"></circle></svg><div class="rv__mid"><strong data-outbig>10</strong><span>going</span></div></div>
        <dl class="rv__stats">
          <div><dt>Going</dt><dd class="is-yes"><span data-outn="yes">10</span></dd></div>
          <div><dt>Maybe</dt><dd class="is-maybe" data-maybe><span data-outn="maybe">2</span></dd></div>
          <div><dt>Can’t come</dt><dd><span data-outn="no">2</span></dd></div>
        </dl>
      </div>
      <div class="rv__row"><span class="rv__lab">Going</span><div class="rv__chips" data-going></div></div>
      <div class="rv__row"><span class="rv__lab"><span data-outwait>Waiting on 4</span></span><div class="rv__chips" data-waiting></div></div>
      <button type="button" class="rv__send" data-send><span class="rv__face" data-face="send">Send a reminder</span><span class="rv__face" data-face="sent"><svg viewBox="0 0 16 16" aria-hidden="true"><path data-tick pathLength="1" d="m3.600 8.400 2.900 2.900 5.900-6.600"></path></svg>Reminder sent</span></button>
    </article>
    <span class="live" aria-live="polite" data-live></span>

    <svg class="ghost" data-ghost viewBox="0 0 24 24" aria-hidden="true"><path d="M5 3.200 19.200 11l-6.300 1.600-3.300 5.900Z"></path></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.

25 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 “RSVP tracker” 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 light warm ground, a rounded white card: “Rooftop dinner” and “Sat 14 June · 18 invited”. On the left a ring with three arcs, green for coming, amber for maybe, grey for those who cannot, and the rest empty for those who have not replied; in the middle “10 going”. Beside it three rows with numbers: “Going 10”, “Maybe 2”, “Can’t come 2”. Below, the “Going” row with initials in circles and a black “+4” circle, and the “Waiting on 4” row with four grey circles. At the bottom the dark “Send a reminder” button. On entering the ring grows from zero and the circles appear one after the other. On tap the button turns light and says “Reminder sent” with a tick. Shortly after, the first guest says yes: her circle leaves the waiting row, turns green and flies to the head of the going row, the others slide one place along and the last one goes into the “+5”; the green arc lengthens, the number in the middle jumps to 11. Then a maybe arrives: the circle flies towards the maybe number, shrinks and disappears, and the number goes to 3. Then another yes. In the end “Waiting on 1” is left.

How it works

The ring counts the guests

The three arcs are three circles with pathLength equal to the number of guests: the dash length is the count, and every arc starts where the one before ends. The three counts are animated numbers, so the ring grows smoothly with every reply.

Before, after, difference

To move a circle from one row to the other, every circle is measured, the DOM is changed (the circle goes into the going row, the last one leaves) and they are measured again: each starts from the difference and returns to zero on a spring. This is the FLIP technique, and it also slides the ones making room.

A maybe goes to its number

Whoever answers maybe has no row: the circle flies to the maybe figure, shrinks and fades, then the figure rolls and gives a small jump. Those still waiting close the gap.

The replies, one at a time

The reminder starts a timeline with one reply every GAP seconds. In a real product each reply comes from the server and calls the same function.

Values to change

NameFileDefaultWhat it changes
YESscript.js#159a6cThe colour of those coming.
MAYBEscript.js#e59a1aThe colour of the maybes.
GAPscript.js1.2How many seconds pass between one reply and the next after the reminder.
SPRINGscript.js1How much the guests bounce when they change row.
LOOPscript.jstrueLeft alone, the demo’s pointer sends the reminder and then starts again.

Try them in the Playground

When to use it

On the host’s page for a dinner, a party, a wedding or a company event, where you check who has answered and nudge those who have not; the same card carries course sign-ups, missing signatures on a document, a poll’s votes or who in a team has completed a form.

On phones

The card is at most 340 pixels wide and about 345 tall; the ring is sized on the screen’s height too. The rows hold seven 30-pixel circles: whoever joins the going row pushes the last one into the “+N”, so the row never spills sideways.

With reduced motion

No flights and no springs: on every reply the circle is already in its row, the ring and the numbers are the new ones at once. The button fades to “Reminder sent” with the tick already drawn. The demo’s pointer does not start.

Pitfalls

  • The replies are not told by the ring’s colour alone: there are the three numbers with their labels, and an aria-live region announces every reply (“Lena is coming. 11 going”).
  • In the FLIP the circles are measured before touching the DOM and after: animating before re-measuring makes the ones making room jump instead of slide.
  • A solid coloured circle in front of a label would be a status dot: here the circles are avatars with initials, and the three states have a coloured number, not a dot.
  • This is the host’s guest counter, not an invitation card. Event, names and replies are invented.

Libraries

GSAP 3.15.0, Mona Sans (font variabile) 5.3.0.

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

Testing

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