Shooting Stars

Random shooting stars effect with customizable trails.

Properties

#ffffff

Color of the stars

10

Minimum speed

30

Maximum speed

1000

Minimum delay (ms)

3000

Maximum delay (ms)

Installation

npm install @reactomega/ui

Usage

import { ShootingStars } from '@reactomega/ui';

export default function App() {
  return (
    <div className="relative w-full h-screen bg-black">
      <ShootingStars minDelay={1000} maxDelay={3000} />
    </div>
  );
}