0Views
0Copies
API Reference
Props for <MeteorGrid />
| Prop | Type | Default | Description |
|---|---|---|---|
| backgroundColor | string | "#060405" | The sky and the fog the far blocks fade into. |
| blockColor | string | "#2d2a2e" | The graphite of the blocks. |
| glowColor | string | "#bb3414" | The light under the field, rising between the blocks, and the haze along the horizon. |
| scanColor | string | "#fbac2d" | The scan waves, the shield's hexagons where a meteor breaks, a saved block and the click pulse. |
| meteorColor | string | "#ee2301" | The meteors, their trail and dashed path, and the block they aim at. |
| shardColor | string | "#ff6a3d" | The shards a meteor breaks into. |
| waves | number | 2 | Scan waves crossing the field at once. |
| waveDuration | number | 8 | How long a scan wave takes to cross the field. |
| waveWidth | number | 12 | How wide a scan wave is; larger lifts more blocks at once. |
| waveLift | number | 0.32 | How much a scan wave lifts the blocks it passes, as a share of their height. |
| fieldHeight | number | 1.1 | How tall the field rolls, in blocks. |
| wallGlow | number | 0.35 | How bright the wall of light leading each wave is; 0 removes it. |
| meteorInterval | number | 3.6 | Seconds between meteors. |
| meteorFlight | number | 2.2 | How long a meteor takes to reach the shield. |
| pulseSpeed | number | 16 | How fast the click pulse's ring travels, in blocks a second. |
| parallax | number | 0.8 | How far the camera leans toward the cursor, in blocks; 0 holds it still. |
| bloom | number | 0.5 | Glow around the brightest light; 0 turns it off. |
| vignette | number | 0.45 | How dark the corners are. |
| meteors | boolean | true | Meteors come down on the field and break on an invisible shield above it. |
| clickPulse | boolean | true | A click on the field sends a pulse ringing out through the blocks, breaking every meteor in flight. |
| riseIn | boolean | true | The field rises out of the floor when it first shows; off starts it complete. |
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
meteorsandclickPulse, and lowerwavesandbloom, for a calmer field.
FAQs#
Yes. It works on every account, and anything you install is yours to keep.
Turn off meteors and clickPulse, and lower waves and bloom.
Meteor Grid fills its parent, so give the parent a height, such as h-screen for a full-screen section.
It uses WebGL and post-processing, so test it on the lowest-powered device you support. Setting bloom or
vignette to 0 removes those effects.