66 · video-media-sectionsMedia & Data Display5 Variations
Video and Media Sections
Five configurable video and media components reserving explicit aspect-video geometry with poster/video props: video hero stage, inline playable video cards, native light-dismiss <dialog> media lightbox, stage+thumbnail media gallery, and split video+editorial layout.
videomedialightboxgallerydialogposter
Video Hero
video-media-sections/video-hero
Loading variation video-media-sections/video-hero...
Component Information
Full-width aspect-locked hero supporting custom posterUrl / videoUrl inputs, mute/play preview controls, and CTA dispatch.
- Variation ID
- video-media-sections/video-hero
- Motion Engine
- css
- Source File
- src/labs/components/components/video-media-sections/variations/video-hero.tsx
Reduced Motion & Accessibility
Static gradient legibility layer and explicit aspect-video reservation.
- Play/mute controls expose aria-pressed and screen-reader status feedback.
Dependencies
- lucide-react^0.553.0Required
Play, Pause, Volume2, VolumeX, and ArrowRight icons
Usage Documentation
import { VideoHeroSection } from '@/src/labs/components/components/video-media-sections';
export function ReelHero() {
return <VideoHeroSection />;
}Props API (3)
| Prop | Type | Default | Description |
|---|---|---|---|
| heading | string | — | Hero title. |
| items | readonly MediaItem[] | — | Media items with videoUrl and posterUrl. |
| ctaLabel | string | — | Hero action button text. |