Loading preview...

API Reference

Props for <MeteorGrid />

S

Motion score

Compositor-only

Category
Background
Framework
React
Published
Oct 23, 2026
Dependencies
Variants

Meteor Grid: a meteor animation for React

A React Three Fiber scene of graphite blocks rolling out to an ember horizon, lit from below. Scan waves sweep the field, meteors burst into shards on a hex shield, and a click sends a pulse through every block.

Use Meteor Grid as the backdrop of a hero or a full-screen section, with every color, wave, meteor and glow set by props. It's a free React component for Next.js, Vite and Astro with Tailwind CSS v4. More in this category.

What is Meteor Grid?

Meteor Grid is a React meteor animation built from real 3D blocks, not a flat image. It runs on WebGL through React Three Fiber, with bloom and a vignette to finish the look. It fills its parent, so give the parent a height and it becomes the background for whatever sits on top.

How Meteor Grid works

When it first shows, the field rises out of the floor. Scan waves then cross it, lifting the 3D blocks they pass, with a wall of light leading each one that you set with wallGlow. Use waves, waveDuration, waveWidth and waveLift to change how many waves there are and how they move.

A meteor falls every meteorInterval seconds and takes meteorFlight seconds to reach an invisible hex shield above the field, where it breaks into shards. A click sends a pulse through the blocks and breaks every meteor in flight. The camera leans toward the cursor by the amount you set in parallax.

Customization options

Turn meteors, clickPulse or riseIn off to simplify the scene, and set bloom or vignette to 0 to remove the glow or the dark corners. Every color is a prop too: Ice has cold blue floor light with cyan scans on slate blocks and violet meteors, and Toxic is a green-lit field with lime scans and hot pink meteors. It uses WebGL and post-processing, so test it on the lowest-powered device you support.

Use cases

  • Hero backdrop. Put your headline over the field. The click pulse gives visitors something to try.
  • Dark, cinematic first screens for a launch, a product or a portfolio.
  • A quieter background. Turn off meteors and clickPulse, and lower waves and bloom, for a calmer field.

FAQs