GridBeam

A moving beam that travels across a grid background. Perfect for feature cards, hero sections, or CTA blocks that need a dynamic, tech-forward feel.

import { GridBeam } from "@animui/ui"

Basic

Wrap any content with GridBeam to place it on an animated grid.

Hello, GridBeam

Custom beam color

Use beamColor to change the gradient color of the animated beam.

Pink Beam

Props

PropTypeDefaultDescription
childrenReactNodeContent rendered above the grid.
cellSizenumber40Size of each grid cell in pixels.
beamColorstring"#7c3aed"Color of the animated beam.
gridColorstring"rgba(99,102,241,0.12)"Color of the grid lines.
classNamestringAdditional classes for the container.
© 2026 Steal Shadow. MIT License.Report an issue