Make your AI a shadcn expert

React Dot Pattern Background

Interactive dot matrix with mouse-reactive glow effects and ambient wave animation, rendered on canvas for smooth performance

React Dot Pattern Background preview

Scroll to load preview

Move your cursor around and watch the dots light up—that's the main appeal here. Dots near your mouse glow cyan and grow slightly, creating this nice spotlight effect that follows you around. Even when you're not interacting, there's a subtle wave animation pulsing through the grid so it never feels static. It's all rendered on canvas so you can have thousands of dots without any performance issues. I use this for hero sections where I want something interactive but not overwhelming. The vignette at the edges keeps the focus centered.

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 dot-pattern background into my project

FAQ

Was this page helpful?

Sign in to leave feedback.