A production-ready React hero section built with GSAP ScrollTrigger and optional Lenis smooth scrolling, it auto-respects system dark/light mode and ships with a bold, modern typographic style.
What’s inside
Sticky, expanding media container (video or image) with depth darkening
Overlay that reveals on scroll with caption, heading, paragraphs, and a slot for CTAs
Headline “film-roll” exit animation
Fully prop-driven API (layout, easing, blur, scroll length, toggles)
System theme only (no manual overrides) via color-scheme + prefers-color-scheme
Single-file component, SSR-safe dynamic imports (Next.js friendly)
Clean teardown of ScrollTriggers/Lenis to prevent leaks