🚀Ship faster with UI-Layouts Pro

Work With Us

Text Marquee

A text marquee animation with options for unidirectional and bidirectional scrolling, which changes direction based on the scroll position

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).