Meteor Shower Component
This interactive component displays a meteor shower that automatically adapt to dark and light mode. Using the Meteors
component in your application. Adjust the number
prop to control the intensity of the meteor display.
Usage
To use the Meteors
component in your project, simply import it and set the number
prop as shown below:
Source Code
To implement the animation effect, update your tailwind.config.js
as follows:
Then, create the Meteors
component in @/app/components/Meteors.tsx
with the following structure: