
Speeding marquee
Scroll, Text, Hover
The header of Velde, a made-up Swiss watchmaker: the menu links sit in square brackets, in a monospaced face, and every letter arrives by running through random characters. Under the pointer the letter goes dark and its two neighbours turn into other characters, then everything settles back; the open page holds its brackets tight, and [+] Menu unrolls the full list. Minimal style, inspired by the Prägen Hätlen site.
Rebuilt from scratch studying pragenhatlen.com by cher ami: 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>
<!--
"Bracket menu" 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>Meridian 38 · Velde Horlogerie</title>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fontsource-variable/manrope@5.3.0/index.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fontsource-variable/red-hat-mono@5.3.0/index.css">
<link rel="stylesheet" href="style.css">
</head>
<body>
<!-- The header of Velde Horlogerie, a made-up watchmaker in La Chaux-de-Fonds. The links sit in square brackets,
in a monospaced face. They arrive letter by letter through random characters; under the pointer the letter goes
dark and its two neighbours turn into other characters, then everything settles back. The current page holds
its brackets tight. [+] Menu opens the full list. -->
<main class="palco" data-palco>
<div class="griglia" aria-hidden="true"></div>
<header class="testata" data-testata>
<nav class="gruppo gruppo--sx" aria-label="Main">
<a class="voce" href="#collection" data-voce data-nome="Collection"></a>
<a class="voce" href="#atelier" data-voce data-nome="Atelier"></a>
</nav>
<a class="marchio" href="#top" aria-label="Velde Horlogerie, home">
<span class="marchio__nome" data-marchio>VELDE</span>
<span class="marchio__sotto" data-mono="Horlogerie"></span>
</a>
<div class="gruppo gruppo--dx">
<a class="voce voce--lontana" href="#reserve" data-voce data-nome="Reserve"></a>
<a class="voce voce--lontana" href="#faq" data-voce data-nome="FAQ"></a>
<button class="apri" type="button" data-apri aria-expanded="false" aria-controls="indice">
<span class="apri__par">[</span><svg class="apri__segno" viewBox="0 0 10 10" aria-hidden="true"><path class="apri__oriz" d="M1.5 5h7"/><path class="apri__vert" d="M5 1.5v7"/></svg><span class="apri__par">]</span>
<span class="apri__testo" data-apri-testo>Menu</span>
</button>
</div>
<i class="testata__riga" data-riga aria-hidden="true"></i>
</header>
<section class="apertura" data-apertura>
<p class="mono" data-mono="[ The Meridian 38 ]"></p>
<h1 class="titolo"><span class="riga"><span data-riga-titolo>Time, kept</span></span><span class="riga"><span data-riga-titolo>quietly.</span></span></h1>
<p class="mono mono--piano" data-mono="Hand-finished. Forty pieces a year."></p>
</section>
<p class="scorri mono" data-mono="[ Scroll ]" aria-hidden="true"></p>
<div class="indice" id="indice" data-indice aria-hidden="true">
<ul class="indice__lista">
<li class="indice__voce"><a href="#collection" data-indice-voce data-chiave="Collection"><span class="indice__nome"><span>Collection</span></span><span class="indice__tag mono" data-mono="[ Watches ]"></span></a></li>
<li class="indice__voce"><a href="#atelier" data-indice-voce data-chiave="Atelier"><span class="indice__nome"><span>Atelier</span></span><span class="indice__tag mono" data-mono="[ The bench ]"></span></a></li>
<li class="indice__voce"><a href="#reserve" data-indice-voce data-chiave="Reserve"><span class="indice__nome"><span>Reserve</span></span><span class="indice__tag mono" data-mono="[ Your piece ]"></span></a></li>
<li class="indice__voce"><a href="#faq" data-indice-voce data-chiave="FAQ"><span class="indice__nome"><span>FAQ</span></span><span class="indice__tag mono" data-mono="[ Questions ]"></span></a></li>
</ul>
</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.
22 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 “Bracket menu” from Animorio and fit it into my siteEvery word is split into inline-block spans 1ch wide: in a monospaced face a random character is exactly as wide as the real one, so the word never shifts while it scrambles.
A GSAP tween takes a number from 0 to 1 and every 0.05 seconds writes a character from 0-9, A-Z and !@#$%^&*()_+-=/? into the span; from 82% on it writes the real one. On the way in it lasts 1.25 seconds, 0.25 seconds late and 0.03 apart from letter to letter.
On pointermove the letter whose centre is closest to the pointer goes to opacity 0 in 0.2 seconds and its two neighbours to 0.5 with a random character; the others come back to 1 and, if they had been changed, scramble for 0.4 seconds back to the real one.
The two brackets move with a CSS variable, --g, in characters: translateX(calc(var(--g) * -1ch)) and its opposite. GSAP takes --g from 0.55 to 0 with back.out and the brackets' opacity follows it, so the width of the link never changes.
A paused timeline: clip-path from inset(0 0 100% 0) to inset(0) in 0.75 seconds, the names from yPercent 100 to 0, 0.1 apart and 0.35 seconds before the end; to close, the same timeline runs backwards at timeScale 1.5. The plus is a small SVG whose upright folds down to nothing.
| Name | File | Default | What it changes |
|---|---|---|---|
ENTRY | script.js | 1.25 | Seconds each letter runs through random characters on the way in. |
LETTER_GAP | script.js | 0.03 | The delay between one letter and the next. |
FADE | script.js | 0.2 | Seconds for the letter under the pointer to go dark. |
SETTLE | script.js | 0.4 | Seconds for the changed letters to settle back. |
NEIGHBOURS | script.js | 1 | How many letters on each side turn into other characters. |
MENU_OPEN | script.js | 0.75 | Seconds for the full list to unroll. |
LOOSE | script.js | 0.55 | How loose the other links' brackets stand, in characters. |
ACCENT | script.js | #52667e | The colour of the open page's brackets. |
CHARS | script.js | 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ!@#$%^&*()_+-=/? | The characters the letters run through. |
For the header of a luxury brand, a watchmaker, a design studio or a technical product: when the menu should feel precise, like an instrument, and move without ever shifting the page.
Below 860 pixels Reserve and FAQ go away, below 620 Collection and Atelier too: the mark stays in the middle with [+] Menu, and the header plays by opening and closing the list. The title is sized on the smaller of 11vw and 13vh, the list names on 9vw and 8.4vh, so they fit in the short box.
No scramble and no movement: the letters fade in already right, on hover the word just lightens, the open page's brackets change without moving and the list fades in and out.
GSAP 3.15.0, Manrope (font variabile) 5.3.0, Red Hat Mono (font variabile) 5.3.0.
Compressed with gzip, the three demo files weigh 8.3 KB; the libraries: GSAP 28 KB.
Tested on 3 December 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.