Logo

Voxlet UI

Animated Beams Grid Background

A sleek animated grid background featuring beams of light for modern UIs and hero sections.

Installation

Install this component and its dependencies with a single command.

npx shadcn@latest add https://ui.voxletstudio.com//r/animated-beams-grid-background.json

Once your project registers the @voxlet namespace, this also works: npx shadcn@latest add @voxlet/animated-beams-grid-background

GridBeamsProps

PropTypeDefaultDescription
beamColorstring | string[]#ffffffColor of the beams. Can be a single hex string or an array of multiple colors.
gridSizenumber150Spacing between grid lines and points in pixels.
beamSizenumber1.5Thickness of each animated beam.
beamDurationnumber1Base duration (in seconds) for beams to animate across the grid.
showBeamsbooleantrueToggle to enable or disable animated beams (grid and points still render).
Brought to you by Voxlet Studio