codeweb-dev

Animated Gradient

Heroes 116

About

A WebGL-powered animated background with mist, lava, and vortex shader effects that create smooth, silk-like flowing gradients behind page content.

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

Code

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

Usage.tsx

import { AnimatedGradient } from "@/components/ui/animated-gradient";

export default function AnimatedGradientDemo() {
  return (
    <AnimatedGradient
      variant="mist"
      speed={0.6}
      opacity={0.8}
      className="w-full h-screen"
    >
      <div className="flex flex-col items-center justify-center gap-1.5 w-full h-full select-none pointer-events-none">
        <span className="text-4xl sm:text-5xl font-extrabold tracking-tight text-white font-sans drop-shadow-md">
          Animated
        </span>
        <span className="text-xl sm:text-2xl text-zinc-400 font-medium font-serif italic drop-shadow-sm">
          Gradient
        </span>
      </div>
    </AnimatedGradient>
  );
}

More by codeweb-dev

View all
  • Tactile Highlight

    Tactile Highlight

    93
  • Ghost Ether

    Ghost Ether

    63
  • Image Trail

    Image Trail

    41
  • Keyboard

    Keyboard

    39

More in Heroes

View all
  • Responsive Hero Banner

    Responsive Hero Banner

    2.2K
  • SaaS Template

    SaaS Template

    2.7K
  • Hero

    Hero

    1.3K
  • Centered Hero with Image Fan

    Centered Hero with Image Fan

    1.1K
  • Editorial Collage Hero

    Editorial Collage Hero

    507
  • Hero Section

    Hero Section

    445
  • Aero Hero-3

    Aero Hero-3

    618
  • Hero with group of images, text and two buttons

    Hero with group of images, text and two buttons

    442