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>
);
}












