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








