A large bright headline sits behind a fogged glass pane covered in sliding water droplets. The drops refract the type; the cursor wipes a clear arc as you move.
import RainyGlassTypography from '@crazygl/hero-rainy-glass-typography';
export default function Page() {
return (
<RainyGlassTypography
heading="Through the rain."
glassFog={0.6}
dropCount={64}
/>
);
}heading, subheading, ctaLabel, onCTAClick.condensationOpacity, glassTint, glassFog.dropCount, dropSizeMin, dropSizeMax, dropSpeed, dropMergeStrength.wipeRadius, wipeFadeTime.textColor, textGlow, backgroundDim, bgColor.headingFontFamily, headingFontWeight.npm install @crazygl/hero-rainy-glass-typographyThe component takes the same props you see in the live customizer on the right — every default ships poster-quality.
import TypographyThroughRainyGlass from '@crazygl/hero-rainy-glass-typography';
export default function Landing() {
return (
<TypographyThroughRainyGlass />
);
}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 TypographyThroughRainyGlass from '@crazygl/hero-rainy-glass-typography';
export default function Page() {
return (
<section>
<TypographyThroughRainyGlass
heading="Say hi."
subheading="Your new hero."
/>
<article>
<h2>Welcome</h2>
<p>Your content keeps its own voice below the hero.</p>
</article>
</section>
);
}