Blur Text Reveal
A smooth and modern text reveal component with a blur animation effect.
Text Reveal
Blur Animation
You wanted to see magic.
Tadaaa
"use client";
import { BlurTextReveal } from "@/components/ui/blur-text-reveal";
export default function Home() {
return (
<div className="flex min-h-[200vh] flex-col items-center justify-center">
<BlurTextReveal>
<p className="text-6xl">You wanted to see magic.</p>
<p className="text-6xl text-blue-500">Tadaaa</p>
</BlurTextReveal>
</div>
);
}Installation
Paste this code in your terminal
npx shadcn@latest add https://rohitnirban.com/r/blur-text-reveal.jsonProps
| Prop | Type | Default | Required |
|---|---|---|---|
childrenEach child is revealed in turn, staggered by its index as you scroll. | React.ReactNode | — | Yes |
classNameAdditional CSS classes for the wrapper. | string | — | No |