Hero 252 - Minimal nav with full-screen overlay menuPro
Bare header with only a wordmark and a Menu button that opens a full-section overlay of large numbered links and contact details, over a left-aligned hero with a wide image.
About Hero 252
Bare header with only a wordmark and a Menu button that opens a full-section overlay of large numbered links and contact details, over a left-aligned hero with a wide image.
Hero 252 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
- overlay-menu
- fullscreen
- minimal
- agency
Installation
- Add the Chocolate UI registry to your
components.json(see the installation guide). - Run the shadcn CLI:
npx shadcn@latest add @chocolate/hero-252Dependencies installed automatically: lucide-react, motion.
Uses: button, reveal, use-reduced-motion, utils.
Usage
import Hero252 from "@/components/blocks/hero-252"
export default function Page() {
return <Hero252 />
}