kevingirelli

Warp Gradient

Heroes 68

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

    143
  • QR Code

    QR Code

    138
  • FAQ Section

    FAQ Section

    91
  • Animated Border

    Animated Border

    80
  • Corner Frame

    Corner Frame

    67
  • Wave Text

    Wave Text

    59
  • Spotlight

    Spotlight

    49
  • Flip Text

    Flip Text

    38

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