Backgroundsexperimental
Perseid
Meteor shower
A meteor shower with bright heads, tapered trails and real depth.
Customize
Showercounts are clamped; the angle leans the whole field
18
count1.00
speed24 °
anglepaletteNameparallaxUsage
<Perseid />Generated from the controls above. Only props that differ from their defaults are shown.
Props
| Property | Type | Default | Description |
|---|---|---|---|
count | number | 18 | Meteors. Range 0 to 60. |
speed | number | 1 | Speed. Range 0.2 to 3. |
angle | number | 24 | Angle. Range -70 to 70 °. |
parallax | boolean | false | Lean with the pointer. |
children | ReactNode | — | Content laid over the sky. |
colors | string[] | PERSEID_COLORS | The palette meteors are drawn from. |
seed | number | — | Fixes the sky, so the same seed gives the same meteors every time. |
disabled | boolean | false | Holds a still sky instead of animating. |
Dependencies
0 external runtime dependencies
Ships with nothing but React.
Experimental: still under evaluation and not part of the published package yet.