Each word starts heavily blurred and resolves into focus on a stagger. Plays once on load or loops with a configurable hold.
import BlurryTextFx from '@crazygl/hero-blurrytextfx';
export default function Hero() {
return (
<BlurryTextFx
heading="Out of the haze, into focus."
trigger="loop"
startBlur={22}
/>
);
}heading, optional subheading.trigger: load (one-shot entrance) or loop (replays after a hold).startBlur (px), perWordDuration (ms), stagger (ms between words), loopAfter (hold seconds before replay, loop only).textColor, subColor, fontSize, headingFontFamily, headingFontWeight.transparentBackground, bgColor.npm install @crazygl/hero-blurrytextfxThe component takes the same props you see in the live customizer on the right — every default ships poster-quality.
import BlurryTextFX from '@crazygl/hero-blurrytextfx';
export default function Landing() {
return (
<BlurryTextFX />
);
}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 BlurryTextFX from '@crazygl/hero-blurrytextfx';
export default function Page() {
return (
<section>
<BlurryTextFX
heading="Say hi."
subheading="Your new hero."
/>
<article>
<h2>Welcome</h2>
<p>Your content keeps its own voice below the hero.</p>
</article>
</section>
);
}