About
Animated WebGL shader background in the Static Mesh Gradient style. Default variant. Generated by the 21st.dev Shader Builder. Adapted from Paper Shaders under Apache-2.0. 5-color palette (#FFFFFF, #0747D2, #CF58BF, #F1B6FA, #E5CBFA). Features: cursor-reactive (swirl). 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 Subh to your project and fits it to your theme.
Code
How Subh is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
import { ShaderBackground } from "@/components/ui/subh"
export default function ShaderBackgroundDemo() {
return (
<div className="relative h-screen w-full overflow-hidden">
<ShaderBackground className="h-full w-full" />
</div>
)
}








