Skip to content
ProLifetime access for $199, paid once, every future release included
Truffle UI

Meteors

Pro

Streaks of light falling across a container at random intervals.

Installation

pnpm dlx shadcn@latest add @viewport/meteors

First time? Add the @viewport registry to components.json. Setup takes one minute.

Usage

The code behind the preview above comes with Truffle Pro.

Props

PropTypeDefault
countnumber

How many meteors to render.

14
anglenumber

Travel angle in degrees.

215
classNamestring—

Accessibility

  • Decorative and aria-hidden.
  • Positions are seeded, so server and client markup always match.
  • Hidden entirely under reduced motion.