Make your AI a shadcn expert

React Interactive Grid Pattern Background

Interactive grid where cells glow on hover with proximity-based highlighting and smooth trailing effects

React Interactive Grid Pattern Background preview

Scroll to load preview

This takes a basic grid pattern and makes it interactive. Hover over a cell and it glows cyan instantly, then fades out slowly when you leave—so you get this trailing glow effect as you move around. What makes it extra nice is the proximity highlighting: cells near your cursor get a subtle highlight based on how close they are, creating a soft spotlight effect. The grid auto-sizes based on your viewport and rescales on resize. Great for tech dashboards, portfolios, or anywhere you want that responsive, reactive feel.

Install with AI

If you've connected the shadcn.io MCP server to Claude Code, Cursor, Windsurf, or any MCP-ready AI editor, prompt your agent to install this background for you — no copy-paste, no CLI:

use shadcnio to install the interactive-grid-pattern background into my project

FAQ

Was this page helpful?

Sign in to leave feedback.