
Speeding marquee
Scroll, Text, Hover
The title of a shared document in a made-up writing app, in the clean style of today’s products: three people edit it live, each with a thin caret and a name tag. One drags across a word and rewrites it, one slants a word into italics from the small toolbar, the third adds the ending; typed letters arrive narrow and open up on the width axis. Over the page the pointer becomes the fourth cursor, You.
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>
<!--
"Three-cursor headline" 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>Fernpage, a title written together</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>
<!-- the title of a shared document in a made-up writing app, edited live by three people. Each one is a thin caret
with a name tag: one selects a word and changes it, one slants a word into italics from a small toolbar, one
adds the ending. The avatar of whoever is typing lights up at the top. Move the pointer over the page and you
become the fourth cursor, tagged You. -->
<main class="palco" data-palco>
<header class="barra">
<span class="doc">
<svg viewBox="0 0 20 20" aria-hidden="true"><path d="M5 2.5h7l3.5 3.5v11.5h-10.5z" /><path d="M12 2.5v3.5h3.5" /><path d="M7.5 10h5M7.5 13h3.5" /></svg>
<span data-doc>Launch brief</span>
</span>
<span class="presenti" aria-label="People in this document">
<span class="avatar" data-avatar="0"><span data-iniziale></span></span>
<span class="avatar" data-avatar="1"><span data-iniziale></span></span>
<span class="avatar" data-avatar="2"><span data-iniziale></span></span>
<span class="avatar avatar--tu" data-avatar="tu"><span>You</span></span>
</span>
</header>
<section class="foglio">
<p class="etichetta">Title</p>
<h1 class="titolo" data-titolo aria-live="off"></h1>
<p class="stato" aria-live="polite">
<span class="stato__riga" data-stato></span>
</p>
</section>
<div class="strumenti" data-strumenti aria-hidden="true">
<span class="strumenti__tasto">B</span>
<span class="strumenti__tasto strumenti__tasto--i" data-tasto-i>I</span>
<span class="strumenti__tasto strumenti__tasto--link">
<svg viewBox="0 0 16 16"><path d="M6.6 9.4l2.8-2.8M7.4 4.6l1-1a2.6 2.6 0 013.7 3.7l-1 1M8.6 11.4l-1 1a2.6 2.6 0 01-3.7-3.7l1-1" /></svg>
</span>
</div>
<div class="cursore" data-cursore="0" aria-hidden="true"><span class="cursore__asta"></span><span class="cursore__nome" data-nome></span></div>
<div class="cursore" data-cursore="1" aria-hidden="true"><span class="cursore__asta"></span><span class="cursore__nome" data-nome></span></div>
<div class="cursore" data-cursore="2" aria-hidden="true"><span class="cursore__asta"></span><span class="cursore__nome" data-nome></span></div>
<div class="tu" data-tu aria-hidden="true">
<svg viewBox="0 0 16 20"><path d="M1.5 1.5l12 9.2-5.4.6-3 5.6z" /></svg>
<span class="tu__nome">You</span>
</div>
</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.
20 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 “Three-cursor headline” from Animorio and fit it into my siteEach word is an inline-block holding its letters: lines only wrap between words, and a whole word can lean with skewX without touching the others.
A caret sits on the right edge of a letter, read with getBoundingClientRect; each caret remembers its word and letter, so when the window changes size it lands on the same spot.
A single GSAP timeline places every keystroke at SPEED with small, uneven pauses: the three work slightly overlapped, like real people. Each new letter goes from wdth NARROW to 100 on the width axis.
Over the page the pointer becomes an arrow tagged You that follows with quickTo; on phones it appears where you tap and then leaves.
| Name | File | Default | What it changes |
|---|---|---|---|
DOC | script.js | Launch brief | The name of the document. |
NAMES | script.js | Ana, Kofi, Lena | The three people writing, comma separated. |
SPEED | script.js | 1 | How fast everyone types. |
NARROW | script.js | 70 | The width a typed letter starts from, 100 is normal. |
TILT | script.js | 11 | How far the italic word leans, in degrees. |
HOLD | script.js | 3.2 | The seconds the finished title stays. |
For the page of a collaborative editor, a docs or team notes app, for the section of a landing page showing live teamwork, or for the hero of a writing product.
The same animation with adapted sizes: the title is sized on the height too and wraps more often, the carets follow their words; the fourth cursor appears where you tap.
No travelling carets or opening letters: the finished title fades in with the three tags resting where they finished.
GSAP 3.15.0, Mona Sans (font variabile) 5.3.0.
Compressed with gzip, the three demo files weigh 7.7 KB; the libraries: GSAP 28 KB.
Tested on 30 October 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.