About
Mesh gradient shader background in WebGL: a dark two-colour (#101010, #3A3A3A) mesh drift with film grain and a cursor-reactive spotlight. A drop-in animated gradient and noise backdrop for hero sections, made with the 21st.dev Shader Builder. Zero dependencies.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Light Shader to your project and fits it to your theme.
Code
How Light Shader is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
import { ShaderBackground } from "@/components/ui/light-shader"
export default function ShaderBackgroundDemo() {
return (
<div className="relative h-screen w-full overflow-hidden">
<ShaderBackground className="h-full w-full" />
</div>
)
}
















