Copy a prompt for your AI coding tool with the source, dependencies and usage
Props
MeteorsProps
Also accepts all props of React.ComponentProps<"div">
| Prop | Type | Default | Description |
|---|---|---|---|
| count | number | 20 | Number of streaks |
| color | string | "currentColor" | Streak color, any CSS color. Defaults to the inherited text color |
| minDuration | number | 3 | Shortest fall time in seconds |
| maxDuration | number | 8 | Longest fall time in seconds |
| seed | number | 0 | Seed to get a different but still deterministic arrangement |
Install
$ npx shadcn@latest add https://chromotion.dev/r/meteors.json