{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "hero-14",
  "dependencies": [
    "lucide-react",
    "motion",
    "react-icons"
  ],
  "registryDependencies": [
    "button"
  ],
  "files": [
    {
      "path": "src/components/watermelon-ui/hero-14.tsx",
      "content": "\"use client\";\n\nimport LogoIcon from \"@/assets/logo-icon\";\nimport { ArrowRight, ChevronDown } from \"lucide-react\";\nimport { FaGithub as Github, FaFigma as Figma, FaSlack as Slack, FaTwitch as Twitch } from \"react-icons/fa6\";\nimport { SiFramer as Framer } from \"react-icons/si\";\nimport { motion, type Variants } from \"motion/react\";\n\ninterface NavLink {\n  label: string;\n  href: string;\n  hasDropdown?: boolean;\n}\n\ninterface PartnerLogo {\n  name: string;\n  mark: \"github\" | \"figma\" | \"framer\" | \"slack\" | \"twitch\";\n}\n\ninterface Hero14Props {\n  brandName?: string;\n  navLinks?: NavLink[];\n  badgeText?: string;\n  headingLine1?: string;\n  headingLine2?: string;\n  description?: string;\n  primaryCtaLabel?: string;\n  primaryCtaHref?: string;\n  demoLabel?: string;\n  demoHref?: string;\n  partnerEyebrow?: string;\n  partners?: PartnerLogo[];\n  backgroundImage?: string;\n}\n\nconst navLinksDefault: NavLink[] = [\n  { label: \"Features\", href: \"#\", hasDropdown: true },\n  { label: \"Pricing\", href: \"#\", hasDropdown: true },\n  { label: \"About\", href: \"#\" },\n  { label: \"Resources\", href: \"#\" },\n  { label: \"FAQs\", href: \"#\" },\n];\n\nconst partnerLogosDefault: PartnerLogo[] = [\n  { name: \"GitHub\", mark: \"github\" },\n  { name: \"Figma\", mark: \"figma\" },\n  { name: \"Framer\", mark: \"framer\" },\n  { name: \"Slack\", mark: \"slack\" },\n  { name: \"Twitch\", mark: \"twitch\" },\n];\n\nconst containerVariants: Variants = {\n  hidden: {},\n  visible: {\n    transition: {\n      staggerChildren: 0.15,\n      delayChildren: 0.14,\n    },\n  },\n};\n\nconst riseVariants: Variants = {\n  hidden: { opacity: 0, y: 24, filter: \"blur(10px)\" },\n  visible: {\n    opacity: 1,\n    y: 0,\n    filter: \"blur(0px)\",\n    transition: { type: \"spring\", bounce: 0.25, duration: 1.2 },\n  },\n};\n\nconst logoVariants: Variants = {\n  hidden: { opacity: 0, y: 14, scale: 0.96, filter: \"blur(8px)\" },\n  visible: {\n    opacity: 1,\n    y: 0,\n    scale: 1,\n    filter: \"blur(0px)\",\n    transition: { type: \"spring\", bounce: 0.25, duration: 1.2 },\n  },\n};\n\nconst imageVariants: Variants = {\n  hidden: { opacity: 0, scale: 1.1, filter: \"blur(10px)\" },\n  visible: {\n    opacity: 1,\n    scale: 1,\n    filter: \"blur(0px)\",\n    transition: { type: \"spring\", bounce: 0.1, duration: 1.6 },\n  },\n};\n\nfunction PartnerMark({ mark }: { mark: PartnerLogo[\"mark\"] }) {\n  if (mark === \"github\") return <Github className=\"size-5\" />;\n  if (mark === \"figma\") return <Figma className=\"size-5\" />;\n  if (mark === \"framer\") return <Framer className=\"size-5\" />;\n  if (mark === \"slack\") return <Slack className=\"size-5\" />;\n  if (mark === \"twitch\") return <Twitch className=\"size-5\" />;\n\n  return null;\n}\n\nexport default function Hero14({\n  brandName = \"Watermelon\",\n  navLinks = navLinksDefault,\n  badgeText = \"AI-Powered Creativity\",\n  headingLine1 = \"Unlock the Power\",\n  headingLine2 = \"Beyond the Horizon\",\n  description = \"Where innovation meets imagination to shape the future.\",\n  primaryCtaLabel = \"Get Started\",\n  primaryCtaHref = \"#\",\n  demoLabel = \"Book Demo\",\n  demoHref = \"#\",\n  partnerEyebrow = \"Powering leading companies\",\n  partners = partnerLogosDefault,\n  backgroundImage = \"https://assets.watermelon.sh/hero-14-bg.avif\",\n}: Hero14Props) {\n  return (\n    <section className=\"relative isolate flex min-h-screen w-full overflow-hidden bg-slate-950 text-white antialiased\">\n      <motion.div\n        className=\"relative flex min-h-[680px] w-full flex-col overflow-hidden bg-slate-950 shadow-[inset_0_0_0_1px_rgba(255,255,255,0.08)] md:min-h-[720px]\"\n        initial=\"hidden\"\n        whileInView=\"visible\"\n        viewport={{ once: true, amount: 0.38 }}\n        variants={containerVariants}\n      >\n        <motion.img\n          variants={imageVariants}\n          src={backgroundImage}\n          alt=\"\"\n          className=\"absolute inset-0 h-full w-full object-cover\"\n        />\n\n        <motion.nav\n          variants={riseVariants}\n          className=\"relative z-10 mx-auto flex min-h-14 w-full max-w-[76rem] items-center justify-between border-b border-white/[0.06] px-5 py-3 sm:px-8 lg:px-12\"\n        >\n          <a\n            href=\"#\"\n            className=\"group/brand text-md inline-flex min-h-10 items-center gap-2 font-normal text-white transition-[opacity,transform] duration-200 ease-out hover:opacity-85 active:scale-[0.96]\"\n          >\n            <LogoIcon className=\"size-8\" />\n            <span>{brandName}</span>\n          </a>\n\n          <div className=\"hidden items-center gap-9 lg:flex\">\n            {navLinks.map((link) => (\n              <a\n                key={link.label}\n                href={link.href}\n                className=\"group/nav inline-flex min-h-10 items-center gap-1.5 text-sm font-normal text-white/88 transition-[color,transform] duration-200 ease-out hover:text-white active:scale-[0.96]\"\n              >\n                {link.label}\n                {link.hasDropdown ? (\n                  <ChevronDown className=\"size-3 stroke-[2.4] opacity-80 transition-transform duration-200 ease-out group-hover/nav:translate-y-0.5\" />\n                ) : null}\n              </a>\n            ))}\n          </div>\n\n          <a\n            href={demoHref}\n            className=\"group/demo inline-flex min-h-10 items-center justify-center gap-1 rounded-full bg-zinc-100 px-6 text-sm font-normal text-slate-800 shadow-[inset_0_2px_0_0_rgba(255,255,255,1),inset_0_-1px_0_0_rgba(0,0,0,0.2)] transition-[background-color,color,transform] duration-200 ease-out text-shadow-2xs hover:bg-zinc-200 hover:text-slate-950 active:scale-[0.96]\"\n          >\n            {demoLabel}\n            <ArrowRight className=\"size-3.5 transition-transform duration-200 ease-out group-hover/demo:translate-x-1\" />\n          </a>\n        </motion.nav>\n\n        <div className=\"relative z-10 mx-auto flex w-full max-w-[76rem] flex-1 flex-col items-center px-5 pt-14 pb-10 text-center sm:px-8 sm:pt-20 lg:px-12 2xl:max-w-7xl\">\n          <motion.div\n            variants={riseVariants}\n            className=\"inline-flex min-h-8 items-center gap-2 rounded-full bg-white/10 px-4 text-[11px] font-semibold text-white/74 shadow-[inset_0_0_0_1px_rgba(255,255,255,0.1),0_10px_28px_rgba(15,23,42,0.16)] backdrop-blur-md\"\n          >\n            <span className=\"size-1.5 rounded-full bg-white/80 shadow-[0_0_12px_rgba(255,255,255,0.6)]\" />\n            {badgeText}\n          </motion.div>\n\n          <motion.h1\n            variants={riseVariants}\n            className=\"mt-6 max-w-4xl text-[clamp(2.7rem,4.5vw,6.6rem)] leading-[0.98] font-light tracking-normal text-balance text-white 2xl:max-w-7xl\"\n          >\n            <span className=\"block\">{headingLine1}</span>\n            <span className=\"mt-1 block font-serif text-[1.12em] leading-[0.92] font-normal text-white italic\">\n              {headingLine2}\n            </span>\n          </motion.h1>\n\n          <motion.p\n            variants={riseVariants}\n            className=\"mt-5 max-w-xl text-sm leading-6 font-medium text-pretty text-white/62 sm:text-[15px]\"\n          >\n            {description}\n          </motion.p>\n\n          <motion.a\n            variants={riseVariants}\n            href={primaryCtaHref}\n            className=\"group/cta mt-4 inline-flex min-h-10 items-center justify-center gap-1 rounded-md bg-zinc-100 px-6 text-sm font-normal text-slate-800 shadow-[inset_0_2px_0_0_rgba(255,255,255,1),inset_0_-1px_0_0_rgba(0,0,0,0.2)] transition-[background-color,color,transform] duration-200 ease-out text-shadow-2xs hover:bg-zinc-200 hover:text-slate-950 active:scale-[0.96]\"\n          >\n            {primaryCtaLabel}\n            <ArrowRight className=\"size-3.5 transition-transform duration-200 ease-out group-hover/cta:translate-x-1\" />\n          </motion.a>\n\n          <motion.div\n            variants={containerVariants}\n            initial=\"hidden\"\n            whileInView=\"visible\"\n            viewport={{ once: true, amount: 0.8 }}\n            className=\"mt-auto w-full pb-20 sm:pb-24 lg:pb-8\"\n          >\n            <motion.p\n              variants={riseVariants}\n              className=\"text-md font-light text-white/70\"\n            >\n              {partnerEyebrow}\n            </motion.p>\n            <div className=\"mx-auto mt-2 flex max-w-3xl flex-wrap items-center justify-center gap-x-9 gap-y-5 sm:gap-x-11\">\n              {partners.map((partner, index) => (\n                <motion.div\n                  key={`${partner.name}-${partner.mark}-${index}`}\n                  variants={logoVariants}\n                  className=\"flex items-center gap-2.5 text-white/82\"\n                >\n                  <PartnerMark mark={partner.mark} />\n                  <span className=\"text-lg font-medium tracking-[-0.02em]\">\n                    {partner.name}\n                  </span>\n                </motion.div>\n              ))}\n            </div>\n          </motion.div>\n        </div>\n      </motion.div>\n    </section>\n  );\n}\n",
      "type": "registry:ui",
      "target": "components/ui/hero-14.tsx"
    },
    {
      "path": "src/assets/logo-icon.tsx",
      "content": "export default function LogoIcon({ className }: { className?: string }) {\n  return (\n    <svg\n      className={className}\n      width=\"785\"\n      height=\"506\"\n      viewBox=\"0 0 785 506\"\n      fill=\"currentColor\"\n      xmlns=\"http://www.w3.org/2000/svg\"\n    >\n      <path\n        d=\"M392.688 104.141C299.504 104.141 291.288 234.316 261.147 234.316C231.007 234.316 230.996 0 121.38 0C-30.726 0 -49.9098 505.63 121.38 505.63C196.742 505.63 218.672 442.598 252.926 442.598C287.179 442.598 322.801 505.63 392.688 505.63C462.575 505.63 496.832 442.598 531.085 442.598C565.339 442.598 587.269 505.63 662.631 505.63C833.921 505.63 814.737 0 662.631 0C553.015 0 553.004 234.316 522.864 234.316C492.723 234.316 485.872 104.141 392.688 104.141Z\"\n        fill=\"currentColor\"\n      />\n      <circle cx=\"515.226\" cy=\"332.977\" r=\"46.5892\" fill=\"black\" />\n      <circle cx=\"268.575\" cy=\"332.976\" r=\"46.5892\" fill=\"black\" />\n    </svg>\n  );\n}\n",
      "type": "registry:component",
      "target": "assets/logo-icon.tsx"
    }
  ],
  "type": "registry:ui"
}
