Animated TextGenerate
Generates animated text word-by-word with blur, highlights, links, and smooth effects.
Installation
npx shadcn@latest add https://scrollx-ui.vercel.app/registry/animated-textgenerate.json
Usage
import { AnimatedTextGenerate } from "@/components/ui/animated-textgenerate";
<AnimatedTextGenerate
text="Pressure changes everything. Some people focus, others fold."
className="text-center my-10"
textClassName="text-3xl text-gray-800 dark:text-white"
blurEffect={true}
speed={0.5}
highlightWords={["Pressure", "focus"]}
highlightClassName="text-blue-500"
linkWords={["everything"]}
linkHrefs={["/about"]}
linkClassNames={["underline text-red-500"]}
/>
API Reference
Animated TextGenerate
Creates a flowing reading effect with staggered words, styling emphasis, and interactions.