kevingirelli

Warp Gradient

Heroes 63

About

A slow, liquid field of blended colors driven by a single WebGL2 shader, used as a decorative animated background behind content.

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

Code

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

Usage.tsx

"use client";

import WarpGradient from "@/components/ui/warp-gradient";

export default function WarpGradientDemo() {
  return (
    <div className="relative isolate h-screen w-full overflow-hidden">
      <WarpGradient preset="tide" grain={0.25} />
      <div className="absolute inset-0 flex items-center justify-center">
        <h2 className="text-4xl font-semibold text-white">Into the blue</h2>
      </div>
    </div>
  );
}

More by kevingirelli

View all
  • Aurora

    Aurora

    131
  • QR Code

    QR Code

    128
  • FAQ Section

    FAQ Section

    79
  • Animated Border

    Animated Border

    73
  • Corner Frame

    Corner Frame

    59
  • Wave Text

    Wave Text

    56
  • Spotlight

    Spotlight

    47
  • Flip Text

    Flip Text

    34

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