Components / effect
Velocity Marquee
A marquee that drifts at a steady pace and speeds up, or reverses, with how fast you scroll.

Implementation
A marquee that drifts at a steady pace and speeds up, or reverses, with how fast you scroll.
- Framework
- React 19.3.1 with TypeScript
- Motion
- Native CSS and browser APIs. No GSAP required.
- Available modes
- build
- Version
- 1.0.0 · published
Source code
Quality evidence
Export tested in 2 consumer projects with chromium, firefox, webkit. Evidence recorded on .
Changelog
v1.0.0 · A marquee that drifts at a steady pace and speeds up, or reverses, with how fast you scroll.
Frequently asked questions
How does it read the scroll speed?
It compares window.scrollY between animation frames, so it works with native scrolling and with smooth scroll libraries alike.
Does the marquee run while it is off screen?
No. It pauses while it is off screen and while the tab is hidden, and it does not move with reduced motion.