Hero 93 - Before and after drag sliderPro
Centered pitch above a wide image comparison with a draggable, keyboard-accessible divider and before/after labels.
About Hero 93
Centered pitch above a wide image comparison with a draggable, keyboard-accessible divider and before/after labels.
Hero 93 is a pro hero block for React, built on shadcn/ui and Tailwind CSS. It ships as 107 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
- comparison
- slider
- interactive
Installation
- Add the Chocolate UI registry to your
components.json(see the installation guide). - Run the shadcn CLI:
npx shadcn@latest add @chocolate/hero-93Dependencies installed automatically: lucide-react.
Uses: button, reveal, utils.
Usage
import Hero93 from "@/components/blocks/hero-93"
export default function Page() {
return <Hero93 />
}