Skip to content
animorio
IT
Back to the library

Festival lineup

Text, HoverGSAP, CSS onlyMediumCompressed weight: Demo 5.9 KBGSAP 28 KBFreeDownload the zip

A festival lineup on a dark card: the three days in a bar with an acid green pill, the three acts that close the nights set large and the other six below. Choosing a day makes its names gain weight and width on the typeface’s axes and the closing act takes colour, while the others thin out and fade; pointing at a name makes the bottom line give its stage and time.

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>
<!--
  "Festival lineup" 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>Festival lineup</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">
    <!-- a festival lineup with its three days to choose: the names of the chosen day gain weight and
         colour while the others thin out, and the stage and time of the act you point at -->
    <article class="lu" data-lu aria-label="Tidewater festival lineup">
      <header class="lu__head"><strong>Tidewater</strong><span>12 to 14 June · Lisbon shore</span></header>
      <div class="lu__days" role="tablist" aria-label="Day" data-days>
        <i class="lu__pill" data-pill aria-hidden="true"></i>
        <button type="button" role="tab" data-day="-1" aria-selected="true">All days</button>
        <button type="button" role="tab" data-day="0" aria-selected="false" tabindex="-1">Fri</button>
        <button type="button" role="tab" data-day="1" aria-selected="false" tabindex="-1">Sat</button>
        <button type="button" role="tab" data-day="2" aria-selected="false" tabindex="-1">Sun</button>
      </div>
      <ul class="lu__top">
        <li><button type="button" data-act="0"><span data-name>Glasshour</span><em>Fri 22:00</em></button></li>
        <li><button type="button" data-act="3"><span data-name>Uma Kestrel</span><em>Sat 22:15</em></button></li>
        <li><button type="button" data-act="6"><span data-name>Sable Drive</span><em>Sun 21:30</em></button></li>
      </ul>
      <ul class="lu__rest">
        <li><button type="button" data-act="1"><span data-name>Tin Lantern Club</span></button></li>
        <li><button type="button" data-act="4"><span data-name>Hollow Mango</span></button></li>
        <li><button type="button" data-act="2"><span data-name>Brine</span></button></li>
        <li><button type="button" data-act="5"><span data-name>Fennel Radio</span></button></li>
        <li><button type="button" data-act="7"><span data-name>Ostra Novak</span></button></li>
        <li><button type="button" data-act="8"><span data-name>Kilo Verde</span></button></li>
      </ul>
      <footer class="lu__foot"><span data-outnote>Nine acts over three days</span></footer>
    </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.

30 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 “Festival lineup” 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 rounded dark card: at the top “Tidewater” in acid green and “12 to 14 June · Lisbon shore”; below, the “All days / Fri / Sat / Sun” bar with its green pill. Then three large names, one per line, each with its day and time beside it: “Glasshour”, “Uma Kestrel”, “Sable Drive”; below a thin rule, six more names in two columns. At the bottom a dark band with “Nine acts over three days”. On entering the names arrive thin and narrow and take their weight one after the other. Hovering “Sat” (or tapping it) springs the pill there, Saturday’s three names grow heavier and wider with a small bounce, the closing act turns green along with its time, and the other days’ names thin out, narrow and fade; the bottom band rolls into “Saturday · Uma Kestrel closes at 22:15”. Pointing at any name makes it extra bold, wide and green, and the band says “Hollow Mango · Dune stage · Sat 20:00”. “All days” takes every name back to its weight.

How it works

Nine names, one list

Every name has its day, stage, time and whether it closes the night. From that comes where it has to get to: weight, width, opacity and how much green, depending on the chosen day and the name pointed at.

The typeface’s axes, animated

Mona Sans is variable in weight and width. GSAP animates four numbers per name and writes them into font-variation-settings on every frame: whoever joins the day arrives with a bounce, whoever leaves fades out smoothly.

Nothing shifts

The names change width, so each sits on its own line or in its own grid cell, left-aligned: only the right edge moves and no name wraps or pushes the others.

The line that explains

The bottom band has three possible texts, in order: the name pointed at with its stage and time, the day with its closing act, or the count of them all. It changes by rolling in the direction of the choice.

Values to change

NameFileDefaultWhat it changes
ACCENTscript.js#c8f542The colour of the chosen day and of the closing act.
HEAVYscript.js820The font weight of the chosen day’s names, from 200 to 900.
THINscript.js280The weight of the other days’ names.
GLIDEscript.js0.7How many seconds the names take to change weight.
HOLDscript.js2How many seconds the demo’s pointer stays on each day.
LOOPscript.jstrueLeft alone, the demo’s pointer goes over the days and one name.

Try them in the Playground

When to use it

On the page of a festival, a concert series or a venue’s season, where visitors want to know who plays on the day of their ticket; the same filtered lineup carries a conference’s speakers by day, a film season’s titles, a fair’s exhibitors or a week of classes.

On phones

The card is at most 344 pixels wide and about 345 tall, and narrows with the screen: below 350 pixels the names get a little smaller, on low screens the rows shorten. With a finger the days are tapped, and a tapped name stays pointed at until tapped again.

With reduced motion

The names change weight, width and colour at once, with no animation or bounce; the pill is already in place and the bottom band changes without rolling. On entering everything is already at its weight. The demo’s pointer does not start.

Pitfalls

  • The day is not told by weight and colour alone: the days are tabs (a tablist) changed with the arrow keys, every name is a button with its stage, day and time in aria-label, and an aria-live region reads who plays on the chosen day.
  • Animating weight changes the width of words: in a wrapping paragraph the lines would jump about. Here every name has its own line or cell, and fits its cell even at maximum weight.
  • A hand-written font-variation-settings overrides font-weight and font-stretch: both axes have to be written every time, otherwise the missing one falls back to its default.
  • Festival, names, stages and times are invented.

Libraries

GSAP 3.15.0, Mona Sans (font variabile) 5.3.0.

Compressed with gzip, the three demo files weigh 5.9 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