{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "footer-6",
  "dependencies": [
    "framer-motion",
    "lucide-react"
  ],
  "registryDependencies": [
    "button",
    "input",
    "separator"
  ],
  "files": [
    {
      "path": "src/components/watermelon-ui/footer-6.tsx",
      "content": "import { type ReactNode } from 'react';\nimport { Button } from '@/components/ui/button';\nimport { Input } from '@/components/ui/input';\nimport { Separator } from '@/components/ui/separator';\nimport { ArrowUpRight } from 'lucide-react';\nimport { motion, type Variants } from 'framer-motion';\nexport interface Footer6Link {\n  label: string;\n  href: string;\n}\n\nexport interface Footer6LinkGroup {\n  title: string;\n  links: Footer6Link[];\n}\n\nexport interface Footer6SocialLink {\n  icon: ReactNode;\n  href: string;\n  label: string;\n}\n\nexport interface Footer6Props {\n  logo?: ReactNode;\n  brandName?: string;\n  tagLine?: string;\n  headline?: string;\n  description?: string;\n  inputPlaceholder?: string;\n  buttonText?: string;\n  statusText?: string;\n  statusTag?: string;\n  brandSubtitle?: string;\n  copyright?: string;\n  linkGroups?: Footer6LinkGroup[];\n  legalLinks?: Footer6Link[];\n  socialLinks?: Footer6SocialLink[];\n}\n\nexport const GridTick = ({ className = '' }) => {\n  return (\n    <div\n      className={`pointer-events-none absolute flex size-4 items-center justify-center ${className}`}\n    >\n      <div className=\"absolute h-px w-full bg-black/20 dark:bg-white/25\" />\n      <div className=\"absolute h-full w-px bg-black/20 dark:bg-white/25\" />\n    </div>\n  );\n};\n\nconst GridRect = ({ className = ' ' }) => {\n  return (\n    <div\n      className={`pointer-events-none absolute flex size-1 items-center justify-center ${className}`}\n    >\n      <div className=\"size-full rounded-none bg-black/20 dark:bg-white/25\" />\n    </div>\n  );\n};\nconst staggerContainer:Variants = {\n  hidden: { opacity: 0 },\n  visible: {\n    opacity: 1,\n    transition: {\n      staggerChildren: 0.15,\n      delayChildren: 0.1,\n    },\n  },\n};\n\nconst techReveal:Variants = {\n  hidden: { opacity: 0, y: 15, scale: 0.98 },\n  visible: {\n    opacity: 1,\n    y: 0,\n    scale: 1,\n    transition: { duration: 0.6, ease: [0.16, 1, 0.3, 1] },\n  },\n};\n\nexport function Footer6({\n  logo,\n  brandName = 'Watermelon Platform',\n  tagLine = 'WATERMELON CORP',\n  headline = 'Building the foundation for modular web architectures.',\n  description = 'Watermelon Platform provides the leading ecosystem of high-performance developer tools, reusable components, and production-ready codebases.',\n  inputPlaceholder = 'Enter your email',\n  buttonText = 'Stay Updated',\n  statusText = 'ENGINEERED FOR EXCEPTIONAL PERFORMANCE.',\n  statusTag = 'WATERMELON CORP',\n  brandSubtitle = 'The foundation layer for enterprise UI blocks. Fast, customizable, and production-ready.',\n  copyright = '© 2026 Watermelon Labs, Inc. All rights reserved.',\n  linkGroups = [],\n  legalLinks = [],\n  socialLinks = [],\n}: Footer6Props) {\n  const firstGroup = linkGroups[0];\n  const remainingGroups = linkGroups.slice(1);\n\n  return (\n    <footer className=\"bg-background text-foreground relative w-full p-2 font-sans\">\n  \n\n      <motion.div\n        variants={staggerContainer}\n        initial=\"hidden\"\n        whileInView=\"visible\"\n        viewport={{ once: true, amount: 0.05 }}\n        className=\"border-border/40 relative mx-auto w-full max-w-7xl border\"\n      >\n        <GridTick className=\"-top-2 -left-2\" />\n        <GridTick className=\"-top-2 -right-2\" />\n        <GridTick className=\"-bottom-2 -left-2\" />\n        <GridTick className=\"-right-2 -bottom-2\" />\n\n        <div className=\"grid grid-cols-1 overflow-hidden lg:grid-cols-14\">\n          <div className=\"border-border/40 relative col-span-8 flex flex-col border-r md:flex-row\">\n            <motion.div variants={techReveal} className=\"flex min-h-[300px] min-w-0 flex-1 flex-col gap-5 self-center overflow-clip p-5 sm:min-h-[340px] sm:gap-6 sm:p-6 md:items-start md:p-8 md:text-left lg:col-span-6 lg:items-start lg:py-12 lg:text-left\">\n              <div className=\"pointer-events-none absolute top-1/2 -left-20 z-0 h-80 w-80 -translate-y-1/2 opacity-20 select-none dark:opacity-10\">\n                <svg\n                  className=\"text-muted-foreground h-full w-full\"\n                  viewBox=\"0 0 200 200\"\n                  fill=\"none\"\n                >\n                  <circle\n                    cx=\"100\"\n                    cy=\"100\"\n                    r=\"90\"\n                    stroke=\"currentColor\"\n                    strokeWidth=\"0.8\"\n                    strokeDasharray=\"3 3\"\n                  />\n                  <circle\n                    cx=\"100\"\n                    cy=\"100\"\n                    r=\"70\"\n                    stroke=\"currentColor\"\n                    strokeWidth=\"0.8\"\n                    strokeDasharray=\"1 5\"\n                  />\n                  <circle\n                    cx=\"100\"\n                    cy=\"100\"\n                    r=\"50\"\n                    stroke=\"currentColor\"\n                    strokeWidth=\"0.8\"\n                    strokeDasharray=\"4 2\"\n                  />\n                  <circle\n                    cx=\"100\"\n                    cy=\"100\"\n                    r=\"30\"\n                    stroke=\"currentColor\"\n                    strokeWidth=\"0.5\"\n                  />\n                  <line\n                    x1=\"10\"\n                    y1=\"100\"\n                    x2=\"190\"\n                    y2=\"100\"\n                    stroke=\"currentColor\"\n                    strokeWidth=\"0.5\"\n                    strokeDasharray=\"2 4\"\n                  />\n                  <line\n                    x1=\"100\"\n                    y1=\"10\"\n                    x2=\"100\"\n                    y2=\"190\"\n                    stroke=\"currentColor\"\n                    strokeWidth=\"0.5\"\n                    strokeDasharray=\"2 4\"\n                  />\n                  <circle\n                    cx=\"100\"\n                    cy=\"30\"\n                    r=\"2.5\"\n                    fill=\"var(--color-primary)\"\n                    className=\"animate-pulse\"\n                  />\n                  <circle\n                    cx=\"150\"\n                    cy=\"100\"\n                    r=\"1.5\"\n                    fill=\"var(--color-primary)\"\n                  />\n                </svg>\n              </div>\n\n              <div className=\"relative z-10 flex flex-col gap-4 md:items-center lg:items-start\">\n                {tagLine && (\n                  <span className=\"text-primary block text-sm font-medium tracking-wide uppercase\">\n                    //&nbsp;&nbsp;{tagLine}\n                  </span>\n                )}\n                <h2 className=\"text-foreground max-w-lg text-2xl leading-[1.15] font-light tracking-tight sm:text-3xl lg:text-4xl\">\n                  {headline}\n                </h2>\n                <p className=\"text-muted-foreground max-w-md text-sm leading-relaxed\">\n                  {description}\n                </p>\n              </div>\n\n              <form\n                className=\"relative z-10 mt-1 flex w-full max-w-md flex-col items-stretch sm:mt-2 sm:flex-row md:mx-auto lg:mx-0\"\n                onSubmit={(e) => e.preventDefault()}\n              >\n                <Input\n                  type=\"email\"\n                  placeholder={inputPlaceholder}\n                  className=\"border-border/80 bg-background focus-visible:ring-primary focus-visible:border-primary h-12 min-h-12 min-w-0 flex-1 rounded-none border-y border-l px-4 font-sans text-sm focus-visible:ring-1\"\n                />\n                <Button\n                  type=\"submit\"\n                  className=\"bg-primary hover:bg-primary/95 text-primary-foreground dark:text-background group flex h-12 w-full shrink-0 cursor-pointer items-center justify-center gap-2 rounded-none border-none px-6 font-semibold shadow-[inset_0_0_10px_0.5px_rgba(255,255,255,0.5)] transition-all active:scale-98 sm:w-auto\"\n                >\n                  <span>{buttonText}</span>\n\n                  <ArrowUpRight className=\"h-4 w-4 transition-transform duration-300 group-hover:translate-x-1 group-hover:-translate-y-1\" />\n                </Button>\n              </form>\n            </motion.div>\n\n            <motion.div variants={techReveal} className=\"relative col-span-1 mr-0 px-5 pb-8 sm:px-6 md:mr-8 md:px-0 md:py-12 lg:col-span-2\">\n              {firstGroup && (\n                <div className=\"flex flex-col gap-4\">\n                  <div className=\"border-l border-transparent pl-6\">\n                    <span className=\"text-primary text-xs font-medium uppercase\">\n                      //&nbsp;&nbsp;{firstGroup.title}\n                    </span>\n                  </div>\n\n                  <div className=\"border-border/40 flex flex-col gap-3.5 border-l pl-6\">\n                    {firstGroup.links.map((link, index) => (\n                      <a\n                        key={index}\n                        href={link.href}\n                        className=\"text-muted-foreground hover:text-primary block py-0.5 text-sm font-medium transition-colors\"\n                      >\n                        {link.label}\n                      </a>\n                    ))}\n                  </div>\n                </div>\n              )}\n            </motion.div>\n\n            <GridTick className=\"-top-2 -right-2\" />\n\n            <GridTick className=\"-right-2 -bottom-2\" />\n          </div>\n\n          <div className=\"relative px-5 py-8 sm:px-8 sm:py-12 lg:col-span-6\">\n            <div className=\"grid h-full grid-cols-1 gap-7 sm:grid-cols-3 sm:gap-4\">\n              {remainingGroups.map((group) => (\n                <motion.div key={group.title} variants={techReveal} className=\"flex flex-col gap-4\">\n                  <div className=\"border-l border-transparent pl-6\">\n                    <span className=\"text-primary text-xs font-medium uppercase\">\n                      //&nbsp;&nbsp;{group.title}\n                    </span>\n                  </div>\n\n                  <div className=\"border-border/40 flex flex-col gap-3.5 border-l pl-6\">\n                    {group.links.map((link, index) => (\n                      <a\n                        key={index}\n                        href={link.href}\n                        className=\"text-muted-foreground hover:text-primary block py-0.5 text-sm font-medium transition-colors\"\n                      >\n                        {link.label}\n                      </a>\n                    ))}\n                  </div>\n                </motion.div>\n              ))}\n            </div>\n          </div>\n        </div>\n\n        <motion.div variants={techReveal} className=\"border-border/40 dark:bg-card/50 bg-muted/50 relative grid grid-cols-14 border-y border-r backdrop-blur-[2px]\">\n          <GridRect className=\"-top-[2px] -left-[2px]\" />\n          <GridRect className=\"-top-[2px] -right-[3px]\" />\n          <GridRect className=\"-bottom-[2px] -left-[2px]\" />\n          <GridRect className=\"-right-[3px] -bottom-[2px]\" />\n\n          <div className=\"col-span-14 grid w-full grid-cols-1 gap-2 py-1 md:grid-cols-14 md:gap-4 lg:px-12\">\n            <div className=\"border-border/40 relative col-span-1 flex w-full items-center justify-center gap-2.5 border-b px-0 py-6 md:col-span-6 md:border-r md:border-b-0 md:py-8\">\n              <span className=\"relative flex h-2 w-2 shrink-0\">\n                <span className=\"bg-primary absolute inline-flex h-full w-full animate-ping rounded-full opacity-75\"></span>\n                <span className=\"bg-primary relative inline-flex h-2 w-2 rounded-full\"></span>\n              </span>\n              <span className=\"text-primary text-center text-xs font-medium tracking-wide md:text-left\">\n                {statusText}\n              </span>\n              <GridRect className=\"-top-[2px] -right-[3px] hidden md:block\" />\n              <GridRect className=\"-right-[3px] -bottom-[2px] hidden md:block\" />\n            </div>\n            <div\n              className=\"col-span-1 flex items-center justify-center gap-1.5 md:col-span-4 md:justify-start\"\n              aria-hidden=\"true\"\n            >\n              {Array.from({ length: 24 }).map((_, i) => (\n                <motion.div\n                  key={i}\n                  initial={{\n                    backgroundColor:\n                      i < 9 ? 'var(--primary)' : 'rgba(120,120,120,0.25)',\n                  }}\n                  animate={{\n                    backgroundColor: [\n                      'rgba(120,120,120,0.25)',\n                      'var(--primary)',\n                      'rgba(120,120,120,0.25)',\n                    ],\n                  }}\n                  transition={{\n                    duration: 1.2,\n                    repeat: Infinity,\n                    ease: 'linear',\n                    delay: i * 0.06,\n                  }}\n                  className=\"h-4 w-[3.5px] rounded-none\"\n                />\n              ))}\n            </div>\n\n            {statusTag && (\n              <span className=\"text-primary col-span-1 self-center text-center text-xs font-medium tracking-wide sm:pb-0 md:col-span-4 md:pr-2 md:text-right\">\n                [ {statusTag.toUpperCase()} ]\n              </span>\n            )}\n          </div>\n        </motion.div>\n\n        <motion.div variants={techReveal} className=\"flex flex-col gap-7 px-5 py-7 sm:px-6 sm:py-8 md:px-8 lg:flex-row lg:items-center lg:justify-between lg:gap-8 lg:px-12 lg:py-10\">\n          <div className=\"flex flex-col gap-4 sm:flex-row sm:items-center lg:gap-5 justify-between \">\n            <div className=\"flex items-center gap-3\">\n              {logo && (\n                <div className=\"text-primary flex h-6 w-6 shrink-0 items-center justify-center [&>svg]:h-full [&>svg]:w-full\">\n                  {logo}\n                </div>\n              )}\n              <span className=\"text-foreground min-w-0 text-lg font-medium\">\n                {brandName}\n              </span>\n            </div>\n\n            {brandSubtitle && (\n              <>\n                <div className=\"hidden h-6 w-[1.5px] sm:block\" />\n                <p className=\"text-muted-foreground w-full max-w-[220px] text-xs leading-relaxed\">\n                  {brandSubtitle}\n                </p>\n              </>\n            )}\n          </div>\n\n          <div className=\"flex flex-1 flex-col gap-5 md:flex-row md:items-center md:gap-8 lg:justify-end\">\n            <div className=\"flex flex-col gap-4 sm:flex-row sm:items-center\">\n              <Separator\n                orientation=\"vertical\"\n                className=\"my-auto hidden h-8 w-px md:block \"\n              />\n              <p className=\"text-muted-foreground max-w-[220px] shrink-0 text-xs\">\n                {copyright}\n              </p>\n              <Separator\n                orientation=\"vertical\"\n                className=\"my-auto hidden h-8 w-px sm:block\"\n              />\n              {legalLinks.length > 0 && (\n                <>\n                  <div className=\"hidden h-4 w-[1px] sm:block\" />\n                  <div className=\"flex flex-wrap items-center gap-4\">\n                    {legalLinks.map((link, index) => (\n                      <a\n                        key={index}\n                        href={link.href}\n                        className=\"text-muted-foreground hover:text-foreground text-xs font-medium transition-colors\"\n                      >\n                        {link.label}\n                      </a>\n                    ))}\n                  </div>\n                </>\n              )}\n            </div>\n\n            {socialLinks.length > 0 && (\n              <div className=\"flex shrink-0 flex-col gap-2\">\n                <span className=\"text-primary text-xs font-medium tracking-wide uppercase md:text-right\">\n                  //&nbsp;&nbsp;Connect\n                </span>\n                <div className=\"flex items-center gap-2\">\n                  {socialLinks.map((link, index) => (\n                    <a\n                      key={index}\n                      href={link.href}\n                      target=\"_blank\"\n                      rel=\"noopener noreferrer\"\n                      aria-label={link.label}\n                      className=\"text-muted-foreground hover:text-foreground flex items-center justify-center rounded-md p-1.5 transition-all duration-200\"\n                    >\n                      <div className=\"flex h-4 w-4 items-center justify-center [&>svg]:h-full [&>svg]:w-full\">\n                        {link.icon}\n                      </div>\n                    </a>\n                  ))}\n                </div>\n              </div>\n            )}\n          </div>\n        </motion.div>\n      </motion.div>\n    </footer>\n  );\n}\n",
      "type": "registry:ui",
      "target": "components/ui/footer-6.tsx"
    }
  ],
  "type": "registry:ui"
}
