Hero 74 - Video background with posterPro

Full-height looping background video (poster image fallback) under centered copy, with an accessible play/pause toggle.

About Hero 74

Full-height looping background video (poster image fallback) under centered copy, with an accessible play/pause toggle.

Hero 74 is a pro hero block for React, built on shadcn/ui and Tailwind CSS. It ships as 98 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
  • background
  • full-bleed
  • centered

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-74

Dependencies installed automatically: lucide-react.

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

Usage

import Hero74 from "@/components/blocks/hero-74"

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

FAQ