{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "footer-10",
  "dependencies": [
    "react-icons"
  ],
  "registryDependencies": [
    "input"
  ],
  "files": [
    {
      "path": "src/components/watermelon-ui/footer-10.tsx",
      "content": "import * as React from 'react';\n\nimport { Input } from '@/components/ui/input';\nimport {\n  FaArrowRight,\n} from 'react-icons/fa6';\n\nexport interface Footer10NavLink {\n  label: string;\n  href: string;\n}\n\nexport interface Footer10LinkColumn {\n  title: string;\n  links: Footer10NavLink[];\n}\n\nexport interface Footer10Props {\n  /** Small label for the top-left banner badge */\n  bannerTagline?: string;\n  /** Large heading displayed inside the top dark banner */\n  bannerHeading?: string;\n  /** Text for the CTA button in the top banner */\n  bannerCtaLabel?: string;\n  /** Href for the CTA button in the top banner */\n  bannerCtaHref?: string;\n  /** Background image URL for the upper dark banner */\n  bannerBackgroundImage?: string;\n  /** Label for the contact area (e.g. \"Reach out :\") */\n  contactLabel?: string;\n  /** Contact email address */\n  contactEmail?: string;\n  /** Custom href for the contact email link */\n  contactEmailHref?: string;\n  /** Custom description text displayed on the left column */\n  description?: string;\n  /** Placeholder for the newsletter email input */\n  newsletterPlaceholder?: string;\n  /** Action handler when subscribing to the newsletter */\n  onSubscribe?: (email: string) => void;\n  /** Navigation links grouped into columns */\n  linkColumns?: Footer10LinkColumn[];\n  /** Custom brand logo or text at the bottom left */\n  brandName?: string;\n  /** Copyright text displayed at the bottom right */\n  copyright?: string;\n}\n\nexport function Footer10({\n  bannerTagline = 'Trusted by Thousands',\n  bannerHeading = 'Interested in working together, trying out the platform or simply learning more?',\n  bannerCtaLabel = 'Learn Our Approach',\n  bannerCtaHref = '#',\n  bannerBackgroundImage,\n  contactLabel = 'Reach out :',\n  contactEmail = 'hello@watermelon.ui',\n  contactEmailHref = 'mailto:hello@watermelon.ui',\n  description = 'Next-generation cloud platform delivering unmatched speed, security, and scalability. Designed for developers. Engineered for the future.',\n  newsletterPlaceholder = 'Email address',\n  onSubscribe,\n  linkColumns = [],\n  brandName = 'Watermelon Corp',\n  copyright = '© 2026 Watermelon Corp. All rights reserved.',\n}: Footer10Props) {\n  const [email, setEmail] = React.useState('');\n\n  const handleSubscribeSubmit = (e: React.FormEvent) => {\n    e.preventDefault();\n    if (onSubscribe && email.trim()) {\n      onSubscribe(email.trim());\n      setEmail('');\n    }\n  };\n\n\n\n  return (\n    <footer className=\"text-foreground selection:bg-primary/20 w-full \">\n      <div className=\"mx-auto w-full max-w-7xl bg-[#FFF6F6] pb-10\">\n        <div className=\"bg-primary text-primary-foreground relative overflow-hidden rounded-none px-6 py-12 sm:px-12 sm:py-16 md:px-16 lg:py-20\">\n          {bannerBackgroundImage && (\n            <img\n              src={bannerBackgroundImage}\n              alt=\"\"\n              aria-hidden=\"true\"\n              className=\"pointer-events-none absolute inset-0 h-full w-full object-cover opacity-90 select-none outline -outline-offset-1 outline-white/20\"\n            />\n          )}\n\n          <div className=\"relative z-10 flex h-full flex-col justify-between gap-6 sm:gap-6\">\n            <div className=\"flex flex-row items-center justify-between gap-4\">\n              <div className=\"inline-flex items-center gap-1.5 rounded-full py-1 text-xs font-medium tracking-wide\">\n                <div className=\"size-2 rounded-full bg-white\" />\n                <span className=\"font-medium text-white/80\">\n                  {bannerTagline}\n                </span>\n              </div>\n            </div>\n            <div className=\"flex flex-col gap-8 lg:flex-row lg:items-end lg:justify-between lg:gap-12\">\n              <h2 className=\"max-w-2xl text-2xl leading-tight font-light tracking-tight sm:text-3xl md:text-4xl\">\n                {bannerHeading}\n              </h2>\n\n              <div className=\"shrink-0\">\n                <a\n                  href={bannerCtaHref}\n                  className=\"group inline-flex items-center gap-2.5 rounded-full px-6 py-3 text-sm font-semibold transition-all duration-200 focus:ring-2 focus:ring-offset-2 focus:outline-none\"\n                >\n                  <span>{bannerCtaLabel}</span>\n                  <FaArrowRight className=\"h-3.5 w-3.5 fill-zinc-200 transition-transform duration-300 group-hover:translate-x-1\" />\n                </a>\n              </div>\n            </div>\n          </div>\n        </div>\n\n        <div className=\"mt-8 grid grid-cols-1 gap-12 px-8 lg:grid-cols-12 lg:gap-16\">\n          <div className=\"flex flex-col justify-between gap-2 lg:col-span-5\">\n            <div>\n              <p className=\"text-lg font-medium text-zinc-600\">\n                {contactLabel}\n              </p>\n\n              <a\n                href={contactEmailHref}\n                className=\"group focus:ring-ring inline-flex items-baseline gap-2.5 rounded text-2xl font-medium tracking-tight text-zinc-800 transition-colors duration-200 hover:text-zinc-500 focus:ring-2 focus:outline-none sm:text-3xl\"\n              >\n                <span>{contactEmail}</span>\n                <FaArrowRight className=\"size-6 fill-zinc-800 transition-all duration-200 ease-in-out group-hover:translate-x-2 group-hover:fill-zinc-600\" />\n              </a>\n            </div>\n\n            <p className=\"max-w-md text-sm leading-relaxed text-zinc-400\">\n              {description}\n            </p>\n          </div>\n\n          <div className=\"flex flex-col gap-12 lg:col-span-7\">\n            <form\n              onSubmit={handleSubscribeSubmit}\n              className=\"w-full max-w-md self-end\"\n            >\n              <div className=\"border-border flex items-center justify-between border-b-2 border-zinc-200 pb-1 transition-colors duration-200 focus-within:border-zinc-500\">\n                <Input\n                  type=\"email\"\n                  value={email}\n                  onChange={(e) => setEmail(e.target.value)}\n                  placeholder={newsletterPlaceholder}\n                  required\n                  className=\"placeholder:text-muted-foreground/60 h-10 w-full rounded-none border-0 bg-transparent px-0 text-base focus-visible:ring-0 focus-visible:ring-offset-0\"\n                  aria-label=\"Subscribe to our newsletter\"\n                />\n\n                <button\n                  type=\"submit\"\n                  className=\"group text-muted-foreground hover:text-primary focus:ring-primary/40 rounded p-2 transition-colors duration-200 focus:ring-2 focus:outline-none\"\n                  aria-label=\"Submit newsletter subscription\"\n                >\n                  <FaArrowRight className=\"fill-muted-foreground group-hover:fill-primary h-4 w-4 transition-transform duration-300 group-hover:translate-x-0.5\" />\n                </button>\n              </div>\n            </form>\n\n            {linkColumns.length > 0 && (\n              <div className=\"grid grid-cols-2 gap-8 sm:grid-cols-4 sm:gap-6\">\n                {linkColumns.map((column) => (\n                  <div key={column.title} className=\"flex flex-col\">\n                    <h3 className=\"text-zinc-900 text-sm font-medium tracking-wide uppercase\">\n                      {column.title}\n                    </h3>\n\n                    <ul className=\"mt-4 flex flex-col gap-3\">\n                      {column.links.map((link) => (\n                        <li key={link.label}>\n                          <a\n                            href={link.href}\n                            className=\"text-muted-foreground hover:text-foreground focus:ring-primary/40 rounded text-sm transition-colors duration-200 focus:ring-2 focus:outline-none\"\n                          >\n                            {link.label}\n                          </a>\n                        </li>\n                      ))}\n                    </ul>\n                  </div>\n                ))}\n              </div>\n            )}\n          </div>\n        </div>\n\n        <div className=\"mt-16 flex flex-col gap-4 px-6 sm:flex-row sm:items-center sm:justify-between\">\n          <span className=\"text-zinc-900 text-md font-medium\">\n            {brandName}\n          </span>\n\n          <span className=\"text-md font-semibold text-zinc-900\">\n            {copyright}\n          </span>\n        </div>\n      </div>\n    </footer>\n  );\n}\n",
      "type": "registry:ui",
      "target": "components/ui/footer-10.tsx"
    }
  ],
  "type": "registry:ui"
}
