About
A full-screen, animated hero background that renders a subtle grid overlay and drifting radial glow blobs using HTML Canvas, React, and Framer Motion for a futuristic, immersive effect.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds GridGlowBackground to your project and fits it to your theme.
Code
How GridGlowBackground is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
import GridGlowBackground from "@/components/ui/grid-glow-background";
const settings = {
backgroundColor: "#0a0a0a",
gridColor: "rgba(255, 255, 255, 0.05)",
gridSize: 50,
glowCount: 10,
};
export default function Demo(props: Partial<typeof settings>) {
const s = { ...settings, ...props };
return (
<div className="h-screen w-screen">
<GridGlowBackground
backgroundColor={s.backgroundColor}
gridColor={s.gridColor}
gridSize={s.gridSize}
glowCount={s.glowCount}
>
<span />
</GridGlowBackground>
</div>
);
}
















