A heading with a stack of layered, blurred shadow copies that fan out in the direction of the cursor — like a tracer of light pouring out of the wordmark. On hover-end the stack relaxes back to a resting diagonal trail.
import TextGlowHover from '@crazygl/hero-text-glow-hover';
export default function Hero() {
return (
<TextGlowHover
heading="Light"
copies={100}
shadowColor="#ffffff"
glowBlur={32}
/>
);
}heading, subheading, optional ctaLabel / onCTAClick.copies (10–200 ghost layers), shadowScaleFactor (trail spread), useGradientGlow with glowStartColor / glowEndColor, shadowColor, animateGlow (breathing pulse).glowBlur, glowOpacity for the text-shadow on the heading itself.textColor, fontSize, letterSpacing, headingFontFamily (defaults to the gothic blackletter UnifrakturMaguntia), headingFontWeight.transparentBackground, bgColor, vignetteStrength.npm install @crazygl/hero-text-glow-hoverThe component takes the same props you see in the live customizer on the right — every default ships poster-quality.
import TextGlowHover from '@crazygl/hero-text-glow-hover';
export default function Landing() {
return (
<TextGlowHover />
);
}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 TextGlowHover from '@crazygl/hero-text-glow-hover';
export default function Page() {
return (
<section>
<TextGlowHover
heading="Say hi."
subheading="Your new hero."
/>
<article>
<h2>Welcome</h2>
<p>Your content keeps its own voice below the hero.</p>
</article>
</section>
);
}