bagherifarzad

Gradient Mesh

Heroes 15

About

An animated, atmospheric gradient-mesh background made of blurred radial gradients for dark, premium-looking interfaces.

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

Code

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

Usage.tsx

import { GradientMesh } from "@/components/ui/gradient-mesh";

export default function GradientMeshDemo() {
  return (
    <div className="relative w-full h-screen bg-background overflow-hidden">
      <GradientMesh
        primary="#9b7cff"
        secondary="#587dff"
        accent="#ff76d8"
        background="#0d0d11"
        blur={80}
        speed={1}
      />
    </div>
  );
}

More in Heroes

View all
  • Responsive Hero Banner

    Responsive Hero Banner

    2.1K
  • SaaS Template

    SaaS Template

    2.6K
  • Hero

    Hero

    1.3K
  • Centered Hero with Image Fan

    Centered Hero with Image Fan

    1K
  • Hero 03

    Hero 03

    351
  • Hero Section

    Hero Section

    177
  • HeroSectionWithGradient

    HeroSectionWithGradient

    368
  • Glass Fold

    Glass Fold

    401