About
Animated WebGL shader background in the Silk style. Generated by the 21st.dev Shader Builder. 3-color palette (#6A1AFF, #3A1480, #6A1AFF). 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 Hero 2 to your project and fits it to your theme.
Code
How Hero 2 is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
import { ShaderBackground } from "@/components/ui/hero-2"
export default function ShaderBackgroundDemo() {
return (
<div className="relative h-screen w-full overflow-hidden">
<ShaderBackground className="h-full w-full" />
</div>
)
}










