MeteorsPro
Shooting stars streaking across a card or hero.
$
pnpm dlx shadcn@latest add @lode/meteorsLive preview
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
$
pnpm dlx shadcn@latest add @lode/meteorsPro components need an API key and the registry in components.json. See CLI and API keys.
1Install the dependencies
npm install motion2Copy the source into your project
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.
count= 14
number
How many meteors.
angle= 215
number
Direction of travel in degrees.
| 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.
Related
Lode·229 doc pages·llms.txt