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

    689
  • Text Loop

    Text Loop

    310
  • Grid Bloom

    Grid Bloom

    54
  • Water Caustic

    Water Caustic

    44
  • Light Speed

    Light Speed

    41
  • Synthesis Background

    Synthesis Background

    41
  • Gif Text

    Gif Text

    38

More in Heroes

View all
  • SaaS Template

    SaaS Template

    2.4K
  • Responsive Hero Banner

    Responsive Hero Banner

    2K
  • Hero

    Hero

    1.2K
  • Centered Hero with Image Fan

    Centered Hero with Image Fan

    931
  • Editorial Collage Hero

    Editorial Collage Hero

    430
  • Glass Fold

    Glass Fold

    212
  • Minimalist Hero Fashion

    Minimalist Hero Fashion

    285
  • HeroSectionWithGradient

    HeroSectionWithGradient

    336