MeteorsPro
Shooting stars streaking across a card or hero.
Launch week
Something big is landing
Five days, five releases. Shooting stars included at no extra charge.
When to use
- Launch announcements, pricing highlights and dark hero cards.
When not to use
- Light, calm interfaces: the effect is loud.
Installation
Usage
Import it from @/components/ui/meteors after installing.
example.tsx
import { Meteors } from "@/components/ui/meteors";
<div className="relative overflow-hidden rounded-3xl p-8">
<Meteors count={12} />
<h3 className="relative">Launch week</h3>
</div>API reference
Meteors
Absolutely positioned streaks that fall across the parent.
| Prop | Type | Default | Description |
|---|---|---|---|
| count | number | 14 | How many meteors. |
| angle | number | 215 | Direction of travel in degrees. |
Accessibility
- Decorative and aria-hidden; not rendered under reduced motion.
Motion
- Each meteor streaks with its own speed and delay, then waits before repeating.
Responsive behavior
- Spread across the parent's width.
Performance
- Transform and opacity only; positions are deterministic so server and browser match.
Notes for AI
- Works best on dark backgrounds.
This page as Markdown, for assistants and coding agents:
/components/meteors/markdownThe full library index for assistants is at /llms.txt.
Lode222 doc pagesllms.txt