codeweb-dev

Animated Gradient

Heroes 122

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

    100
  • Ghost Ether

    Ghost Ether

    65
  • Image Trail

    Image Trail

    44
  • Keyboard

    Keyboard

    40

More in Heroes

View all
  • Agency Hero Section

    Agency Hero Section

    1.1K
  • Responsive Hero Banner

    Responsive Hero Banner

    2.2K
  • SaaS Template

    SaaS Template

    2.7K
  • Centered Hero with Image Fan

    Centered Hero with Image Fan

    1.1K
  • Hero

    Hero

    1.4K
  • Hero Section 01

    Hero Section 01

    56
  • Split Hero With Image Cards

    Split Hero With Image Cards

    467
  • Facts Hero

    Facts Hero

    6