A dusty 3D volume of tiny floating characters — abstract micro-typography drifting in depth. The pointer pulls characters into rings and streams, and where the cursor dwells the dust briefly organises itself into a real word before scattering back into the haze.
import ParticleTypography from '@crazygl/hero-particle-typography';
export default function Hero() {
return (
<ParticleTypography
heading="Words in the dust."
revealWords="CREATE,DESIGN,BUILD,IMAGINE"
count={2200}
/>
);
}count, charset, glyphColor, backgroundColor, glyphSize.driftSpeed (curl-noise float), depthFog (atmospheric fade).revealWords (comma-separated), revealRadius, revealStrength (0 = rings only), ringMode.transparent.npm install @crazygl/hero-particle-typographyThe component takes the same props you see in the live customizer on the right — every default ships poster-quality.
import ParticleTypography from '@crazygl/hero-particle-typography';
export default function Landing() {
return (
<ParticleTypography />
);
}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 ParticleTypography from '@crazygl/hero-particle-typography';
export default function Page() {
return (
<section>
<ParticleTypography
heading="Say hi."
subheading="Your new hero."
/>
<article>
<h2>Welcome</h2>
<p>Your content keeps its own voice below the hero.</p>
</article>
</section>
);
}