nam

Mesh drift shader

Heroes 23

About

Animated WebGL shader background in the Mesh drift style. Generated by the 21st.dev Shader Builder. 4-color palette (#000000, #1F51FF, #00E5FF, #EAFDFF). 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 Mesh drift shader to your project and fits it to your theme.

Code

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

Usage.tsx

import { ShaderBackground } from "@/components/ui/mesh-drift-shader"

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
  • SaaS Template

    SaaS Template

    2.4K
  • Responsive Hero Banner

    Responsive Hero Banner

    2K
  • Hero

    Hero

    1.2K
  • Centered Hero with Image Fan

    Centered Hero with Image Fan

    919
  • Editorial Collage Hero

    Editorial Collage Hero

    422
  • Hero 03

    Hero 03

    312
  • Hero Section 6

    Hero Section 6

    876
  • Glass Fold

    Glass Fold

    190