A highly dynamic typographic component that uses Framer Motion's useScroll and useVelocity to calculate scroll speed in real-time, applying a dramatic stretch and skew effect that intensifies the faster you scroll.
Live Preview
Usage Guide
1. Import the Component
Import the component into your React or Next.js page:
import { ScrollVelocityText } from "@/components/creative/scroll-velocity-text";
2. Implementation Example
Render the component and customize its behavior by passing props:
import { ScrollVelocityText } from "@/components/creative/scroll-velocity-text";
export default function Example() {
return (
<div className="w-full flex items-center justify-center p-8">
<ScrollVelocityText
/>
</div>
);
}