Hero 240 - Subpage header with breadcrumbs and tabsPro

Inner-page hero with a navbar, breadcrumb trail, title and actions, closed by an underline tab bar whose active indicator slides between sections.

About Hero 240

Inner-page hero with a navbar, breadcrumb trail, title and actions, closed by an underline tab bar whose active indicator slides between sections.

Hero 240 is a pro hero block for React, built on shadcn/ui and Tailwind CSS with motion animations that respect reduced-motion settings. It ships as 113 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.

  • navbar
  • breadcrumbs
  • tabs
  • subpage
  • header

Installation

  1. Add the Chocolate UI registry to your components.json (see the installation guide).
  2. Run the shadcn CLI:
npx shadcn@latest add @chocolate/hero-240

Dependencies installed automatically: lucide-react, motion.

Uses: button, reveal, use-reduced-motion, utils.

Usage

import Hero240 from "@/components/blocks/hero-240"

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

FAQ