Back to components
ComponentBackgroundFree

Electric Storm React component

A night storm background shader: rolling clouds and slanting rain, with jagged lightning that strikes on its own every few seconds, flickers, branches and lights up the clouds around it; click or tap to call a strike down where you point.

About the Electric Storm component

Electric Storm is a dark, moody sky with rolling clouds and slanting rain, where lightning strikes every few seconds: a jagged bolt flickers down to the ground, splits into a branch and lights up the clouds around it before fading.

Click or tap anywhere and a strike comes down right where you point. It's a WebGL shader, so it's light on the page, and it pauses when it's off screen.

When to use it

Use it for game and film launches, weather or energy brands, dramatic event pages, Halloween campaigns or a 404 page with attitude.

Flashes brighten the whole frame for a moment, so avoid it behind long reading content.

Installation

Add the Electric Storm component to your project with the shadcn CLI. It lands in components/electric-storm.tsx as plain React + Tailwind CSS source you own and can edit.

Install
Copied!
npx shadcn@latest add @reactframe/electric-storm

Or copy the source by hand and install its dependencies:

Install
Copied!
npm install clsx tailwind-merge

More Background components

Iridescent Film
Spotlight Shafts
Free
Bouncing Spheres Pit
Satin Waves
Free
Woven Lines
Warp Speed Tunnel
Free