Banner 9 - Promo code with copy buttonPro
Light top bar showing a discount message and a dashed promo-code chip that copies to the clipboard.
About Banner 9
Light top bar showing a discount message and a dashed promo-code chip that copies to the clipboard.
Banner 9 is a pro banner block for React, built on shadcn/ui and Tailwind CSS. It ships as 68 lines of TypeScript you own: every piece of copy is a prop with a sensible default, so you can drop it in and replace the content without touching the layout.
- promo
- coupon
- copy
- discount
Installation
- Add the Chocolate UI registry to your
components.json(see the installation guide). - Run the shadcn CLI:
npx shadcn@latest add @chocolate/banner-09Dependencies installed automatically: lucide-react.
Uses: use-copy, utils.
Usage
import Banner09 from "@/components/blocks/banner-09"
export default function Page() {
return <Banner09 />
}