
Speeding marquee
Scroll, Text, Hover
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.
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>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
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 siteEvery 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.
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.
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 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.
| Name | File | Default | What it changes |
|---|---|---|---|
ACCENT | script.js | #c8f542 | The colour of the chosen day and of the closing act. |
HEAVY | script.js | 820 | The font weight of the chosen day’s names, from 200 to 900. |
THIN | script.js | 280 | The weight of the other days’ names. |
GLIDE | script.js | 0.7 | How many seconds the names take to change weight. |
HOLD | script.js | 2 | How many seconds the demo’s pointer stays on each day. |
LOOP | script.js | true | Left alone, the demo’s pointer goes over the days and one name. |
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.
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.
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.
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.
Tested on 29 November 2026
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.
You asked for
We made it for you: it’s in the library, with the preview, the Playground and the code to copy.
An animation you can’t find, or a site to take apart in the journal: tell us which. We pick the next ones from here.
With your account’s email and password.
or with your email
You’re signed in as .
With your account, you can download the zip of every animation and every pack, for free.