Paper Shaders

Mesh Gradient · Ink

Heroes 2

About

Animated WebGL shader background in the Mesh Gradient style. Ink variant. Generated by the 21st.dev Shader Builder. Adapted from Paper Shaders under Apache-2.0. 4-color palette (#120D31, #FFD166, #EF5DA8, #6C4CF1). 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 Gradient · Ink to your project and fits it to your theme.

Code

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

Usage.tsx

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

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