UI Library for Design Engineers. Animated components and effects you can copy and paste into your apps. Free. Open Source.
import { HeroVideoDialog } from "@/registry/magicui/hero-video-dialog"
export default function HeroVideoDialogDemoTopInBottomOut() {
return (
<div className="relative">
<HeroVideoDialog
className="block dark:hidden"
animationStyle="top-in-bottom-out"
videoSrc="https://www.youtube.com/embed/qh3NGpYRG3I?si=4rb-zSdDkVK9qxxb"
thumbnailSrc="https://startup-template-sage.vercel.app/hero-light.png"
thumbnailAlt="Hero Video"
/>
<HeroVideoDialog
className="hidden dark:block"
animationStyle="top-in-bottom-out"
videoSrc="https://www.youtube.com/embed/qh3NGpYRG3I?si=4rb-zSdDkVK9qxxb"
thumbnailSrc="https://startup-template-sage.vercel.app/hero-dark.png"
thumbnailAlt="Hero Video"
/>
</div>
)
}