Meteors preview

Meteors

Streaks that fall across a positioned parent.

  • Group
    Effects
  • Origin
    Adapted · Magic UI · source
  • License
    MIT
  • Added
    Oct 18
npx shadcn@latest add @deank/meteors

The registry stays private. Install from the repo with a GitHub token — see the README.

Usage

import { Meteors } from "@/registry/components/meteors/meteors";

<Meteors />

Props

PropTypeDefaultDescription
number?number20How many meteors.
minDelay?number0.2
maxDelay?number1.2
minDuration?number2
maxDuration?number10
angle?number215Fall angle in degrees.
className?string

When to use

Night-sky style hero backgrounds.

When not to use

Busy layouts or behind long text.

Related

Aurora background · Ripple