{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "footer-9",
  "dependencies": [
    "framer-motion",
    "motion",
    "react-icons"
  ],
  "registryDependencies": [
    "separator"
  ],
  "files": [
    {
      "path": "src/components/watermelon-ui/footer-9.tsx",
      "content": "import { type ReactNode } from 'react';\nimport { motion, type Variants } from 'motion/react';\nimport { Separator } from '@/components/ui/separator';\nimport { FaArrowUpRightFromSquare } from 'react-icons/fa6';\n\nexport interface Footer9SocialLink {\n  label: string;\n  href: string;\n}\n\nexport interface Footer9NavLink {\n  label: string;\n  href: string;\n}\n\nexport interface Footer9LegalLink {\n  label: string;\n  href: string;\n}\n\nexport interface Footer9Props {\n  /** Large CTA heading text (multi-line supported) */\n  heading?: string;\n  /** Contact email displayed below the heading */\n  email?: string;\n  /** Href for the email link (e.g. mailto:) */\n  emailHref?: string;\n  /** Custom icon for email link */\n  emailIcon?: ReactNode;\n  /** Background image URL for the hero area */\n  backgroundImage?: string;\n  /** Social media links displayed on the right */\n  socialLinks?: Footer9SocialLink[];\n  /** Brand logo or name element */\n  brandLogo?: ReactNode;\n  /** Navigation links shown in the bottom bar */\n  navLinks?: Footer9NavLink[];\n  /** Copyright text */\n  copyright?: string;\n  /** Legal/policy links shown at the very bottom */\n  legalLinks?: Footer9LegalLink[];\n}\n\nconst containerVariants: Variants = {\n  hidden: { opacity: 0 },\n  visible: {\n    opacity: 1,\n    transition: {\n      staggerChildren: 0.1,\n      delayChildren: 0.1,\n    },\n  },\n};\n\nconst itemVariants: Variants = {\n  hidden: { opacity: 0, y: 20, filter: 'blur(10px)' },\n  visible: {\n    opacity: 1,\n    y: 0,\n    filter: 'blur(0px)',\n    transition: { type: 'spring', duration: 0.8, bounce: 0 },\n  },\n};\n\nconst fadeRightVariants: Variants = {\n  hidden: { opacity: 0, x: -20 },\n  visible: {\n    opacity: 1,\n    x: 0,\n    transition: { type: 'spring', duration: 0.8, bounce: 0 },\n  },\n};\n\nconst fadeLeftVariants: Variants = {\n  hidden: { opacity: 0, x: 20 },\n  visible: {\n    opacity: 1,\n    x: 0,\n    transition: { type: 'spring', duration: 0.8, bounce: 0 },\n  },\n};\n\nconst fadeVariants: Variants = {\n  hidden: { opacity: 0 },\n  visible: {\n    opacity: 1,\n    transition: { duration: 0.6 },\n  },\n};\n\nconst lineSeparatorVariants: Variants = {\n  hidden: { opacity: 0, scaleX: 0, originX: 0.5 },\n  visible: {\n    opacity: 1,\n    scaleX: 1,\n    transition: { type: 'spring', duration: 0.9, bounce: 0 },\n  },\n};\n\nexport function Footer9({\n  heading = 'Ready to Build\\nSomething Great?',\n  email = 'hello@apexcraft.studio',\n  emailHref = 'mailto:hello@apexcraft.studio',\n  emailIcon,\n  backgroundImage,\n  socialLinks = [],\n  brandLogo,\n  navLinks = [],\n  copyright = '© 2026 Luminova. All rights reserved',\n  legalLinks = [],\n}: Footer9Props) {\n  return (\n    <footer className=\"relative w-full overflow-hidden bg-transparent py-12 selection:bg-sky-400/20\">\n      {backgroundImage && (\n        <img\n          src={backgroundImage}\n          alt=\"\"\n          aria-hidden=\"true\"\n          className=\"pointer-events-none absolute inset-0 h-full w-full object-cover select-none\"\n        />\n      )}\n\n      <motion.div\n        variants={containerVariants}\n        initial=\"hidden\"\n        whileInView=\"visible\"\n        viewport={{ once: true, amount: 0.2 }}\n        className=\"relative z-10 mx-auto flex w-full max-w-7xl flex-col px-6 sm:px-10 md:px-16 lg:px-20\"\n      >\n        <div className=\"flex min-h-[420px] flex-col justify-between gap-10 pt-12 pb-10 sm:min-h-[460px] sm:pt-16 md:min-h-[500px] lg:flex-row lg:items-start lg:gap-16\">\n          <div className=\"flex flex-1 flex-col justify-between gap-8\">\n            <h2 className=\"text-primary-foreground max-w-2xl text-4xl leading-tight font-normal tracking-tight sm:text-5xl md:text-6xl lg:text-7xl\">\n              {heading.split('\\n').map((line, i) => (\n                <motion.span variants={itemVariants} key={i} className=\"block\">\n                  {line}\n                </motion.span>\n              ))}\n            </h2>\n\n            <motion.a\n              variants={itemVariants}\n              href={emailHref}\n              className=\"group inline-flex items-center gap-2 self-start\"\n            >\n              <span className=\"text-primary-foreground/80 group-hover:text-primary-foreground text-sm font-normal tracking-wide transition-colors duration-200 sm:text-base\">\n                {email}\n              </span>\n              <span className=\"text-primary-foreground/80 group-hover:text-primary-foreground flex items-center justify-center transition-all duration-300 group-hover:translate-x-0.5 group-hover:-translate-y-0.5\">\n                {emailIcon || (\n                  <FaArrowUpRightFromSquare className=\"h-3 w-3 sm:h-3.5 sm:w-3.5\" />\n                )}\n              </span>\n            </motion.a>\n          </div>\n\n          {socialLinks.length > 0 && (\n            <motion.nav\n              variants={fadeLeftVariants}\n              aria-label=\"Social media links\"\n              className=\"flex flex-row flex-wrap gap-4 lg:flex-col lg:items-end lg:gap-2.5 lg:pt-2\"\n            >\n              {socialLinks.map((link) => (\n                <a\n                  key={link.label}\n                  href={link.href}\n                  className=\"text-primary-foreground/70 hover:text-primary-foreground text-sm font-normal transition-colors duration-200\"\n                >\n                  {link.label}\n                </a>\n              ))}\n            </motion.nav>\n          )}\n        </div>\n\n        <div className=\"flex flex-col gap-5 pb-6 sm:gap-6 sm:pb-8\">\n          <div className=\"flex flex-col justify-between gap-6 sm:flex-row sm:items-center sm:gap-8\">\n            {brandLogo && <motion.div variants={fadeRightVariants} className=\"shrink-0\">{brandLogo}</motion.div>}\n\n            {navLinks.length > 0 && (\n              <motion.nav\n                variants={fadeLeftVariants}\n                aria-label=\"Footer navigation\"\n                className=\"flex flex-wrap items-center gap-5 sm:gap-6 md:gap-8\"\n              >\n                {navLinks.map((link) => (\n                  <a\n                    key={link.label}\n                    href={link.href}\n                    className=\"text-sm font-normal text-white/90 transition-colors duration-200 hover:text-white\"\n                  >\n                    {link.label}\n                  </a>\n                ))}\n              </motion.nav>\n            )}\n          </div>\n\n          <motion.div variants={lineSeparatorVariants}>\n            <Separator className=\"bg-primary-foreground/20\" />\n          </motion.div>\n\n          <motion.div variants={fadeVariants} className=\"mx-auto flex flex-col gap-3 sm:flex-row sm:items-center sm:gap-0\">\n            {copyright && (\n              <p className=\"text-xs text-white sm:text-sm\">{copyright}</p>\n            )}\n\n            {copyright && legalLinks.length > 0 && (\n              <span className=\"hidden px-4 text-white/90 sm:inline\">|</span>\n            )}\n\n            {legalLinks.length > 0 && (\n              <div className=\"flex flex-wrap items-center gap-1 text-xs text-balance text-white/90 sm:text-sm\">\n                {legalLinks.map((link, index) => (\n                  <span key={link.label} className=\"inline-flex items-center\">\n                    <a\n                      href={link.href}\n                      className=\"hover:text-primary-foreground/80 transition-colors duration-200\"\n                    >\n                      {link.label}\n                    </a>\n                    {index < legalLinks.length - 1 && (\n                      <span className=\"px-1\">,</span>\n                    )}\n                  </span>\n                ))}\n              </div>\n            )}\n          </motion.div>\n        </div>\n      </motion.div>\n    </footer>\n  );\n}\n",
      "type": "registry:ui",
      "target": "components/ui/footer-9.tsx"
    }
  ],
  "type": "registry:ui"
}
