Dot Grid

A responsive patterned panel with adjustable spacing.

Installation

pnpm dlx shadcn@latest add @ward/dot-grid

Add the Ward registry to components.json once:

"registries": {
  "@ward": "https://ward.so/r/{name}.json"
}

Or install from the URL with no configuration: npx shadcn@latest add https://ward.so/r/dot-grid.json

Usage

import DotGrid from "@/components/ward/DotGrid";
<DotGrid variant="Wide" />

Props

PropTypeDefaultDescription
variant"Fine" | "Wide""Fine"Spacing of the dots in the background grid.

Ward · Version 1.1.0 · Registry manifest