Sections
VideoHero
Full-screen hero with optional background video and overlay
Quick Preview
Installation
# No extra dependencies
// Copy component fromsrc/components/sections/VideoHero.tsx
Usage
import VideoHero from '@/components/sections/VideoHero'<VideoHeroheadline="Your hero headline"body="Supporting description text."videoSrc="/video/hero.mp4"posterSrc="/images/hero-poster.jpg"ctaPrimary={{ label: 'Watch demo', href: '#' }}/>
Prompt Preview
Copy a prompt that recreates this UI
Paste this into your AI coding assistant to generate code that closely matches the reference, including color, size, shape, typography, spacing, and polish.
Copy-ready AI prompt
Starts from the current visual reference and project constraints.
Tweak only product-specific copy or data after the first generation pass.
Props
| Prop | Type | Default | Description |
|---|---|---|---|
headline | string | - | Large headline |
videoSrc | string | - | MP4 video URL |
ctaPrimary | { label: string; href: string } | - | Primary CTA |
ctaSecondary | { label: string; href: string } | - | Secondary CTA |