{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "hero-6",
  "dependencies": [
    "lucide-react",
    "motion",
    "react-icons"
  ],
  "registryDependencies": [
    "button"
  ],
  "files": [
    {
      "path": "src/components/watermelon-ui/hero-6.tsx",
      "content": "import { useState, type ReactNode } from \"react\";\nimport { AnimatePresence, motion, type Variants } from \"motion/react\";\nimport { FaBars, FaXmark } from \"react-icons/fa6\";\nimport LogoIcon from \"@/assets/logo-icon\";\n\nexport interface Hero6NavItem {\n  label: string;\n  href: string;\n}\n\nexport interface Hero6TrustedBrand {\n  name: string;\n  logo?: ReactNode;\n}\n\nexport interface Hero6Props {\n  logo?: ReactNode;\n  logoText?: string;\n  navItems?: Hero6NavItem[];\n  headerCtaText?: string;\n  headerCtaHref?: string;\n  eyebrow?: string;\n  title?: string;\n  titleAccent?: string;\n  description?: string;\n  primaryCtaText?: string;\n  primaryCtaHref?: string;\n  secondaryCtaText?: string;\n  secondaryCtaHref?: string;\n  backgroundImage?: string;\n  trustedTitle?: string;\n  trustedBrands?: Hero6TrustedBrand[];\n}\n\nconst navItemsDefault: Hero6NavItem[] = [\n  { label: \"Product\", href: \"#\" },\n  { label: \"Features\", href: \"#\" },\n  { label: \"Pages\", href: \"#\" },\n  { label: \"Use Cases\", href: \"#\" },\n  { label: \"Contact\", href: \"#\" },\n];\n\nconst trustedBrandsDefault: Hero6TrustedBrand[] = [\n  { name: \"Forbes\" },\n  { name: \"healthline\" },\n  { name: \"Bloomberg\" },\n  { name: \"The Times\" },\n];\n\nconst container: Variants = {\n  hidden: { opacity: 0 },\n  visible: {\n    opacity: 1,\n    transition: {\n      delayChildren: 0.12,\n      staggerChildren: 0.1,\n    },\n  },\n};\n\nconst item: Variants = {\n  hidden: { opacity: 0, y: 18, filter: \"blur(10px)\" },\n  visible: {\n    opacity: 1,\n    y: 0,\n    filter: \"blur(0px)\",\n    transition: { type: \"spring\", duration: 0.65, bounce: 0 },\n  },\n};\n\n\nfunction DottedButton({\n  href,\n  children,\n  className = \"\",\n}: {\n  href: string;\n  children: ReactNode;\n  className?: string;\n}) {\n  return (\n    <motion.a\n      href={href}\n      whileTap={{ scale: 0.96 }}\n      className={`inline-flex min-h-10 items-center justify-center rounded-[10px] border border-dashed border-white/80 px-6 text-xs leading-none font-semibold text-white shadow-[0_1px_0_rgba(255,255,255,0.18)_inset] outline outline-1 -outline-offset-2 outline-white/10 backdrop-blur-sm transition-[border-color,background-color,color,transform] duration-200 ease-[cubic-bezier(0.2,0,0,1)] hover:border-white hover:bg-white/10 ${className}`}\n    >\n      {children}\n    </motion.a>\n  );\n}\n\nexport function Hero6({\n  logo,\n  logoText = \"Watermelon\",\n  navItems = navItemsDefault,\n  headerCtaText = \"Learn More\",\n  headerCtaHref = \"#\",\n  title = \"Where Insight Met\",\n  titleAccent = \"Vibrant Visions.\",\n  description = \"Discover products designed to elevate your lifestyle with simplicity, elegance, and innovation.\",\n  primaryCtaText = \"Book a Session\",\n  primaryCtaHref = \"#\",\n  secondaryCtaText = \"Learn More\",\n  secondaryCtaHref = \"#\",\n  backgroundImage = \"https://assets.watermelon.sh/hero-6-bg.avif\",\n  trustedTitle = \"Trusted by seekers of calm\",\n  trustedBrands = trustedBrandsDefault,\n}: Hero6Props) {\n  const [mobileMenuOpen, setMobileMenuOpen] = useState(false);\n\n  return (\n    <section className=\"relative flex  w-full overflow-hidden text-white antialiased min-h-screen font-sans\">\n      <div className=\"absolute inset-0\">\n        <img\n          src={backgroundImage}\n          alt=\"\"\n          aria-hidden=\"true\"\n          className=\"h-full w-full object-cover object-center opacity-100 outline outline-1 outline-white/10\"\n        />\n        <div className=\"absolute inset-0 bg-sky-950/10\" />\n      \n      </div>\n\n      <div className=\"relative z-10 flex min-h-[700px] w-full flex-col px-4 py-3 sm:min-h-screen sm:px-8 lg:px-12 \">\n        <motion.header\n          initial={{ opacity: 0, y: -14, filter: \"blur(8px)\" }}\n          whileInView={{ opacity: 1, y: 0, filter: \"blur(0px)\" }}\n          viewport={{ once: true, amount: 0.6 }}\n          transition={{ type: \"spring\", duration: 0.6, bounce: 0 }}\n          className=\"flex items-center justify-between \"\n        >\n          <a href=\"#\" className=\"flex min-h-10 items-center justify-center gap-2.5\">\n            {logo ?? <LogoIcon className=\"size-8\" />}\n            <span className=\"text-xl leading-none font-light font-sans tracking-normal text-white\">\n              {logoText}\n              <span className=\"text-amber-300\">.</span>\n            </span>\n          </a>\n\n          <nav className=\"hidden items-center gap-11 md:flex\">\n            {navItems.map((navItem) => (\n              <a\n                key={navItem.label}\n                href={navItem.href}\n                className=\"min-h-10 content-center text-md font-normal font-sans text-white/95 transition-colors duration-200 hover:text-amber-200\"\n              >\n                {navItem.label}\n              </a>\n            ))}\n          </nav>\n\n          <div className=\"hidden md:block\">\n            <DottedButton href={headerCtaHref} className=\"font-sans\">{headerCtaText}\n\n            </DottedButton>\n          </div>\n\n          <button\n            type=\"button\"\n            aria-label=\"Open navigation menu\"\n            onClick={() => setMobileMenuOpen(true)}\n            className=\"flex min-h-10 min-w-10 items-center justify-center rounded-[10px] border border-dashed border-white/70 text-white backdrop-blur-sm transition-[background-color,transform] duration-200 active:scale-[0.96] md:hidden\"\n          >\n            <FaBars className=\"h-4 w-4\" />\n          </button>\n        </motion.header>\n\n        <AnimatePresence initial={false}>\n          {mobileMenuOpen && (\n            <motion.div\n              initial={{ opacity: 0, y: -12, filter: \"blur(8px)\" }}\n              animate={{ opacity: 1, y: 0, filter: \"blur(0px)\" }}\n              exit={{ opacity: 0, y: -8, filter: \"blur(6px)\" }}\n              transition={{ type: \"spring\", duration: 0.3, bounce: 0 }}\n              className=\"fixed inset-x-4 top-4 z-50 rounded-2xl bg-sky-950/92 p-4 shadow-2xl shadow-sky-950/50  outline-1 outline-white/10 backdrop-blur-xl md:hidden\"\n            >\n              <div className=\"flex items-center justify-between pl-3\">\n                <a href=\"#\" className=\"flex items-center gap-2.5\">\n                  {logo ?? <LogoIcon className=\"size-8\" />}\n                  <span className=\"text-xl font-medium text-white\">\n                    {logoText}\n                    <span className=\"text-amber-300\">.</span>\n                  </span>\n                </a>\n                <button\n                  type=\"button\"\n                  aria-label=\"Close navigation menu\"\n                  onClick={() => setMobileMenuOpen(false)}\n                  className=\"flex min-h-10 min-w-10 items-center justify-center rounded-[10px] text-white transition-[background-color,transform] duration-200 hover:bg-white/10 active:scale-[0.96]\"\n                >\n                  <FaXmark className=\"h-5 w-5\" />\n                </button>\n              </div>\n\n              <nav className=\"mt-6 grid gap-1\">\n                {navItems.map((navItem) => (\n                  <a\n                    key={navItem.label}\n                    href={navItem.href}\n                    onClick={() => setMobileMenuOpen(false)}\n                    className=\"rounded-xl px-3 py-3 text-base font-semibold text-white transition-colors duration-200 hover:bg-white/10\"\n                  >\n                    {navItem.label}\n                  </a>\n                ))}\n              </nav>\n\n              <DottedButton href={headerCtaHref} className=\"mt-5 w-full\">\n                {headerCtaText}\n              </DottedButton>\n            </motion.div>\n          )}\n        </AnimatePresence>\n\n        <motion.div\n          variants={container}\n          initial=\"hidden\"\n          whileInView=\"visible\"\n          viewport={{ once: true, amount: 0.38 }}\n          className=\"mx-auto flex w-full max-w-5xl flex-1 flex-col items-center justify-start pt-26 pb-12 text-center sm:pt-20 lg:pt-24\"\n        >\n          <motion.h1\n            variants={item}\n            className=\"max-w-[820px] text-[clamp(3rem,8vw,4.8rem)] leading-[0.92] font-light tracking-normal text-balance text-white\"\n          >\n            <span className=\"block tracking-tight\">{title}</span>\n            <span className=\"mt-2 block font-serif text-[0.9em] font-normal italic\">\n              {titleAccent}\n            </span>\n          </motion.h1>\n\n          {description && (\n            <motion.p\n              variants={item}\n              className=\"mt-8 max-w-[480px] text-sm leading-6 font-normal text-pretty text-white/90 sm:text-[15px]\"\n            >\n              {description}\n            </motion.p>\n          )}\n\n          <motion.div\n            variants={item}\n            className=\"mt-7 flex flex-wrap items-center justify-center gap-4\"\n          >\n            <motion.a\n              href={primaryCtaHref}\n              whileTap={{ scale: 0.96 }}\n              className=\"inline-flex min-h-10 items-center justify-center rounded-[10px] bg-amber-300 px-6 text-sm font-medium font-sans text-sky-950 shadow-[0_1px_0_rgba(255,255,255,0.5)_inset,0_14px_30px_rgba(250,204,21,0.18),inset_0_-1px_0.5px_0_rgba(0,0,0,0.5)] transition-[background-color,transform,box-shadow] duration-200 ease-[cubic-bezier(0.2,0,0,1)] hover:bg-amber-200\"\n            >\n              {primaryCtaText}\n            </motion.a>\n\n            <DottedButton href={secondaryCtaHref} className=\"text-sm font-medium font-sans bg-yellow-100/10\">\n              {secondaryCtaText}\n            </DottedButton>\n          </motion.div>\n        </motion.div>\n\n        <motion.div\n          variants={container}\n          initial=\"hidden\"\n          whileInView=\"visible\"\n          viewport={{ once: true, amount: 0.6 }}\n          className=\"mx-auto mb-12 w-full max-w-4xl text-center sm:mb-20 \"\n        >\n          {trustedTitle && (\n            <motion.p\n              variants={item}\n              className=\"text-sm font-light tracking-tight text-white\"\n            >\n              {trustedTitle}\n            </motion.p>\n          )}\n\n          <motion.div\n            variants={item}\n            className=\"mt-5 grid grid-cols-2 items-center justify-items-center gap-x-8 gap-y-4 sm:flex sm:flex-wrap sm:justify-center sm:gap-5 pb-6\"\n          >\n            {trustedBrands.map((brand) => (\n              <span\n                key={brand.name}\n                className=\"font-sans text-[clamp(1.25rem,3vw,1.75rem)] leading-none font-bold text-white/75 drop-shadow-[0_1px_8px_rgba(255,255,255,0.18)] truncate\"\n              >\n                {brand.logo ?? brand.name}\n              </span>\n            ))}\n          </motion.div>\n        </motion.div>\n      </div>\n    </section>\n  );\n}\n",
      "type": "registry:ui",
      "target": "components/ui/hero-6.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"
}
