Scroll Text
A text marquee animation component for React with support for unidirectional and bidirectional scrolling. Dynamically changes direction based on scroll position for smooth, modern UI effects.
A text marquee animation component for React with support for unidirectional and bidirectional scrolling. Dynamically changes direction based on scroll position for smooth, modern UI effects.
npx uilayouts@latest add scroll-text
| Prop | Type | Default | Description |
|---|---|---|---|
| children | string | The content to be animated with a parallax effect. | |
| baseVelocity | number | -5 | The base velocity for the parallax effect. |
| clasname | string | Optional CSS class for styling the component. | |
| scrollDependent | boolean | false | Whether the animation should depend on scroll. |
| delay | number | 0 | Delay before the animation starts (in milliseconds). |