Hero 62 - Screenshot that expands on scrollPro

Centered copy over an inset screenshot that widens from a contained card to the full container width and loses its corner radius as you scroll.

About Hero 62

Centered copy over an inset screenshot that widens from a contained card to the full container width and loses its corner radius as you scroll.

Hero 62 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 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.

  • scroll
  • expand
  • screenshot
  • centered
  • motion

Installation

  1. Set up your project with npx chocolateui init and npx chocolateui login (see the installation guide).
  2. Run the Chocolate UI CLI:
npx chocolateui add hero-62

Dependencies installed automatically: lucide-react, motion.

Uses: button, reveal, utils.

Usage

import Hero62 from "@/components/blocks/hero-62"

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

FAQ