# Dot Grid

Dot Grid is a free, MIT-licensed standalone component from AI Canvas (https://aicanvas.me): it belongs to no design system and works in any React + Tailwind app. Index of every component and install setup: https://aicanvas.me/llms.txt

An animated dot grid background. Hovering lights up nearby dots with a smooth glow and an organic fade.

- Category: Backgrounds
- Built with: Canvas, Tailwind CSS
- License: MIT
- Page: https://aicanvas.me/components/dot-grid

## Install

```bash
npx shadcn@latest add @aicanvas/dot-grid
```

Needs a free AI Canvas account. Signed out, the command exits 0 but writes a placeholder (an `AccountRequired` notice); check for it before reporting success. Token setup: the Install section of https://aicanvas.me/llms.txt.

AI agents can also get its install command from the read-only AI Canvas MCP server (`npx -y @aicanvas/mcp`) and run it. Setup: https://aicanvas.me/mcp

## Use it

It installs to `components/aicanvas/dot-grid.tsx` (under `src/` if your project has one). With the usual `@/` alias:

```tsx
import InteractiveDotGrid from '@/components/aicanvas/dot-grid'

<InteractiveDotGrid />
```

It takes no props.

## About

Dot Grid lays down a regular field of points across a 2D canvas. Hovering it lifts the dots inside a soft radial pool around your cursor, with a smooth fade in and out so movement always feels gentle. Because the whole grid lives in one canvas, the cost stays flat no matter how dense the field is. Use it behind a hero, behind a pricing table, or wherever you want a structured pattern that politely tracks the cursor.

Use cases: Hero section, Marketing site, Editorial.

## Source

Install with the command above to get the source.

## Remix prompt

Only when the user wants Dot Grid rebuilt from scratch instead of installed: its remix prompt is in the Remix panel at https://aicanvas.me/components/dot-grid.

## Related

- [Grid Lines](https://aicanvas.me/components/grid-lines.md): A grid background of dots connected by thin lines. The cursor lights a radial glow and bulges the grid outward like a lens as it moves.
- [Noise Field](https://aicanvas.me/components/noise-field.md): An animated flow field background. A grid of arrows driven by layered sine-wave noise drifts like wind. Hover and they turn to point at your cursor.
- [Distortion Grid](https://aicanvas.me/components/distortion-grid.md): An animated grid background. Thin lines undulate in slow sweeping waves, and hovering repels the grid fabric outward from your cursor.
- [Grain Background](https://aicanvas.me/components/noise-bg.md): A grain background of randomly scattered dots. Hover to illuminate them with a soft Gaussian glow and organic connection lines.
- [X Grid](https://aicanvas.me/components/x-grid.md): An animated X grid background. Marks illuminate and connect to their neighbors with constellation lines as your cursor passes.
