chamaac

Electric Mist

Heroes 58

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

    693
  • Text Loop

    Text Loop

    323
  • Grid Bloom

    Grid Bloom

    57
  • 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
  • SaaS Template

    SaaS Template

    2.5K
  • Responsive Hero Banner

    Responsive Hero Banner

    2K
  • Hero

    Hero

    1.3K
  • Centered Hero with Image Fan

    Centered Hero with Image Fan

    976
  • Aero Hero-3

    Aero Hero-3

    579
  • Editorial Collage Hero

    Editorial Collage Hero

    460
  • Glass Fold

    Glass Fold

    306
  • HeroSectionWithGradient

    HeroSectionWithGradient

    351