Hero 226 - Transparent nav over full-viewport photoPro

Full-height photograph with a transparent navbar on top and the headline, copy and CTA anchored to the bottom over a soft scrim.

About Hero 226

Full-height photograph with a transparent navbar on top and the headline, copy and CTA anchored to the bottom over a soft scrim.

Hero 226 is a pro hero block for React, built on shadcn/ui and Tailwind CSS. It ships as 85 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
  • transparent
  • full-viewport
  • image
  • 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-226

Dependencies installed automatically: lucide-react.

Uses: button, reveal, utils.

Usage

import Hero226 from "@/components/blocks/hero-226"

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

FAQ