Hero 102 - Expanding image panelsPro
Headline above a row of tall image panels; the hovered or focused panel widens like an accordion and reveals its caption.
About Hero 102
Headline above a row of tall image panels; the hovered or focused panel widens like an accordion and reveals its caption.
Hero 102 is a hero block for React and Tailwind CSS, included in Chocolate UI Pro with motion animations that respect reduced-motion settings. It ships as 90 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.
- image
- accordion
- panels
- hover
- interactive
Installation
- Set up your project with
npx chocolateui initandnpx chocolateui login(see the installation guide). - Run the Chocolate UI CLI:
npx chocolateui add hero-102Dependencies installed automatically: lucide-react, motion.
Uses: button, reveal, use-reduced-motion, utils.
Usage
import Hero102 from "@/components/blocks/hero-102"
export default function Page() {
return <Hero102 />
}