Velocity Scroll
Velocity Scroll
Installation
Usage
import { VelocityScroll } from "@/components/magicui/scroll-based-velocity";<VelocityScroll>Scroll Based Velocity</VelocityScroll>Props
| Prop | Type | Default | Description |
|---|---|---|---|
className | string | - | The class name to be applied to the component |
children | ReactNode | - | Content to be animated |
defaultVelocity | number | 5 | Base scroll velocity of text |
numRows | number | 2 | Number of rows to be animated |