Stop Rebuilding UI

Shadcn.io is not affiliated with official shadcn/ui

React Flickering Grid Background

Canvas grid with randomly flickering squares that creates a subtle Matrix-like digital ambient effect

Thousands of tiny squares randomly fading in and out—it's got that server room vibe, like watching indicator lights blink. The flickering is random but controlled, creating this subtle digital ambiance that works great for tech dashboards, developer portfolios, or cybersecurity themes. It's all canvas-based so performance is solid even with dense grids. One nice touch: it uses IntersectionObserver to completely pause when scrolled off-screen, so you're not wasting cycles on something nobody can see.

React Flickering Grid Background preview

Scroll to load preview

Installation

FAQ

Was this page helpful?

Sign in to leave feedback.