Hero 225 - Announcement bar, nav and left heroPro

Dismissible full-width announcement strip above a navbar, followed by a left-aligned headline with a logo row and an image bleeding to the right edge.

About Hero 225

Dismissible full-width announcement strip above a navbar, followed by a left-aligned headline with a logo row and an image bleeding to the right edge.

Hero 225 is a hero block for React and Tailwind CSS, included in Chocolate UI Pro. It ships as 112 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.

  • announcement
  • navbar
  • banner
  • dismissible
  • bleed

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 hero-225

Dependencies installed automatically: lucide-react.

Uses: button, reveal, utils.

Usage

import Hero225 from "@/components/blocks/hero-225"

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

FAQ