X GridA canvas-based interactive background of × marks that illuminate and connect to neighbours with constellation lines on hover.

BackgroundsHero sectionMarketing siteEmpty state
X Gridhover to illuminate

Add to your project

One command adds this component to your project.

1

Run the following command. New project? Run npx shadcn@latest init first to set up Tailwind and path aliases.

npx shadcn@latest add @aicanvas/x-grid
2

For dark mode, add the dark class to your <html> element:

Optional
<html class="dark">

Install with AI Canvas MCP

With AI Canvas MCP, your AI knows every component we ship. Ask for “a navigation component from AI Canvas” inside Claude Code, Codex, or Cursor and it can suggest you a few options, then install the one you like. Less typing, lower token cost, modern way to build.

Get MCP

About X Grid

X Grid is a canvas of small × marks arranged on a regular lattice. On hover, the ones nearest your cursor brighten and reach toward each other with thin constellation lines, briefly stitching the grid into a network. Everything is drawn into a single 2D canvas with Tailwind controlling layout, so the GPU and DOM both stay quiet. It is a strong hero backdrop or marketing-page filler when you want geometric texture that responds to attention without overwhelming foreground content.

Built with

CanvasTailwind CSS

More like this