kevingirelli

Warp Gradient

Heroes 58

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
  • QR Code

    QR Code

    125
  • Aurora

    Aurora

    115
  • FAQ Section

    FAQ Section

    73
  • Animated Border

    Animated Border

    67
  • Corner Frame

    Corner Frame

    54
  • Wave Text

    Wave Text

    53
  • Spotlight

    Spotlight

    40
  • Flip Text

    Flip Text

    28

More in Heroes

View all
  • Responsive Hero Banner

    Responsive Hero Banner

    2.1K
  • SaaS Template

    SaaS Template

    2.6K
  • Centered Hero with Image Fan

    Centered Hero with Image Fan

    1.1K
  • Hero 03

    Hero 03

    361
  • Hero

    Hero

    1.3K
  • Hero Section

    Hero Section

    177
  • HeroSectionWithGradient

    HeroSectionWithGradient

    375
  • Editorial Collage Hero

    Editorial Collage Hero

    487