Scroll Boost Mono Marquee
What it does
A huge uppercase monospace phrase loops sideways on its own clock (one copy every 26s) and gets a kick from the scroll: ScrollTrigger's velocity / 900, capped at +3, becomes the loop's timeScale and a 0.9s power2.out tween eases it back to 1, so a hard scroll fires the band and it brakes back to its cruise. Two identical copies and xPercent -50 on a repeat:-1 tween keep the seam invisible at any speed; the loop pauses off-screen and stays still under reduced motion.
How it's built
| Category | text |
|---|---|
| Tech | gsap |
| GSAP plugins | ScrollTrigger |
| Complexity | section |
| Performance cost | light |
| Mobile-safe | yes |
Rebuild it with AI
This component's prompt is part of the paid library. Below you can read how it starts; the full prompt, the exact structure, timing and easing an AI agent needs to rebuild the effect, unlocks with any paid plan, yearly or lifetime.
# Scroll Boost Mono Marquee — a huge monospace loop that the scroll kicks and lets go
## Goal
Build a full-width band of one flat colour on a black page, with a single short phrase set in **huge uppercase monospace** looping sideways inside it: `SIN PRISA · A SU RITMO · CON CALMA ·`. The loop runs **on its own clock**, slowly (one full phrase every 26 seconds), whether or not anyone scrolls. Scrolling the page gives it a kick: the faster the scroll, the faster the band runs, up to four times its cruise speed, and the moment the scroll stops it **eases back down to its normal pace in under a second**. Scrolling up kicks it the same way as scrolling down; the direction of travel never changes.
## Tech
Vanilla HTML/CSS/JS with ES module imports. `gsap` (npm) plus the `ScrollTrigger` plugin (only for its visibility window and its `getVelocity()`), registered with `gsap.registerPlugin(ScrollTrigger)`. **No Lenis, no CSS keyframes, no requestAnimationFrame of your own.**
Font, self-hosted: **IBM Plex Mono** 400. In this repo: `/c/_vendor/fonts/css/bricolage-grotesque+ibm-plex-mono-e06e78da.css`. The monospace is not decoration: with equal letter widths the strip advances at a cadence that reads like a mechanism, and the acceleration is far more legible than in a proportional face.
## Layout / HTML
The component is the `<section class="marq">`. The `.stage` around it exists only in the demo, to give the page some scroll while the band stays in view:
```html
<main class="stage" data-scroll-scope>
<div class="stage__pin">
<section class="marq" aria-label="No rush, at its own pace, calmly">
…
Premium prompt
Unlock this prompt, and every other one
From $99/year, or $139 once for lifetime access. Commercial license included.
See pricing Or start with the free set Already bought? Sign in
New components in your inbox
One email a week, only when new components ship, each with its live demo and prompt.