Elegant columns of falling ASCII glyphs on a near-black field — pale, premium, and readable behind text. The pointer opens a circular force field that pushes the characters outward into a clean tunnel of empty space, which smoothly refills as the cursor moves on.
import AsciiRainRepulsion from '@crazygl/hero-ascii-rain-repulsion';
export default function Hero() {
return (
<AsciiRainRepulsion
heading="Enter the stream."
charset="katakana"
repelStrength={0.44}
/>
);
}charset (katakana / latin / binary / symbols), customChars, fontSize, fallSpeed, density, mutateRate, startFilled.charColor, headColor, backgroundColor, fadeAmount (trail length).repelRadius (tunnel size) and repelStrength (push force; 0 disables).transparent to composite the rain over your own page background.npm install @crazygl/hero-ascii-rain-repulsionThe component takes the same props you see in the live customizer on the right — every default ships poster-quality.
import ASCIIRainRepulsion from '@crazygl/hero-ascii-rain-repulsion';
export default function Landing() {
return (
<ASCIIRainRepulsion />
);
}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 ASCIIRainRepulsion from '@crazygl/hero-ascii-rain-repulsion';
export default function Page() {
return (
<section>
<ASCIIRainRepulsion
heading="Say hi."
subheading="Your new hero."
/>
<article>
<h2>Welcome</h2>
<p>Your content keeps its own voice below the hero.</p>
</article>
</section>
);
}