Hero 247 - On-this-page anchor barPro
Product-page hero with headline and image, closed by a sticky "on this page" bar of numbered anchor links with a sliding active chip.
About Hero 247
Product-page hero with headline and image, closed by a sticky "on this page" bar of numbered anchor links with a sliding active chip.
Hero 247 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 103 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.
- section-index
- anchors
- sticky
- product-page
Installation
- Set up your project with
npx chocolateui initandnpx chocolateui login(see the installation guide). - Run the Chocolate UI CLI:
npx chocolateui add hero-247Dependencies installed automatically: lucide-react, motion.
Uses: button, reveal, use-reduced-motion, utils.
Usage
import Hero247 from "@/components/blocks/hero-247"
export default function Page() {
return <Hero247 />
}