BackgroundsNew

Meteors

Thin shooting stars streak across at an angle. Light motion behind a headline.

Customize

color
tailColor

Based on Meteors (MIT license) ยท Terms of use

More in Pro

View all

Props

9 properties
PropertyTypeDefaultDescription
numbernumber20How many meteors.
anglenumber215Fall angle in degrees.
minDelaynumber0.2Shortest delay before a meteor starts, in seconds.
maxDelaynumber1.2Longest delay before a meteor starts, in seconds.
minDurationnumber2Fastest flight, in seconds.
maxDurationnumber10Slowest flight, in seconds.
colorstring"rgba(255, 255, 255, 0.7)"Colour of the meteor head.
tailColorstring"rgba(255, 255, 255, 0.5)"Colour at the start of the tail, which then fades out.
classNamestringโ€”Classes for each meteor, e.g. another color.

Dependencies

2 required packages

npm install clsx tailwind-merge

Related components

View all