Abstract letterforms floating at different depths behind the hero, with dramatic shadows and pointer-driven parallax.
import TypographyShadows from '@crazygl/hero-typography-shadows';
export default function Hero() {
return (
<TypographyShadows
heading="Type space."
glyphs="TYPESPACE&"
depthSpread={1}
/>
);
}glyphs (the scattered letter/symbol set), bgTopColor / bgBottomColor, accentColor, depthSpread, spotlight.npm install @crazygl/hero-typography-shadowsThe component takes the same props you see in the live customizer on the right — every default ships poster-quality.
import TypographyShadows from '@crazygl/hero-typography-shadows';
export default function Landing() {
return (
<TypographyShadows />
);
}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 TypographyShadows from '@crazygl/hero-typography-shadows';
export default function Page() {
return (
<section>
<TypographyShadows
heading="Say hi."
subheading="Your new hero."
/>
<article>
<h2>Welcome</h2>
<p>Your content keeps its own voice below the hero.</p>
</article>
</section>
);
}