Launch Hero with Meteors
A framed launch announcement with falling meteors and a rotating keyword.
Installation
npx shadcn@latest add @venusui/hero-05Run this in a project set up with shadcn. If you haven’t set it up yet, run npx shadcn@latest init first.
Files added to your project
Paths use the default shadcn aliases. The CLI follows the aliases in your components.json.
@/components/ui/meteors.tsxfrom meteors@/components/ui/rotating-words.tsxfrom rotating-words@/components/hero-05.tsx
Also adds the shadcn button component if your project doesn't have it yet.
Usage
The code behind the preview above.
hero-05-demo.tsx
import { Hero05 } from "@/components/hero-05"
export default function Hero05Demo() {
return <Hero05 />
}
API reference
No props. Edit the badge, headline words and actions in the file.
Requirements
- shadcn
button, VenusUImeteorsandrotating-words. The CLI installs them with their CSS. lucide-react, React 19 and Tailwind CSS v4.
Customization
- Change the badge text for each launch day, and the rotating words to match your theme.
- Use fewer meteors (
count={12}) for a calmer panel.
Accessibility
- One
h1; screen readers hear the rotating words once. - Meteors are hidden and words stop rotating with reduced motion.
Troubleshooting
- Meteors leave the panel.
- The panel has
overflow-hidden; keep it. Unknown registry "@venusui"- Your shadcn CLI couldn’t find the namespace in the shadcn registry index. Use the latest CLI (
npx shadcn@latest), install by URL, or register it with its address:npx shadcn@latest registry add @venusui=https://venusui.com/r/{name}.json. No components.json found- Run
npx shadcn@latest initin your project first.