Hero 21 - Split with video thumbnailPro

Copy on the left, a video poster with a ringed play button and duration chip on the right, plus a chapter list that opens the player.

About Hero 21

Copy on the left, a video poster with a ringed play button and duration chip on the right, plus a chapter list that opens the player.

Hero 21 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 130 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.

  • video
  • split
  • play
  • chapters

Installation

  1. Add the Chocolate UI registry to your components.json (see the installation guide).
  2. Run the shadcn CLI:
npx shadcn@latest add @chocolate/hero-21

Dependencies installed automatically: lucide-react, motion.

Uses: button, reveal, use-reduced-motion, utils.

Usage

import Hero21 from "@/components/blocks/hero-21"

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

FAQ