# Upgrade Banner

> An animated promotional banner component with floating gear icons and hover effects. Inspired by Vercel's upgrade prompts.  Features - Smooth entrance animation - Interactive floating gear icons on hover - Dark mode support - Customizable button text and description - Optional close button - Responsive design - Accessible button interactions  Perfect for: - Premium feature promotions - Upgrade notifications - Subscription upsells - Feature announcements  Props - `buttonText` - Primary call-to-action text (default: "Upgrade to Pro") - `description` - Secondary descriptive text - `onClose` - Optional callback for close button - `onClick` - Callback for main button click - `className` - Additional CSS classes

- Author: [Victor Welander](https://21st.dev/@victorwelander)
- License: mit
- Tags: Landing Page, Banner, Upgrade, Hero, Announcement
- npm dependencies: lucide-react, framer-motion
- Live preview: https://21st.dev/@victorwelander/components/upgrade-banner

## Install

```bash
npx shadcn@latest add "https://21st.dev/r/victorwelander/upgrade-banner?api_key=$API_KEY_21ST"
```

Requires a 21st API key (generate one at https://21st.dev/mcp) passed as `API_KEY_21ST`. Free accounts get a limited number of installs per day; unlimited on a paid plan — see https://21st.dev/pricing.

Full component directory: https://21st.dev/llms.txt · More like this: https://21st.dev/community/components/s/landing-page.md
