Distortion GridA canvas grid of thin lines that slowly undulate with large sweeping waves.

BackgroundsHero sectionLanding pageEditorial
Distortion Gridhover to warp

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/distortion-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 Distortion Grid

Distortion Grid renders a fine grid of thin lines on a 2D canvas and bends the lattice with two slow-moving sine fields, so the surface always looks like a living blueprint. Your cursor acts as a repulsion field: nearby intersections push outward and the deformation propagates softly across the whole canvas. The implementation is pure canvas plus Tailwind classes for the wrapper, no WebGL, which keeps the bundle small and the GPU cost predictable. Drop it behind a hero headline or as the entire backdrop for a long-form editorial page.

Built with

CanvasTailwind CSS

More like this