Branching procedural arcs jag across animated stormclouds. Each strike pulses a bright halo across the sky, dimming back into the dark in a few hundred ms.
import LightningStorm from '@crazygl/hero-lightning-storm';
export default function Page() {
return (
<LightningStorm
heading="Strike."
frequency={1}
branchiness={1}
bloom={1}
/>
);
}skyTop / skyBottom gradient, cloudColor, cloudDensity, cloudSpeed (the drifting FBM stormfront).boltColor, flashColor, frequency (≈ strikes per second), branchiness (single spear vs full vein system), thickness, bloom (the scattering halo).contentType (heading / two-columns / custom) with heading, subheading, column1 / column2, plus headingFontFamily.npm install @crazygl/hero-lightning-stormThe component takes the same props you see in the live customizer on the right — every default ships poster-quality.
import LightningStorm from '@crazygl/hero-lightning-storm';
export default function Landing() {
return (
<LightningStorm />
);
}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 LightningStorm from '@crazygl/hero-lightning-storm';
export default function Page() {
return (
<section>
<LightningStorm
heading="Say hi."
subheading="Your new hero."
/>
<article>
<h2>Welcome</h2>
<p>Your content keeps its own voice below the hero.</p>
</article>
</section>
);
}