About
A decorative dot-pattern background that fills its nearest positioned parent, useful for giving a card, panel, or canvas area a subtle grid texture behind other content.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Dot Grid to your project and fits it to your theme.
Code
How Dot Grid is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
import DotGrid from "@/components/ui/dot-grid";
export default function DotGridWideSpacingDemo() {
return (
<div style={{ position: "relative", width: "100%", height: "100vh" }}>
<DotGrid spacing={32} />
</div>
);
}
















