Flickering grid

Also called animated grid pattern, LED grid, or flickering squares

A grid of tiny squares whose opacity flickers at random, like a field of LEDs, usually faded out toward the edges with a mask.

What is Flickering grid?

A flickering grid fills a section with small squares in even rows and columns, and every so often each square jumps to a new random opacity. The result is a quiet shimmer, like a wall of status lights or a screen of pixels. Status pages, AI products, and data-heavy heroes use it as a texture behind a headline.

With thousands of squares, draw it on a <canvas> instead of creating elements. Keep one opacity per square in an array, give each square a small chance per frame to pick a new value, and redraw. A radial mask-image fades the grid toward the edges so it melts into the page. A related pattern lights up a handful of larger grid cells at a time.

Keep opacities low, roughly 0 to 40%, so text on top stays readable, and keep the flicker gentle: fast, high-contrast blinking is uncomfortable for people sensitive to flashing. Scale the canvas for devicePixelRatio, stop the loop when the section is off screen, and draw a single still frame under prefers-reduced-motion.

Often confused with

Grid background
A grid background is a still or slowly drifting pattern of lines or dots. A flickering grid keeps changing the brightness of each square at random.
All terms

Grid background

A decorative background of thin grid lines, dots, stripes, or hexagons, often faded toward the edges, used behind hero sections and product shots.

Glyph matrix

A grid of characters or symbols that keep switching at random and fading in and out, used as a digital or ASCII-style texture.

Mask

A CSS technique that uses an image or gradient to set how visible each part of an element is, often used to fade edges softly.

Reduced motion

An operating system setting that asks apps to minimize movement, which websites detect with the prefers-reduced-motion media query.

Build it with Layerwise

Describe your app, watch it run in a live preview, and publish it with a database, storage, and sign-in built in.