{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "hero-26",
  "dependencies": [
    "lucide-react",
    "motion"
  ],
  "registryDependencies": [
    "button"
  ],
  "files": [
    {
      "path": "src/components/watermelon-ui/hero-26.tsx",
      "content": "\"use client\";\n\nimport LogoIcon from \"@/assets/logo-icon\";\nimport { ChevronDown, Monitor, Sofa } from \"lucide-react\";\nimport { motion, type Variants } from \"motion/react\";\n\ninterface NavLink {\n  label: string;\n  href: string;\n  hasDropdown?: boolean;\n}\n\ninterface FeatureItem {\n  icon: \"sofa\" | \"monitor\";\n  title: string;\n  subtitle: string;\n}\n\ninterface Hero26Props {\n  brandName?: string;\n  navLinks?: NavLink[];\n  starCount?: number;\n  socialProofLabel?: string;\n  headingLine1?: string;\n  headingLine2?: string;\n  description?: string;\n  primaryCtaLabel?: string;\n  primaryCtaHref?: string;\n  appleHref?: string;\n  androidHref?: string;\n  bookDemoLabel?: string;\n  bookDemoHref?: string;\n  features?: FeatureItem[];\n  backgroundImage?: string;\n}\n\nconst navLinksDefault: NavLink[] = [\n  { label: \"Features\", href: \"#\", hasDropdown: true },\n  { label: \"Company\", href: \"#\", hasDropdown: true },\n  { label: \"Customers\", href: \"#\" },\n  { label: \"Security\", href: \"#\" },\n  { label: \"Resources\", href: \"#\", hasDropdown: true },\n];\n\nconst featuresDefault: FeatureItem[] = [\n  {\n    icon: \"sofa\",\n    title: \"Premium Comfort\",\n    subtitle: \"Relax in spacious, luxurious seating\",\n  },\n  {\n    icon: \"monitor\",\n    title: \"Stunning Views\",\n    subtitle: \"Marvel at the world from new heights\",\n  },\n  {\n    icon: \"sofa\",\n    title: \"Premium Comfort\",\n    subtitle: \"Relax in spacious, luxurious seating\",\n  },\n  {\n    icon: \"monitor\",\n    title: \"Stunning Views\",\n    subtitle: \"Marvel at the world from new heights\",\n  },\n];\n\nconst iconMap = {\n  sofa: Sofa,\n  monitor: Monitor,\n};\n\nconst sectionVariants: Variants = {\n  hidden: {},\n  visible: {\n    transition: {\n      staggerChildren: 0.09,\n      delayChildren: 0.04,\n    },\n  },\n};\n\nconst bgVariants: Variants = {\n  hidden: { opacity: 0, x: 30, scale: 1.04 },\n  visible: {\n    opacity: 1,\n    x: 0,\n    scale: 1,\n    transition: { duration: 1.5, ease: [0.22, 1, 0.36, 1] },\n  },\n};\n\nconst navVariants: Variants = {\n  hidden: { opacity: 0, y: -22 },\n  visible: {\n    opacity: 1,\n    y: 0,\n    transition: { type: \"spring\", stiffness: 400, damping: 30, mass: 0.7 },\n  },\n};\n\nconst starsVariants: Variants = {\n  hidden: { opacity: 0, x: -16, scale: 0.88 },\n  visible: {\n    opacity: 1,\n    x: 0,\n    scale: 1,\n    transition: { type: \"spring\", stiffness: 300, damping: 24, mass: 0.75 },\n  },\n};\n\nconst headingVariants: Variants = {\n  hidden: { opacity: 0, y: 40, x: -8 },\n  visible: {\n    opacity: 1,\n    y: 0,\n    x: 0,\n    transition: { type: \"spring\", stiffness: 160, damping: 24, mass: 1.2 },\n  },\n};\n\nconst subtitleVariants: Variants = {\n  hidden: { opacity: 0, y: 18 },\n  visible: {\n    opacity: 1,\n    y: 0,\n    transition: { type: \"spring\", stiffness: 200, damping: 30, mass: 0.9 },\n  },\n};\n\nconst ctaItemVariants: Variants = {\n  hidden: { opacity: 0, scale: 0.82, y: 10 },\n  visible: {\n    opacity: 1,\n    scale: 1,\n    y: 0,\n    transition: { type: \"spring\", stiffness: 450, damping: 26, mass: 0.6 },\n  },\n};\n\nconst ctaGroupVariants: Variants = {\n  hidden: {},\n  visible: {\n    transition: { staggerChildren: 0.1, delayChildren: 0 },\n  },\n};\n\nconst featureStripVariants: Variants = {\n  hidden: {},\n  visible: {\n    transition: { staggerChildren: 0.08, delayChildren: 0 },\n  },\n};\n\nconst featureCardVariants: Variants = {\n  hidden: { opacity: 0, y: 24 },\n  visible: {\n    opacity: 1,\n    y: 0,\n    transition: { type: \"spring\", stiffness: 280, damping: 28, mass: 0.8 },\n  },\n};\n\nfunction AppleIcon({ className }: { className?: string }) {\n  return (\n    <svg\n      viewBox=\"0 0 24 24\"\n      fill=\"currentColor\"\n      className={className}\n      aria-hidden=\"true\"\n    >\n      <path d=\"M18.71 19.5c-.83 1.24-1.71 2.45-3.05 2.47-1.34.03-1.77-.79-3.29-.79-1.53 0-2 .77-3.27.82-1.31.05-2.3-1.32-3.14-2.53C4.25 17 2.94 12.45 4.7 9.39c.87-1.52 2.43-2.48 4.12-2.51 1.28-.02 2.5.87 3.29.87.78 0 2.26-1.07 3.8-.91.65.03 2.47.26 3.64 1.98-.09.06-2.17 1.28-2.15 3.81.03 3.02 2.65 4.03 2.68 4.04-.03.07-.42 1.44-1.38 2.83M13 3.5c.73-.83 1.94-1.46 2.94-1.5.13 1.17-.34 2.35-1.04 3.19-.69.85-1.83 1.51-2.95 1.42-.15-1.15.41-2.35 1.05-3.11z\" />\n    </svg>\n  );\n}\n\nfunction AndroidIcon({ className }: { className?: string }) {\n  return (\n    <svg\n      viewBox=\"0 0 24 24\"\n      fill=\"currentColor\"\n      className={className}\n      aria-hidden=\"true\"\n    >\n      <path d=\"M17.6 9.48l1.84-3.18c.16-.31.04-.69-.26-.85-.29-.15-.65-.06-.83.22l-1.88 3.24c-2.86-1.21-6.08-1.21-8.94 0L5.65 5.67c-.19-.29-.58-.38-.87-.2-.28.17-.38.54-.21.83L6.4 9.48C3.3 11.25 1.28 14.44 1 18h22c-.28-3.56-2.3-6.75-5.4-8.52zM7 15.25c-.69 0-1.25-.56-1.25-1.25s.56-1.25 1.25-1.25 1.25.56 1.25 1.25-.56 1.25-1.25 1.25zm10 0c-.69 0-1.25-.56-1.25-1.25s.56-1.25 1.25-1.25 1.25.56 1.25 1.25-.56 1.25-1.25 1.25z\" />\n    </svg>\n  );\n}\n\nexport default function Hero26({\n  brandName = \"Watermelon\",\n  navLinks = navLinksDefault,\n  starCount = 5,\n  socialProofLabel = \"Over 3k+ Creators\",\n  headingLine1 = \"The Silent Horizon\",\n  description = \"Find peace, clarity, and direction as you move forward on your journey. Embrace every step with confidence.\",\n  primaryCtaLabel = \"Book a demo\",\n  primaryCtaHref = \"#\",\n  appleHref = \"#\",\n  androidHref = \"#\",\n  bookDemoLabel = \"Book a demo\",\n  bookDemoHref = \"#\",\n  features = featuresDefault,\n  backgroundImage = \"https://assets.watermelon.sh/hero-26-bg.avif\",\n}: Hero26Props) {\n  return (\n    <section className=\"relative isolate min-h-screen overflow-hidden bg-slate-900 font-sans text-white antialiased\">\n      {/* ── Background image ──────────────────────────────────────────── */}\n      <motion.img\n        src={backgroundImage}\n        alt=\"\"\n        aria-hidden=\"true\"\n        className=\"pointer-events-none absolute inset-0 h-full w-full object-cover object-center\"\n        variants={bgVariants}\n        initial=\"hidden\"\n        whileInView=\"visible\"\n        viewport={{ once: true, amount: 0.1 }}\n      />\n      <div className=\"absolute inset-0 h-full w-full bg-black/25\"></div>\n\n      {/* ── Main layout ───────────────────────────────────────────────── */}\n      <motion.div\n        className=\"relative flex min-h-screen w-full flex-col\"\n        initial=\"hidden\"\n        whileInView=\"visible\"\n        viewport={{ once: true, amount: 0.22 }}\n        variants={sectionVariants}\n      >\n        {/* ── Navigation ──────────────────────────────────────────────── */}\n        <motion.nav\n          variants={navVariants}\n          className=\"relative z-20 flex min-h-14 w-full items-center justify-between gap-4 px-6 py-3 sm:px-10 lg:px-14\"\n        >\n          {/* Brand */}\n          <a\n            href=\"#\"\n            className=\"inline-flex min-h-10 items-center gap-2 text-lg font-medium tracking-tight text-white transition-opacity duration-200 hover:opacity-75\"\n          >\n            <LogoIcon className=\"size-8 text-white\" />\n            {brandName}\n          </a>\n\n          {/* Center nav */}\n          <div className=\"hidden items-center gap-6 lg:flex\">\n            {navLinks.map((link) => (\n              <a\n                key={link.label}\n                href={link.href}\n                className=\"inline-flex min-h-10 items-center gap-0.5 text-[0.875rem] font-normal text-white/80 transition-[color,transform] duration-200 hover:text-white active:scale-[0.96]\"\n              >\n                {link.label}\n                {link.hasDropdown && (\n                  <ChevronDown\n                    className=\"ml-0.5 size-3.5 opacity-70\"\n                    strokeWidth={2}\n                  />\n                )}\n              </a>\n            ))}\n          </div>\n\n          {/* Book a demo CTA */}\n          <a\n            href={bookDemoHref}\n            className=\"inline-flex min-h-10 items-center justify-center rounded-none border border-white/80 bg-white px-5 text-sm font-normal text-black shadow-xs transition-[background-color,border-color,transform] duration-200 hover:border-white hover:bg-white/90 active:scale-[0.96]\"\n          >\n            {bookDemoLabel}\n          </a>\n        </motion.nav>\n\n        {/* ── Hero content ─────────────────────────────────────────────── */}\n        <div className=\"relative z-10 flex flex-1 flex-col px-6 pt-10 pb-0 sm:px-10 lg:px-14 2xl:pt-40\">\n          {/* Stars + social proof */}\n          <motion.div variants={starsVariants} className=\"flex flex-col gap-1\">\n            <div className=\"flex items-center gap-0.5\">\n              {Array.from({ length: starCount }).map((_, i) => (\n                <svg\n                  key={i}\n                  viewBox=\"0 0 16 16\"\n                  fill=\"currentColor\"\n                  className=\"size-6 text-white\"\n                  aria-hidden=\"true\"\n                >\n                  <path d=\"M8 1.5l1.75 3.54 3.91.57-2.83 2.75.67 3.89L8 10.27l-3.5 1.98.67-3.89L2.34 5.6l3.91-.57z\" />\n                </svg>\n              ))}\n            </div>\n            <p className=\"text-md font-normal tracking-wide text-white/80\">\n              {socialProofLabel}\n            </p>\n          </motion.div>\n\n          {/* Heading */}\n          <motion.h1\n            variants={headingVariants}\n            className=\"mt-4 max-w-md text-[clamp(2.8rem,5vw,6.5rem)] leading-[1.02] font-normal tracking-[-0.025em] text-balance text-white sm:max-w-2xl\"\n          >\n            {headingLine1}\n          </motion.h1>\n\n          {/* Description */}\n          <motion.p\n            variants={subtitleVariants}\n            className=\"text-md mt-5 max-w-sm leading-[1.55] font-normal text-pretty text-white/80 sm:max-w-md\"\n          >\n            {description}\n          </motion.p>\n\n          {/* CTA row */}\n          <motion.div\n            variants={ctaGroupVariants}\n            className=\"mt-7 flex flex-wrap items-center gap-4\"\n          >\n            {/* Primary CTA */}\n            <motion.a\n              variants={ctaItemVariants}\n              href={primaryCtaHref}\n              className=\"inline-flex min-h-10 items-center justify-center rounded-none border border-white/80 bg-white px-5 text-sm font-normal text-black shadow-xs transition-[background-color,border-color,transform] duration-200 hover:border-white hover:bg-white/90 active:scale-[0.96]\"\n            >\n              {primaryCtaLabel}\n            </motion.a>\n\n            {/* Apple icon */}\n            <motion.a\n              variants={ctaItemVariants}\n              href={appleHref}\n              aria-label=\"Download on the App Store\"\n              className=\"inline-flex size-10 items-center justify-center rounded-full text-white\"\n            >\n              <AppleIcon className=\"size-full\" />\n            </motion.a>\n\n            <motion.a\n              variants={ctaItemVariants}\n              href={androidHref}\n              aria-label=\"Download on Google Play\"\n              className=\"inline-flex size-10 items-center justify-center text-white\"\n            >\n              <AndroidIcon className=\"size-full\" />\n            </motion.a>\n          </motion.div>\n        </div>\n\n        {/* ── Bottom feature strip ─────────────────────────────────────── */}\n        <motion.div\n          variants={featureStripVariants}\n          initial=\"hidden\"\n          whileInView=\"visible\"\n          viewport={{ once: true, amount: 0.6 }}\n          className=\"relative z-20 mt-auto mb-10 grid grid-cols-2 place-items-center sm:grid-cols-4\"\n        >\n          {features.map((feature, i) => {\n            const Icon = iconMap[feature.icon];\n            return (\n              <motion.div\n                key={`${feature.title}-${i}`}\n                variants={featureCardVariants}\n                className=\"hidden items-start gap-3 px-5 py-4 sm:px-6 sm:py-5 md:flex\"\n              >\n                <span className=\"mt-0.5 inline-flex size-10 shrink-0 items-center justify-center rounded-md bg-white/20 text-white/80 shadow-[inset_0_0_0_1px_rgba(255,255,255,0.12)]\">\n                  <Icon className=\"size-6\" strokeWidth={1.75} />\n                </span>\n                <span className=\"leading-none\">\n                  <span className=\"text-md block font-normal text-white\">\n                    {feature.title}\n                  </span>\n                  <span className=\"mt-1 block text-sm leading-[1.4] font-normal text-white/80\">\n                    {feature.subtitle}\n                  </span>\n                </span>\n              </motion.div>\n            );\n          })}\n        </motion.div>\n      </motion.div>\n    </section>\n  );\n}\n",
      "type": "registry:ui",
      "target": "components/ui/hero-26.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"
}
