Browse components
Meteors
Shooting stars streak across the container. Pure CSS, SSR-safe.
Installation
npx shadcn@latest add @glint-ui/meteorsFirst time using @glint-ui? Add the registry to components.json once, or install by URL: npx shadcn@latest add https://glint-ui-seven.vercel.app/r/meteors.json
Usage
import { Meteors } from "@/components/ui/meteors";
<div className="relative h-96 overflow-hidden">
<Meteors />
</div>Props
| Prop | Type | Default | Description |
|---|---|---|---|
| count | number | 20 | Number of meteors. |
| color | string | "#e4e4e7" | Meteor color. |
| angle | number | 215 | Travel direction in degrees. |
| className | string | — | Extra classes for the root element. |