Banner 7 - Centered pill with New badgePro

Centered announcement pill with a black "New" badge, a short headline and chevron, sitting above the page header.

About Banner 7

Centered announcement pill with a black "New" badge, a short headline and chevron, sitting above the page header.

Banner 7 is a banner block for React and Tailwind CSS, included in Chocolate UI Pro. It ships as 58 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.

  • pill
  • badge
  • centered
  • new

Installation

  1. Set up your project with npx chocolateui init and npx chocolateui login (see the installation guide).
  2. Run the Chocolate UI CLI:
npx chocolateui add banner-07

Dependencies installed automatically: lucide-react.

Uses: utils.

Usage

import Banner07 from "@/components/blocks/banner-07"

export default function Page() {
  return <Banner07 />
}

FAQ