GSAP Scroll Velocity Marquee
Overview
An endless marquee that idles along, surges with scroll speed, leans into the motion with a skew and turns around when the page scrolls back up.
The track loops by exactly one copy of its content, so the seam never shows at any width. Scroll velocity comes from ScrollTrigger and bleeds off over about a second once you stop.
Details
- Category
- Marquee
- Interaction
- On Load + On Scroll
- Trigger
- On Load
- Languages
- React, TypeScript, Tailwind
(01)Keep exploring
All 150 componentsBuilt with the same techniques
No. 146 / Hero
Three.js Studio Hero with a Curved Project Reel
On Load · On Scroll · Drag · On Hover
No. 138 / Scroll
GSAP Pinned Horizontal Lookbook with Velocity Marquee Type
On Scroll · On Hover
No. 032 / Marquee
GSAP Curved Text Marquee on an SVG Path
On Scroll · On Hover
(02)FAQ
GSAP Scroll Velocity Marquee — FAQ
01Can I put images or logos in it?
Yes. Anything you pass as children is repeated along the track: words, logos, cards.
02How do I stop it reacting to scroll?
Set scrollBoost to 0 and followScroll to false for a plain infinite marquee.
03How do I change the speed or direction?
Set speed (pixels per second at rest) and direction ("left" or "right"). scrollBoost controls how hard scrolling pushes it, and skew how far it leans while boosted.
04Why is there a gap on very wide screens?
Short content may not fill the track. Raise repeat to add more copies of it.