
Long shadow letters
Text, Scroll, 3D
A karaoke screen made of type alone: the line to sing fills with light word by word in time with the song, each word gains weight while it is sung, the next line waits below and rises when its turn comes, with the count of the beats at the top.
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>
<!--
"Karaoke lyrics" 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>Karaoke lyrics with the words that fill in time and the next line that rises</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 karaoke screen: the line being sung fills word by word in time with the song, the next one waits below
and rises when its turn comes; the thin bar at the bottom is the song -->
<section class="kr" data-kr aria-label="Karaoke lyrics">
<header class="kr__head">
<p class="kr__song">Paper Lanterns<i>The Low Tides</i></p>
<p class="kr__next"><span data-count></span></p>
</header>
<div class="kr__lines" data-lines aria-live="off"></div>
<footer class="kr__foot">
<span class="kr__time" data-now>0:00</span>
<span class="kr__bar"><i data-bar></i></span>
<span class="kr__time" data-total></span>
</footer>
</section>
</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.
13 values to change
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 “Karaoke lyrics” from Animorio and fit it into my siteEach word has its number of syllables; from BPM comes the length of a syllable (half a beat) and the words are lined up on a single GSAP timeline, with the count before each line.
Underneath is the dim word, on top the same word bright, cut with clip-path: the cut’s percentage is a CSS variable animated linearly, like the karaoke ball.
The weight lives in font-variation-settings on a variable: it climbs to HEAVY in a tenth of a second at the word’s attack and returns to 300 at the end, without moving the words beside it.
| Name | File | Default | What it changes |
|---|---|---|---|
BPM | script.js | 96 | The song’s tempo: each syllable lasts half a beat. |
ACCENT | script.js | #ffd166 | The colour of the line under the sung word and of the bar. |
HEAVY | script.js | 620 | The weight the word takes while it is sung (300 at rest). |
LEAD | script.js | 2 | How many beats of waiting before each line, with the count-in. |
LOOP | script.js | true | When the song ends it starts again. |
On the site of a karaoke night, a venue, a party or a music app: as the opening of the event page or as the synced lyrics screen of a player.
The same screen: the type scales with the window’s width and height and a line wider than the screen is scaled down just enough to fit.
The words light up whole at their moment, without filling, hopping or gaining weight; the lines change at once.
GSAP 3.15.0, Mona Sans (font variabile) 5.3.0.
Compressed with gzip, the three demo files weigh 4.1 KB; the libraries: GSAP 28 KB.
Tested on 16 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.
Support Animorio
Animorio stays free thanks to the people who support it. If you like, buy us a coffee: it helps us make the next animations.
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.