chamaac

Electric Mist

Heroes 57

About

An animated full-bleed WebGL shader background with glowing lightning, waves and smoke effects, configurable via color, speed, detail, distortion and brightness props.

Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Electric Mist to your project and fits it to your theme.

Code

How Electric Mist is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

import ElectricMist from "@/components/ui/electric-mist";

const settings = {
  speed: 1.0,
  distortion: 3.0,
  detail: 1.5,
  brightness: 1.0,
  color: "#191970",
};

export default function Demo(props: Partial<typeof settings>) {
  const s = { ...settings, ...props };
  return (
    <div className="h-screen w-screen relative">
      <ElectricMist
        speed={s.speed}
        distortion={s.distortion}
        detail={s.detail}
        brightness={s.brightness}
        color={s.color}
      />
    </div>
  );
}

Dependencies

More by chamaac

View all
  • How It Works

    How It Works

    1.8K
  • Dancing Letters

    Dancing Letters

    690
  • Text Loop

    Text Loop

    320
  • Grid Bloom

    Grid Bloom

    56
  • Water Caustic

    Water Caustic

    45
  • Light Speed

    Light Speed

    44
  • Synthesis Background

    Synthesis Background

    42
  • Gif Text

    Gif Text

    39

More in Heroes

View all
  • Responsive Hero Banner

    Responsive Hero Banner

    2K
  • SaaS Template

    SaaS Template

    2.5K
  • Hero

    Hero

    1.3K
  • Minimalist Hero Fashion

    Minimalist Hero Fashion

    294
  • Editorial Collage Hero

    Editorial Collage Hero

    453
  • Centered Hero with Image Fan

    Centered Hero with Image Fan

    959
  • HeroSectionWithGradient

    HeroSectionWithGradient

    343
  • Glass Fold

    Glass Fold

    261