About
An animated WebGL halftone shader background that fills its container with a pulsing red-and-orange dotted flow field, for use as a hero or section background.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Halftone Flow to your project and fits it to your theme.
Code
How Halftone Flow is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
"use client";
import HalftoneFlow from "@/components/ui/halftone-flow";
export default function HalftoneFlowDemo() {
return (
<div className="relative w-full h-[420px] overflow-hidden rounded-xl bg-black">
<HalftoneFlow className="absolute inset-0 h-full w-full" />
<div className="absolute inset-0 flex items-center justify-center">
<span className="text-2xl font-semibold tracking-tight text-white">
Halftone Flow
</span>
</div>
</div>
);
}
















