{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "footer-21",
  "dependencies": [
    "@hugeicons/core-free-icons",
    "@hugeicons/react",
    "framer-motion",
    "motion"
  ],
  "files": [
    {
      "path": "src/components/watermelon-ui/footer-21.tsx",
      "content": "import { HugeiconsIcon } from '@hugeicons/react';\nimport { ArrowUpRight01Icon } from '@hugeicons/core-free-icons';\nimport { motion, type Variants } from 'motion/react';\n\nconst staggerContainer: Variants = {\n    hidden: { opacity: 0 },\n    visible: {\n        opacity: 1,\n        transition: {\n            staggerChildren: 0.1,\n            delayChildren: 0.05,\n        },\n    },\n};\n\nconst riseItem: Variants = {\n    hidden: { opacity: 0, y: 20, filter: 'blur(4px)' },\n    visible: {\n        opacity: 1,\n        y: 0,\n        filter: 'blur(0px)',\n        transition: { type: 'spring', duration: 0.6, bounce: 0 },\n    },\n};\n\nconst giantTextVariant: Variants = {\n    hidden: { opacity: 0, y: 30, filter: 'blur(8px)' },\n    visible: {\n        opacity: 1,\n        y: 0,\n        filter: 'blur(0px)',\n        transition: { type: 'spring', duration: 0.8, bounce: 0 },\n    },\n};\n\nexport interface Footer21Props {\n    brandName?: string;\n    socialLinks?: { label: string; href: string }[];\n    leftLinks?: { label: string; href: string }[];\n    rightLinks?: { label: string; href: string }[];\n    description?: string;\n    buttonText?: string;\n    buttonLink?: string;\n    copyright?: string;\n}\n\nexport default function Footer21({\n    brandName = \"Watermelon\",\n    socialLinks = [\n        { label: \"INSTAGRAM\", href: \"#\" },\n        { label: \"FACEBOOK\", href: \"#\" },\n        { label: \"TWITTER\", href: \"#\" },\n        { label: \"BEHANCE\", href: \"#\" },\n    ],\n    leftLinks = [\n        { label: \"ABOUT US\", href: \"#\" },\n        { label: \"BLOG\", href: \"#\" },\n        { label: \"RESOURCES\", href: \"#\" },\n    ],\n    rightLinks = [\n        { label: \"ABOUT US\", href: \"#\" },\n        { label: \"BLOG\", href: \"#\" },\n        { label: \"RESOURCES\", href: \"#\" },\n    ],\n    description = \"Discover rich culinary experiences inspired by bold flavors, refined techniques, and passion where every bite is crafted to impress.\",\n    buttonText = \"Get Started\",\n    buttonLink = \"#\",\n    copyright = \"Watermelon 2026 @ All rights reserved\",\n}: Footer21Props) {\n    return (\n        <motion.footer\n            variants={staggerContainer}\n            initial=\"hidden\"\n            whileInView=\"visible\"\n            viewport={{ once: true, amount: 0.15 }}\n            className=\"relative w-full bg-[#fafafa] dark:bg-[#222222] text-neutral-800 dark:text-neutral-300 font-sans overflow-hidden transition-colors duration-300\"\n        >\n            \n            {/* Main Content Container */}\n            <div className=\"mx-auto max-w-[1440px] w-full flex\">\n                \n                {/* Left Hash Band */}\n                <div className=\"hidden md:block w-5 shrink-0 bg-[repeating-linear-gradient(-45deg,transparent,transparent_6px,#e5e5e5_6px,#e5e5e5_7px)] dark:bg-[repeating-linear-gradient(-45deg,transparent,transparent_6px,#333_6px,#333_7px)]\"></div>\n \n                {/* Central Content */}\n                <div className=\"flex-1 flex flex-col bg-[#fafafa] dark:bg-[#222222]\">\n                    \n                    {/* Top Border */}\n                    <div className=\"w-full border-t border-neutral-200 dark:border-[#333]\"></div>\n \n                    {/* Social Links (Flush to edges of central content) */}\n                    <motion.div variants={staggerContainer} className=\"grid grid-cols-2 md:grid-cols-4 border-b border-neutral-200 dark:border-[#333]\">\n                        {socialLinks.map((link, idx) => (\n                            <motion.a \n                                key={idx} \n                                href={link.href} \n                                variants={riseItem}\n                                className=\"flex items-center justify-center gap-2 py-8 border-b md:border-b-0 border-r border-neutral-200 dark:border-[#333] last:border-r-0 max-md:nth-[2n]:border-r-0 max-md:nth-last-[-n+2]:border-b-0 text-[12px] md:text-[13px] tracking-widest uppercase text-neutral-400 hover:text-neutral-900 dark:hover:text-white transition-colors\"\n                            >\n                                {link.label} <HugeiconsIcon icon={ArrowUpRight01Icon} size={14} />\n                            </motion.a>\n                        ))}\n                    </motion.div>\n \n                    {/* Middle Section (With padding) */}\n                    <div className=\"grid grid-cols-1 md:grid-cols-12 gap-8 md:gap-4 py-16 md:py-24 border-b border-neutral-200 dark:border-[#333] items-center px-4 md:px-8 lg:px-12\">\n                        {/* Left Links */}\n                        <motion.div variants={riseItem} className=\"md:col-span-3 flex justify-center md:justify-start\">\n                            <div className=\"flex flex-col gap-6 text-center md:text-left\">\n                                {leftLinks.map((link, idx) => (\n                                    <a key={idx} href={link.href} className=\"text-[12px] md:text-[13px] tracking-widest uppercase text-neutral-500 dark:text-neutral-400 hover:text-neutral-900 dark:hover:text-white transition-colors\">\n                                        {link.label}\n                                    </a>\n                                ))}\n                            </div>\n                        </motion.div>\n                        \n                        {/* Center Content */}\n                        <motion.div variants={riseItem} className=\"md:col-span-6 flex flex-col items-center text-center gap-8\">\n                            <p className=\"text-[17px] md:text-xl text-balance text-neutral-700 dark:text-neutral-200 leading-relaxed max-w-md\">\n                                {description}\n                            </p>\n                            <a href={buttonLink} className=\"px-8 py-3.5 bg-[#c26343] hover:bg-[#a44b2e] text-white transition-colors text-[15px] font-medium tracking-wide shadow-sm\">\n                                {buttonText}\n                            </a>\n                        </motion.div>\n \n                        {/* Right Links */}\n                        <motion.div variants={riseItem} className=\"md:col-span-3 flex justify-center md:justify-end\">\n                            <div className=\"flex flex-col gap-6 text-center md:text-left\">\n                                {rightLinks.map((link, idx) => (\n                                    <a key={idx} href={link.href} className=\"text-[12px] md:text-[13px] tracking-widest uppercase text-neutral-500 dark:text-neutral-400 hover:text-neutral-900 dark:hover:text-white transition-colors\">\n                                        {link.label}\n                                    </a>\n                                ))}\n                            </div>\n                        </motion.div>\n                    </div>\n \n                    {/* Bottom Section (With padding) */}\n                    <div className=\"flex flex-col items-center justify-center pt-10 pb-8 gap-8 px-4 md:px-8 lg:px-12\">\n                        \n                        {/* Giant Text with Box Pattern */}\n                        <motion.div variants={giantTextVariant} className=\"w-full max-w-[800px] flex justify-center\">\n                            <svg\n                                className=\"w-full h-auto select-none\"\n                                viewBox={`0 0 ${Math.max(brandName.length * 80, 300)} 110`}\n                                preserveAspectRatio=\"xMinYMid meet\"\n                                aria-label={brandName}\n                             >\n                                 <defs>\n                                     <pattern id=\"box-pattern\" x=\"0\" y=\"0\" width=\"16\" height=\"16\" patternUnits=\"userSpaceOnUse\">\n                                         {/* Row 1 */}\n                                         <rect x=\"0\" y=\"0\" width=\"4\" height=\"4\" fill=\"#c56a47\" />\n                                         <rect x=\"4\" y=\"0\" width=\"4\" height=\"4\" fill=\"#b25636\" />\n                                         <rect x=\"8\" y=\"0\" width=\"4\" height=\"4\" fill=\"#d27552\" />\n                                         <rect x=\"12\" y=\"0\" width=\"4\" height=\"4\" fill=\"#a04a2d\" />\n                                         {/* Row 2 */}\n                                         <rect x=\"0\" y=\"4\" width=\"4\" height=\"4\" fill=\"#b25636\" />\n                                         <rect x=\"4\" y=\"4\" width=\"4\" height=\"4\" fill=\"#df815c\" />\n                                         <rect x=\"8\" y=\"4\" width=\"4\" height=\"4\" fill=\"#c56a47\" />\n                                         <rect x=\"12\" y=\"4\" width=\"4\" height=\"4\" fill=\"#d27552\" />\n                                         {/* Row 3 */}\n                                         <rect x=\"0\" y=\"8\" width=\"4\" height=\"4\" fill=\"#a04a2d\" />\n                                         <rect x=\"4\" y=\"8\" width=\"4\" height=\"4\" fill=\"#c56a47\" />\n                                         <rect x=\"8\" y=\"8\" width=\"4\" height=\"4\" fill=\"#b25636\" />\n                                         <rect x=\"12\" y=\"8\" width=\"4\" height=\"4\" fill=\"#df815c\" />\n                                         {/* Row 4 */}\n                                         <rect x=\"0\" y=\"12\" width=\"4\" height=\"4\" fill=\"#d27552\" />\n                                         <rect x=\"4\" y=\"12\" width=\"4\" height=\"4\" fill=\"#a04a2d\" />\n                                         <rect x=\"8\" y=\"12\" width=\"4\" height=\"4\" fill=\"#c56a47\" />\n                                         <rect x=\"12\" y=\"12\" width=\"4\" height=\"4\" fill=\"#b25636\" />\n                                     </pattern>\n                                 </defs>\n                                 <text\n                                     x=\"50%\"\n                                     y=\"100\"\n                                     dominantBaseline=\"alphabetic\"\n                                     textAnchor=\"middle\"\n                                     fill=\"url(#box-pattern)\"\n                                     className=\"font-semibold tracking-tighter\"\n                                     fontSize=\"125\"\n                                 >\n                                     {brandName}\n                                 </text>\n                             </svg>\n                         </motion.div>\n \n                         {/* Copyright */}\n                         <motion.div variants={riseItem} className=\"text-[12px] md:text-[13px] text-neutral-400 dark:text-neutral-500 whitespace-nowrap\">\n                             {copyright}\n                         </motion.div>\n \n                     </div>\n                 </div> {/* End of Central Content */}\n             \n                 {/* Right Hash Band */}\n                 <div className=\"hidden md:block w-5 shrink-0 bg-[repeating-linear-gradient(-45deg,transparent,transparent_6px,#e5e5e5_6px,#e5e5e5_7px)] dark:bg-[repeating-linear-gradient(-45deg,transparent,transparent_6px,#333_6px,#333_7px)]\"></div>\n \n             </div> {/* End of Main 1440px Container */}\n         </motion.footer>\n     );\n}",
      "type": "registry:ui",
      "target": "components/ui/footer-21.tsx"
    }
  ],
  "type": "registry:ui"
}
