A paragraph that unblurs and fades in word by word as the viewer scrolls — with an initial blur and initial opacity that mean even the un-revealed words sit softly on the page rather than disappearing.
import AnimatedTextReveal from '@crazygl/hero-animated-text-reveal';
export default function Page() {
return (
<AnimatedTextReveal
text="This text unblurs and fades in word by word as you scroll."
initialBlur={3}
initialOpacity={0.15}
fadeDelay={0.02}
textColor="#ffffff"
/>
);
}text (paragraph copy; Enter for hard line breaks), optional ctaLabel + onCTAClick (URL or function).initialBlur, initialOpacity, fadeDuration, per-word fadeDelay, fadeEasing; scrollStart/scrollEnd window (scroll mode) or autoplaySeconds (none mode).textColor, textAlign, fontSize, lineHeight, letterSpacing, maxWidth, headingFontFamily, headingFontWeight.transparentBackground, bgColor, accent glow (accentColor, accentStrength) and vignetteStrength.npm install @crazygl/hero-animated-text-revealThe component takes the same props you see in the live customizer on the right — every default ships poster-quality.
import AnimatedTextReveal from '@crazygl/hero-animated-text-reveal';
export default function Landing() {
return (
<AnimatedTextReveal />
);
}The wrapper renders static HTML on the server and only initialises the canvas after hydration, so search engines see your copy.
// app/page.tsx — works in SSR-first frameworks (Next, Remix, Astro, etc.)
'use client';
import AnimatedTextReveal from '@crazygl/hero-animated-text-reveal';
export default function Page() {
return (
<section>
<AnimatedTextReveal
heading="Say hi."
subheading="Your new hero."
/>
<article>
<h2>Welcome</h2>
<p>Your content keeps its own voice below the hero.</p>
</article>
</section>
);
}