Hero 249 - Full-viewport chapters with numbered indexPro

Viewport-tall image hero split into chapters; a bottom bar shows the chapter list with progress lines, a 01 / 04 counter and prev/next buttons that crossfade image and headline.

About Hero 249

Viewport-tall image hero split into chapters; a bottom bar shows the chapter list with progress lines, a 01 / 04 counter and prev/next buttons that crossfade image and headline.

Hero 249 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 110 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.

  • full-viewport
  • chapters
  • index
  • carousel
  • bottom-anchored

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-249

Dependencies installed automatically: lucide-react, motion.

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

Usage

import Hero249 from "@/components/blocks/hero-249"

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

FAQ