{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "onboarding4",
  "title": "Video Introduction Screen",
  "description": "Welcome screen featuring a video thumbnail with play overlay and duration badge. Perfect for product tours that use video content to demonstrate features.",
  "dependencies": [
    "clsx",
    "tailwind-merge",
    "lucide-react"
  ],
  "registryDependencies": [
    "badge",
    "button"
  ],
  "files": [
    {
      "path": "registry/onboarding4/onboarding4.tsx",
      "content": "\"use client\";\n\nimport { Play, SkipForward } from \"lucide-react\";\n\nimport { Badge } from \"@/components/ui/badge\";\nimport { Button } from \"@/components/ui/button\";\nimport Link from \"next/link\";\nimport { cn } from \"@/lib/utils\";\n\ninterface Onboarding4Props {\n  badge?: string;\n  heading?: string;\n  description?: string;\n  video?: {\n    thumbnailSrc: string;\n    thumbnailAlt: string;\n    duration?: string;\n  };\n  primaryButton?: {\n    label: string;\n    href: string;\n  };\n  secondaryButton?: {\n    label: string;\n    href: string;\n  };\n  className?: string;\n}\n\nexport const onboarding4Demo: Onboarding4Props = {\n  badge: \"Quick Tour\",\n  heading: \"See how it works\",\n  description: \"Watch a 2-minute video to learn the basics and get up to speed quickly.\",\n  video: {\n    thumbnailSrc:\n      \"https://images.unsplash.com/photo-1485846234645-a62644f84728?q=80&w=2918&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D\",\n    thumbnailAlt: \"Video thumbnail\",\n    duration: \"2:15\",\n  },\n  primaryButton: {\n    label: \"Watch Video\",\n    href: \"https://beste.co\",\n  },\n  secondaryButton: {\n    label: \"Skip\",\n    href: \"https://beste.co\",\n  },\n};\n\nexport function Onboarding4({\n  badge,\n  heading,\n  description,\n  video,\n  primaryButton,\n  secondaryButton,\n  className,\n}: Onboarding4Props) {\n  return (\n    <section className={cn(\"py-16 md:py-24 w-full\", className)}>\n      <div className=\"mx-auto max-w-3xl px-4 md:px-6\">\n        <div className=\"flex flex-col items-center text-center\">\n          {/* Badge */}\n          {badge && (\n            <Badge variant=\"outline\" className=\"mb-4\">\n              <Play className=\"mr-1 size-3\" />\n              {badge}\n            </Badge>\n          )}\n\n          {/* Heading */}\n          {heading && <h1 className=\"mb-3 text-3xl font-bold md:text-4xl\">{heading}</h1>}\n\n          {/* Description */}\n          {description && (\n            <p className=\"mb-8 max-w-xl text-lg text-muted-foreground\">{description}</p>\n          )}\n\n          {/* Video Thumbnail */}\n          {video && (\n            <div className=\"group relative mb-8 aspect-video w-full cursor-pointer overflow-hidden rounded-xl border bg-muted\">\n              <img\n                className=\"absolute inset-0 size-full object-cover transition-transform group-hover:scale-105\"\n                src={video.thumbnailSrc}\n                alt={video.thumbnailAlt}\n              />\n              {/* Play button overlay */}\n              <div className=\"absolute inset-0 flex items-center justify-center bg-black/30 transition-colors group-hover:bg-black/40\">\n                <div className=\"flex size-16 items-center justify-center rounded-full bg-white/90 shadow-lg transition-transform group-hover:scale-110\">\n                  <Play className=\"size-6 fill-current text-primary\" />\n                </div>\n              </div>\n              {/* Duration badge */}\n              {video.duration && (\n                <div className=\"absolute bottom-3 right-3 rounded bg-black/70 px-2 py-1 text-xs font-medium text-white\">\n                  {video.duration}\n                </div>\n              )}\n            </div>\n          )}\n\n          {/* Buttons */}\n          <div className=\"flex flex-col gap-3 sm:flex-row\">\n            {primaryButton && (\n              <Button size=\"lg\" asChild>\n                <Link href={primaryButton.href}>\n                  <Play className=\"size-4\" />\n                  {primaryButton.label}\n                </Link>\n              </Button>\n            )}\n            {secondaryButton && (\n              <Button variant=\"ghost\" size=\"lg\" asChild>\n                <Link href={secondaryButton.href}>\n                  <SkipForward className=\"size-4\" />\n                  {secondaryButton.label}\n                </Link>\n              </Button>\n            )}\n          </div>\n        </div>\n      </div>\n    </section>\n  );\n}\n",
      "type": "registry:component",
      "target": "components/beste/block/onboarding4.tsx"
    }
  ],
  "type": "registry:block"
}