
Speeding marquee
Scroll, Text, Hover
Plinth, a made-up website builder, opens the typography page of its brand book with a specimen that sets itself: the name typed letter by letter, a condensed word sliding in from the side, a serif line rising, the block lifting and an italic line. Then a sentence types itself and you can write over it; Shuffle changes the typeface and the background, with the name and the HEX code rolling. Minimal style. From the type tester of Squarespace Foundations, Awwwards Site of the Day on 1/9/2026.
Rebuilt from scratch studying brand.squarespace.com by Resn, Squarespace: the idea is theirs; code, copy and images are ours. Read how it’s made
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>
<!--
"Type tester shuffle" 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>Plinth, brand foundations: typography</title>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fontsource-variable/bricolage-grotesque@5.3.0/wdth.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fontsource-variable/fraunces@5.3.0/index.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fontsource-variable/fraunces@5.3.0/wght-italic.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fontsource-variable/archivo@5.3.0/wdth.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fontsource-variable/geist-mono@5.3.0/index.css">
<link rel="stylesheet" href="style.css">
</head>
<body>
<!-- Plinth, a made-up website builder, and the typography page of its brand book. First a specimen plays: the name
types in letter by letter, a condensed line slides in, a serif line rises, the block lifts and an italic line
follows, then it all blinks away in reverse. Then a sentence types itself and you can write over it; Shuffle
moves to the next typeface and the next background. -->
<main class="page" data-page>
<header class="bar">
<p class="brand">
<svg viewBox="0 0 20 20" aria-hidden="true"><path d="M3 16.5h14M5.5 16.5V9.2h9v7.3M4 9.2 10 3.5l6 5.7" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linejoin="round" stroke-linecap="round"/></svg>
<span>Plinth</span><span class="brand__sub">Foundations</span>
</p>
<p class="bar__label">Typography</p>
</header>
<section class="stage" data-stage>
<div class="seq" data-seq aria-hidden="true">
<p class="seq__row seq__name" data-row="name"></p>
<p class="seq__row seq__cond"><svg class="seq__arrow" data-arrow viewBox="0 0 40 24"><path d="M2 12h34M26 3l10 9-10 9" fill="none" stroke="currentColor" stroke-width="3.2" stroke-linecap="square"/></svg><span data-row="cond"></span></p>
<p class="seq__row seq__serif" data-row="serif"></p>
<p class="seq__row seq__italic" data-row="italic"></p>
</div>
<div class="tester" data-tester>
<p class="tester__text" data-text contenteditable="true" spellcheck="false" aria-label="Type to try the typeface"></p>
<span class="caret" data-caret aria-hidden="true"></span>
</div>
</section>
<footer class="foot">
<div class="meta">
<p class="meta__label">Typeface</p>
<p class="roll" data-roll="face"><span>Plinth Sans</span></p>
</div>
<div class="meta meta--hex">
<p class="meta__label">Background</p>
<p class="roll roll--mono" data-roll="hex"><span>#111111</span></p>
</div>
<button class="shuffle" type="button" data-shuffle aria-label="Shuffle typeface and background">
<span class="shuffle__bg" data-shuffle-bg aria-hidden="true"></span>
<svg class="shuffle__icon" data-shuffle-icon viewBox="0 0 20 20" aria-hidden="true"><path d="M2.5 6h3.2c2.6 0 3.6 1.4 4.6 4s2 4 4.6 4h2.6M2.5 14h3.2c1.5 0 2.4-.5 3.1-1.3M11.6 7.3c.7-.8 1.6-1.3 3.1-1.3h2.6M15.3 3.8 17.5 6l-2.2 2.2M15.3 11.8l2.2 2.2-2.2 2.2" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/></svg>
<span class="shuffle__label" data-shuffle-label>Shuffle</span>
</button>
</footer>
</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.
17 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 “Type tester shuffle” from Animorio and fit it into my siteA paused timeline with timeScale 1.5, as on the site: the letters of the name with autoAlpha from 0 to 1 in a thousandth of a second, 0.08 seconds apart; the arrow and the condensed letters from x −3rem in 0.8 seconds power2.out, 0.03 seconds apart; the serif words from y 3rem in 0.5 seconds, 0.15 apart; the whole block from y 20vh to 0 in 0.8 seconds power2.inOut, and the italic 0.35 seconds later.
At the end the same list of elements, reversed, goes back to autoAlpha 0 in a thousandth of a second, 0.06 seconds apart: the words switch off as if typed backwards.
A tween takes a number from 1 to 0 in 0.8 seconds sine.in, and on every update the first round(length × (1 − number)) characters are written, with the brand name inside an em. The drawn caret goes to the end of the text by measuring the last rectangle of the line with a Range.
The paragraph is contenteditable. On the first beforeinput the whole sentence is replaced by the key you typed, and the real caret goes to the end; while the text has focus the drawn one switches off.
The next of three typefaces (an attribute on the holder changes family, weight and spacing) and the next of twelve backgrounds, with the --bg and --ink variables animated by GSAP on the root; the text comes back with a fromTo from autoAlpha 0 and y 16 pixels in 0.6 seconds power2.out after 0.1, as on the site. The name and the HEX code roll inside a mask, the icon makes a full turn with back.out.
The pill’s background swells with back.out under the pointer and the label widens on the width axis of the typeface; on a press it all drops to 0.94 and springs back with elastic.out. It takes the colour of the type and writes in the colour of the background, so it inverts on every change.
| Name | File | Default | What it changes |
|---|---|---|---|
SPEED | script.js | 1.5 | Speed of the opening specimen (the site uses 1.5). |
LETTER_GAP | script.js | 0.08 | Seconds between the letters of the name (the site uses 0.08). |
LIFT | script.js | 20 | How far below the block starts, in vh (the site uses 20). |
TYPE_TIME | script.js | 0.8 | Seconds the sentence takes to type itself (the site uses 0.8). |
SWAP_TIME | script.js | 0.6 | Seconds the text takes to come back after Shuffle (the site uses 0.6). |
RISE | script.js | 16 | How far below the text comes back from, in px (the site uses 1rem). |
TOUR | script.js | 2.8 | Seconds between shuffles when nobody touches. |
SWELL | script.js | 1.08 | How much the pill swells under the pointer. |
For the typography page of a brand book, a type foundry or a studio: the typeface is big, you can write your own line over it and change it with one button, and the opening specimen shows the three styles before handing over.
On a phone the text is sized on the height too, the brand subtitle goes away, the labels at the bottom tighten and the pill is a little smaller. You tap the sentence and type with the phone keyboard; the tour starts again after a few seconds.
No moves: the specimen fades in and out, the sentence appears whole, on every Shuffle the text and the labels change with a fade, the icon stays still and the pill does not swell; the background fades as usual.
GSAP 3.15.0, Bricolage Grotesque (font variabile) 5.3.0, Fraunces (font variabile) 5.3.0, Archivo (font variabile) 5.3.0, Geist Mono (font variabile) 5.3.0.
Compressed with gzip, the three demo files weigh 7.5 KB; the libraries: GSAP 28 KB.
Tested on 27 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.