Starfield

A classic twinkling starfield background.

Properties

1

Animation speed multiplier

500

Number of stars in the field

#ffffff

Color of the stars

transparent

Background color

Installation

npm install @reactomega/ui

Usage

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

export default function App() {
  return (
    <div className="relative w-full h-screen bg-black">
      <Starfield speed={1} starCount={500} />
    </div>
  );
}