muthu

gradient maru

Heroes 3

About

Animated WebGL shader background in the Mesh drift style. Generated by the 21st.dev Shader Builder. 4-color palette (#E8E7D4, #FFF186, #FFBABA, #FDB251). Features: film grain, cursor-reactive (spotlight). A drop-in, zero-dependency React component for hero sections and animated gradient/noise backgrounds.

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

Code

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

Usage.tsx

import { ShaderBackground } from "@/components/ui/gradient-maru"

export default function ShaderBackgroundDemo() {
  return (
    <div className="relative h-screen w-full overflow-hidden">
      <ShaderBackground className="h-full w-full" />
    </div>
  )
}

More in Heroes

View all
  • Responsive Hero Banner

    Responsive Hero Banner

    2.1K
  • Hero

    Hero

    1.3K
  • SaaS Template

    SaaS Template

    2.6K
  • Hero 03

    Hero 03

    368
  • Centered Hero with Image Fan

    Centered Hero with Image Fan

    1.1K
  • Editorial Collage Hero

    Editorial Collage Hero

    498
  • HeroSectionWithGradient

    HeroSectionWithGradient

    378
  • Aero Hero-3

    Aero Hero-3

    612