
Speeding marquee
Scroll, Text, Hover
The customer stories of a made-up work planning app, Pathline, in the style of today’s software landing pages: a big quote coming in word by word, and as you read it a soft highlighter slides under the key words, which gain weight. Below, the customer with their company mark, which lights up once the quote is read; then the next review. With the pointer over it the pace stops.
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>
<!--
"Highlighted review" 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>The customer review that highlights as you read</title>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fontsource-variable/mona-sans@5.3.0/index.css">
<link rel="stylesheet" href="style.css">
</head>
<body>
<main class="stage">
<!-- the customer stories of a made-up planning tool, Pathline: a big quote whose key words light up with a soft
highlighter as you read it, the client underneath, and three stories that change by themselves -->
<section class="review" data-review aria-roledescription="carousel" aria-label="Customer stories">
<header class="review__top">
<span class="review__label">Customer stories</span>
<div class="review__nav">
<button class="arrow" type="button" data-prev aria-label="Previous story">
<svg viewBox="0 0 20 20" aria-hidden="true"><path d="M12.5 4.5 7 10l5.5 5.5"/></svg>
</button>
<button class="arrow" type="button" data-next aria-label="Next story">
<svg viewBox="0 0 20 20" aria-hidden="true"><path d="M7.5 4.5 13 10l-5.5 5.5"/></svg>
</button>
</div>
</header>
<div class="review__marks">
<svg class="quote" viewBox="0 0 48 36" aria-hidden="true" data-quote>
<path class="q-dot" d="M11 32.5a6.5 6.5 0 1 1 0-13a6.5 6.5 0 1 1 0 13z"/>
<path class="q-tail" d="M4.6 25c-.3-8.5 3.6-15.4 11.6-20.4"/>
<path class="q-dot" d="M33 32.5a6.5 6.5 0 1 1 0-13a6.5 6.5 0 1 1 0 13z"/>
<path class="q-tail" d="M26.6 25c-.3-8.5 3.6-15.4 11.6-20.4"/>
</svg>
<div class="stars" data-stars aria-label="Rated 5 out of 5">
<svg viewBox="0 0 20 20" aria-hidden="true"><path class="star__line" d="M10 2.2l2.3 5 5.4.6-4 3.7 1.1 5.3L10 14.1l-4.8 2.7 1.1-5.3-4-3.7 5.4-.6z"/><path class="star__fill" d="M10 2.2l2.3 5 5.4.6-4 3.7 1.1 5.3L10 14.1l-4.8 2.7 1.1-5.3-4-3.7 5.4-.6z"/></svg>
</div>
</div>
<blockquote class="review__text" data-text aria-live="polite"></blockquote>
<footer class="review__who" data-who>
<span class="avatar" data-avatar></span>
<span class="who">
<span class="who__name" data-name></span>
<span class="who__role" data-role></span>
</span>
<span class="logo" data-logo aria-hidden="true"></span>
</footer>
<div class="review__bars" aria-hidden="true">
<span class="bar"><i data-bar></i></span>
<span class="bar"><i data-bar></i></span>
<span class="bar"><i data-bar></i></span>
</div>
</section>
</main>
<svg class="cursor" data-cursor viewBox="0 0 24 24" aria-hidden="true"><path d="M5 3.2v15.6l4.3-4.1 2.9 6.3 2.6-1.2-2.9-6.2h6z"/></svg>
<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.
15 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 “Highlighted review” from Animorio and fit it into my siteEach review is a sentence with its key words in square brackets. The script cuts it into words, one per span; inside a key phrase the space stays attached to the word before, so the highlighter covers the space too and the mark runs from one end of the phrase to the other without gaps.
A word going from weight 400 to 650 gets wider and would push the whole line. Before starting, each key word is measured at both weights and widened with a little letter spacing, just enough to be as wide as it will be in bold; then, as the weight rises, the spacing goes back to zero: the word gains weight without moving anything around it.
One word takes 60 divided by READ_WPM seconds. The timeline places each key word’s highlighter at its point in the reading: scaleX from 0 to 1 starting from the left in MARKER seconds, the weight and one pixel up and down. The bars at the bottom fill in the same time, reading plus waiting.
The pointer over the section does not pause it at once: a tween takes the timeline’s speed to zero in three tenths of a second with timeScale, and on leaving brings it back to one. So even a highlighter halfway through a word slows down and stops.
| Name | File | Default | What it changes |
|---|---|---|---|
READ_WPM | script.js | 250 | The words per minute of the reading pace: the highlighter moves at this rate. |
HOLD | script.js | 1.8 | The seconds the read review stays still before the next one. |
SWAP | script.js | 0.9 | The seconds of the change between reviews. |
KEY_WEIGHT | script.js | 650 | The weight the highlighted words take on. |
MARKER | script.js | 0.34 | The seconds the highlighter takes to slide under a word. |
PILOT | script.js | true | The drawn pointer that rests on the text and presses the arrow. |
For the reviews or customer stories section of a landing page, a software product or a service: readers see at once the words that matter, and the customer’s mark lighting up works as a signature.
The same animation with adapted sizes: the quote is sized on the width and the height, the role is shortened and the mark keeps only its symbol; a tap on the arrows changes review.
No rising words, no blur and no sliding highlighter: the review fades in already highlighted with the mark lit, and changes with a fade.
GSAP 3.15.0, Mona Sans (font variabile) 5.3.0.
Compressed with gzip, the three demo files weigh 7.0 KB; the libraries: GSAP 28 KB.
Tested on 26 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.