Skip to content

Scroll Text Marquee

Build a React marquee that changes speed and direction as you scroll. Try one-way and bidirectional examples and copy the source.

UniDirectional

Star the repo if you like itStar the repo if you like itStar the repo if you like itStar the repo if you like it
Share it if you like itShare it if you like itShare it if you like itShare it if you like it

Bidirectional

Best Component library For DeveloperBest Component library For DeveloperBest Component library For DeveloperBest Component library For Developer

Installation

npx uilayouts@latest add text-marquee

Props

PropTypeDefaultDescription
childrenstringThe content to be animated with a parallax effect.
baseVelocitynumber-5The base velocity for the parallax effect.
clasnamestringOptional CSS class for styling the component.
scrollDependentbooleanfalseWhether the animation should depend on scroll.
delaynumber0Delay before the animation starts (in milliseconds).