Skip to content
animorio
IT
Back to the library

Live setlist

Hover, TransitionsGSAP, CSS onlyMediumCompressed weight: Demo 6.1 KBGSAP 28 KBFreeDownload the zip

A concert’s setlist followed live: the song being played sits in the violet strip with the level bars moving and a line advancing, while the set time counts. With every song the list slides on a spring, the one just finished gets its tick and the next lights up. The encore is on the list but blurred: it is uncovered only when the band is back on stage.

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>
<!--
  "Live setlist" 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>Live setlist</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 setlist of a concert, live: the song being played is lit with its time running, the ones already
         played are ticked off, the list follows, and the encore stays covered until the band comes back -->
    <section class="sl" data-sl aria-labelledby="sl-title">
      <header class="sl__head">
        <span class="sl__name"><b id="sl-title">Northern Static</b><span>Halden Hall, tonight</span></span>
        <span class="sl__clock"><b data-clock>0:00</b><span>set time</span></span>
      </header>

      <div class="sl__now" aria-live="polite">
        <span class="sl__eq" data-eq aria-hidden="true"><i></i><i></i><i></i><i></i></span>
        <span class="sl__nowtext"><em><span data-kicker>Now playing</span></em><span class="sl__nowroll"><b data-now>Glass Hours</b></span></span>
        <i class="sl__bar" data-bar aria-hidden="true"></i>
      </div>

      <div class="sl__view">
        <ol class="sl__list" data-list>
          <li class="sl__song" data-song><span class="sl__mark" aria-hidden="true"><svg viewBox="0 0 16 16"><path pathLength="1" d="m3.500 8.300 3 3 6-6.600"></path></svg></span><b>Glass Hours</b><em>4:12</em></li>
          <li class="sl__song" data-song><span class="sl__mark" aria-hidden="true"><svg viewBox="0 0 16 16"><path pathLength="1" d="m3.500 8.300 3 3 6-6.600"></path></svg></span><b>Paper Satellites</b><em>3:48</em></li>
          <li class="sl__song" data-song><span class="sl__mark" aria-hidden="true"><svg viewBox="0 0 16 16"><path pathLength="1" d="m3.500 8.300 3 3 6-6.600"></path></svg></span><b>Low Tide Radio</b><em>5:03</em></li>
          <li class="sl__song" data-song><span class="sl__mark" aria-hidden="true"><svg viewBox="0 0 16 16"><path pathLength="1" d="m3.500 8.300 3 3 6-6.600"></path></svg></span><b>Marigold</b><em>3:31</em></li>
          <li class="sl__song" data-song><span class="sl__mark" aria-hidden="true"><svg viewBox="0 0 16 16"><path pathLength="1" d="m3.500 8.300 3 3 6-6.600"></path></svg></span><b>Slow Lightning</b><em>4:40</em></li>
          <li class="sl__split" data-split><span>Encore</span></li>
          <li class="sl__song is-secret" data-song data-encore><span class="sl__mark" aria-hidden="true"><svg viewBox="0 0 16 16"><path pathLength="1" d="m3.500 8.300 3 3 6-6.600"></path></svg></span><b>Harbour Lights</b><em>4:55</em></li>
          <li class="sl__song is-secret" data-song data-encore><span class="sl__mark" aria-hidden="true"><svg viewBox="0 0 16 16"><path pathLength="1" d="m3.500 8.300 3 3 6-6.600"></path></svg></span><b>Everything Hums</b><em>6:02</em></li>
        </ol>
      </div>

      <button class="sl__go" type="button" data-go><span class="sl__gotext"><span data-golabel>Next song</span></span></button>
    </section>

    <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.

35 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 “Live setlist” 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 cream ground, a white card: “Northern Static”, “Halden Hall, tonight” and on the right the set time counting. Below, a violet strip: four white bars going up and down, “Now playing” and the song’s title, “Glass Hours”, with a pale line advancing along the bottom edge. Then the list, four rows in view: title and length, the one being played in violet and bold. When the song ends, the title in the strip rolls to the next, the line starts again, the list slides up on a spring, the finished song turns grey and a violet tick draws next to it. After “Slow Lightning” there is an “Encore” row between two rules and two blurred titles, with no length: at encore time the row turns violet, the titles come into focus and the strip says “Encore”. The button at the bottom, “Next song”, moves on by hand, and becomes “Start the encore” and then “End the set”. At the end the strip turns black, “Set finished, Good night, Halden”, the bars leave and every song is ticked.

How it works

The state is the song

One number, the song being played, and a flag for the end. A single function works out the rows’ classes (done, now, covered), the title in the strip, the button’s words and where the list must sit.

The list that follows

The list is moved in y by minus one row’s height times the song’s place minus one, kept within its limits: so the one being played stays second from the top.

The time

The line in the strip is a linear tween SONG seconds long; on every frame the set time advances by the song’s real length times how far it has gone, and at the end the next one starts.

The bars

Four rectangles that every BEAT seconds go to a new height, taken from a seeded sequence: the loop is always the same, and at the end of the concert they disappear.

The encore

The two encore rows have a class that blurs the title and hides the length; the class goes away when the set gets there.

Values to change

NameFileDefaultWhat it changes
ACCENTscript.js#5b3df5The colour of the song being played, of the ticks and of the encore.
SONGscript.js1.7How many seconds a song lasts in the demo: live it comes from the stage.
SLIDEscript.js0.8How long the list takes to slide from one song to the next.
BEATscript.js0.32How often, in seconds, the level bars change.
SPRINGscript.js1How much the list bounces as it slides: 0.3 = a little, 2 = a lot.
LOOPscript.jstrueLeft alone, the concert goes on by itself and the demo’s pointer skips a song.

Try them in the Playground

When to use it

In the app or page of a concert, a festival or a live music venue, for those in the room and those following from home; and in the panel of whoever is at the desk, where “Next song” moves the setlist on for everyone.

On phones

The same card, as wide as the screen minus the margins: four 38-pixel rows in view, long titles cut with an ellipsis, and the list putting itself back in the right place if the screen changes width.

With reduced motion

Nothing runs by itself: the bars are still, the line does not run and the concert moves on only with the button. On every touch the list is already in the right place, the titles change without rolling and the set time jumps to the end of the song. The demo does not move by itself.

Pitfalls

  • Band, venue and songs are made up and nothing is heard: live, the song being played comes from whoever is at the desk or from music recognition, and would be shown here with the same function.
  • The demo runs fast: SONG makes each song last less than two seconds, while the set time counts the real lengths.
  • The encore is not fully hidden: the rows are there, blurred, so the list does not change length when it is uncovered.
  • The level bars are rectangles changing height, not pulsing dots; when the concert is over they disappear, because four short still bars would read as dots.
  • A played song is not told by grey alone: it has its tick.
  • The list’s position is in pixels: it is worked out again on resize.

Libraries

GSAP 3.15.0, Mona Sans (font variabile) 5.3.0.

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

Testing

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