Skip to content
animorio
IT
Back to the library

Door guest list

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

The list held at the door of an event: tapping a guest lets them in, the tick draws itself, the large count of who is inside goes up (by two if they bring someone) and the line of the room grows. Tapping again checks them out.

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>
<!--
  "Door guest list" 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>Guest list at the door of an event with the check-in that ticks and the count of who is in</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 guest list held at the door of an event: tapping a guest checks them in, the tick draws itself, the
         count of who is inside goes up (by two if they bring someone) and the line of the room fills -->
    <section class="gl" data-gl aria-label="Guest list">
      <header class="gl__head">
        <span class="gl__event">Aurora Kite, album launch<i>Doors</i></span>
        <span class="gl__in"><b data-in></b><i>in</i></span>
      </header>
      <div class="gl__line" aria-hidden="true"><span data-line></span></div>
      <p class="gl__left"><span data-left></span></p>
      <div class="gl__rows" data-rows></div>
      <p class="sr" data-live aria-live="polite"></p>
    </section>

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

15 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 “Door guest list” 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 black, a dark card: at the top the event’s name and, on the right, the large number of who is inside; below, a lilac line saying how full the room is and a line with how many are still to come; then five guests, each with initials in a disc, the name, an optional tag (Press, +1, Artist) and an empty circle. On opening the count and the line rise to who is already inside. Tapping a row the circle fills with lilac and the tick draws itself, the initials and the name step to the right and back, the disc takes colour, the large number counts (passing through the number in between if there is a +1) and hops slightly, the line grows and the line below rolls to the new count. Tapping again takes it all back.

How it works

One count

Who is inside is the sum of who was already there plus, for each ticked guest, one plus their companions. The large number and the line come from the same animated value, with power2.out: 0.35 seconds for one, 0.55 for two.

The row that comes in

The initials and the name shift by seven pixels and come back with elastic.out, staggered by 0.04 seconds; the tick draws itself in 0.32 seconds and its circle bounces from 0.7.

Real rows

Each guest is a button with aria-pressed, and each change is said in a line for screen readers with name and count. The line of those missing rolls only if its text changes.

Values to change

NameFileDefaultWhat it changes
INSIDEscript.js42How many people are already inside.
ROOMscript.js120How many the evening expects.
ACCENTscript.js#b9a2ffThe colour of those who are in.
PAUSEscript.js1.3Alone: how many seconds between one entry and the next.
HOLDscript.js2Alone: how many seconds the ticked list stays before starting over.
LOOPscript.jstrueLeft alone, a pointer lets three guests in.

Try them in the Playground

When to use it

In the app of someone running concerts, parties and launches, in a conference’s accreditation panel, in any list of people to let through one at a time (classes, visits, shifts).

On phones

The same card, as wide as the screen; in short windows the rows drop to 39 pixels. Long names are cut with an ellipsis, the tag and the circle stay whole.

With reduced motion

The tick appears, the count and the line go straight to their value and the line below changes without rolling; the rows do not move.

Pitfalls

  • The initials sit in a disc as a text avatar: they are not a coloured dot in front of the entry, and at rest they are grey.
  • The large number has no spring: people are counted, they do not bounce.
  • autoRound is off at the top of the script: with pathLength 1 GSAP would draw the ticks all at once.

Libraries

GSAP 3.15.0, Mona Sans (font variabile) 5.3.0.

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

Testing

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