{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "footer-18",
  "dependencies": [
    "@hugeicons/core-free-icons",
    "@hugeicons/react",
    "framer-motion",
    "motion"
  ],
  "files": [
    {
      "path": "src/components/watermelon-ui/footer-18.tsx",
      "content": "'use client'\n\nimport { HugeiconsIcon } from \"@hugeicons/react\";\nimport { ArrowRight01Icon, 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 Footer18Props {\n    newsletterHeading?: string;\n    newsletterPlaceholder?: string;\n    brandName?: string;\n    features?: { label: string; href: string }[];\n    recites?: { label: string; href: string }[];\n    pricing?: { label: string; href: string }[];\n    exploreText?: string;\n    exploreHref?: string;\n    trialText?: string;\n    trialHref?: string;\n    address?: React.ReactNode;\n    bottomNav?: { label: string; href: string }[];\n    socialLinks?: { label: string; href: string }[];\n}\n\nexport default function Footer18({\n    newsletterHeading = \"Subscribe to our\\nnewsletter\",\n    newsletterPlaceholder = \"Email address\",\n    brandName = \"Watermelon\",\n    features = [\n        { label: \"Accounts Payable\", href: \"#\" },\n        { label: \"Approval Workflows\", href: \"#\" },\n        { label: \"Bulk Payments\", href: \"#\" },\n        { label: \"Global Receivables\", href: \"#\" },\n        { label: \"Currency Conversions\", href: \"#\" },\n        { label: \"Corporate Cards\", href: \"#\" },\n        { label: \"Integrations\", href: \"#\" },\n    ],\n    recites = [\n        { label: \"Blog\", href: \"#\" },\n        { label: \"Masterclass\", href: \"#\" },\n        { label: \"Tools\", href: \"#\" },\n        { label: \"Changelog\", href: \"#\" },\n    ],\n    pricing = [\n        { label: \"Security\", href: \"#\" },\n    ],\n    exploreText = \"Explore\",\n    exploreHref = \"#\",\n    trialText = \"Start free trial\",\n    trialHref = \"#\",\n    address = (\n        <>\n            606 4th Street 5W, Suite 1100 Calgary, Alberta<br /><br />\n            12P IT1, Canada\n        </>\n    ),\n    bottomNav = [\n        { label: \"WORK\", href: \"#\" },\n        { label: \"STUDIO\", href: \"#\" },\n        { label: \"SERVICES\", href: \"#\" },\n        { label: \"PARTNERSHIPS\", href: \"#\" },\n        { label: \"MONOPAGE\", href: \"#\" },\n        { label: \"CONTACT\", href: \"#\" },\n    ],\n    socialLinks = [\n        { label: \"INSTAGRAM\", href: \"#\" },\n        { label: \"FACEBOOK\", href: \"#\" },\n        { label: \"TWITTER\", href: \"#\" },\n        { label: \"BEHANCE\", href: \"#\" },\n    ],\n}: Footer18Props) {\n\n    const displayExploreText = exploreText === \"Explore\" ? `Explore ${brandName}` : exploreText;\n\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-neutral-50 dark:bg-neutral-950/70 text-neutral-600 dark:text-neutral-400 font-sans overflow-hidden min-h-screen flex flex-col justify-between transition-colors duration-300\"\n        >\n            {/* ── Noise Background ── */}\n            <div\n                className=\"absolute inset-0 opacity-[0.05] dark:opacity-[0.04] pointer-events-none mix-blend-multiply dark:mix-blend-overlay transition-opacity duration-300\"\n                style={{\n                    backgroundImage: `url(\"data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E\")`\n                }}\n            />\n\n            <div className=\"relative z-10 max-w-[1500px] w-full mx-auto px-6 md:px-12 lg:px-20 pt-16 md:pt-20 flex flex-col\">\n\n                {/* ── Top Section ── */}\n                <div className=\"flex flex-col lg:flex-row gap-12 lg:gap-24 mb-12\">\n\n                    {/* Left: Newsletter Box */}\n                    <motion.div variants={riseItem} className=\"w-full lg:w-[450px] shrink-0 bg-white dark:bg-[#171717] shadow-sm dark:shadow-none border border-neutral-100 dark:border-transparent rounded-md p-6 md:p-8 flex flex-col justify-between min-h-[300px] md:min-h-[420px] transition-colors duration-300\">\n                        <h2 className=\"text-3xl md:text-4xl text-neutral-900 dark:text-neutral-400 font-medium tracking-tight whitespace-pre-line leading-[1.1] transition-colors duration-300\">\n                            {newsletterHeading}\n                        </h2>\n\n                        <form className=\"relative w-full mt-12 md:mt-16\" onSubmit={(e) => e.preventDefault()}>\n                            <input\n                                type=\"email\"\n                                placeholder={newsletterPlaceholder}\n                                className=\"w-full bg-transparent border-b border-neutral-200 dark:border-neutral-500 pb-4 text-neutral-900 dark:text-neutral-200 placeholder:text-neutral-400 dark:placeholder:text-neutral-500 focus:outline-none focus:border-neutral-900 dark:focus:border-neutral-400 pr-10 text-sm transition-colors duration-300\"\n                                required\n                            />\n                            <button\n                                type=\"submit\"\n                                className=\"absolute right-0 top-0 text-neutral-400 dark:text-neutral-500 hover:text-neutral-900 dark:hover:text-neutral-300 transition-colors cursor-pointer pb-4 flex items-center justify-center\"\n                            >\n                                <HugeiconsIcon icon={ArrowRight01Icon} size={20} />\n                            </button>\n                        </form>\n                    </motion.div>\n\n                    {/* Right: Columns */}\n                    <div className=\"flex-1 grid grid-cols-1 sm:grid-cols-2 md:grid-cols-3 gap-12 md:gap-8 pt-4\">\n\n                        {/* Column 1: Features & Address */}\n                        <motion.div variants={riseItem} className=\"flex flex-col gap-10 md:gap-12\">\n                            <div className=\"flex flex-col gap-4\">\n                                <h4 className=\"font-medium text-neutral-900 dark:text-neutral-200 transition-colors duration-300\">Features</h4>\n                                <ul className=\"flex flex-col gap-3\">\n                                    {features.map((link, idx) => (\n                                        <li key={idx}>\n                                            <a href={link.href} className=\"text-[15px] text-neutral-600 dark:text-neutral-400 hover:text-neutral-900 dark:hover:text-neutral-200 transition-colors\">\n                                                {link.label}\n                                            </a>\n                                        </li>\n                                    ))}\n                                </ul>\n                            </div>\n\n                            <div className=\"flex flex-col gap-6 mt-2 md:mt-4\">\n                                <a\n                                    href={trialHref}\n                                    className=\"inline-flex items-center justify-center w-fit px-6 py-3 rounded-full bg-neutral-900 dark:bg-neutral-100 text-white dark:text-neutral-900 text-sm font-semibold hover:bg-neutral-800 dark:hover:bg-white transition-colors\"\n                                >\n                                    {trialText}\n                                </a>\n                                <p className=\"text-sm text-neutral-500 leading-relaxed max-w-2xl transition-colors duration-300\">\n                                    {address}\n                                </p>\n                            </div>\n                        </motion.div>\n\n                        {/* Column 2: Recites */}\n                        <motion.div variants={riseItem} className=\"flex flex-col gap-4\">\n                            <h4 className=\"font-medium text-neutral-900 dark:text-neutral-200 transition-colors duration-300\">Recites</h4>\n                            <ul className=\"flex flex-col gap-3\">\n                                {recites.map((link, idx) => (\n                                    <li key={idx}>\n                                        <a href={link.href} className=\"text-[15px] text-neutral-600 dark:text-neutral-400 hover:text-neutral-900 dark:hover:text-neutral-200 transition-colors\">\n                                            {link.label}\n                                        </a>\n                                    </li>\n                                ))}\n                            </ul>\n                        </motion.div>\n\n                        {/* Column 3: Pricing & Explore */}\n                        <motion.div variants={riseItem} className=\"flex flex-col justify-between gap-12 h-full\">\n                            <div className=\"flex flex-col gap-4\">\n                                <h4 className=\"font-medium text-neutral-900 dark:text-neutral-200 transition-colors duration-300\">Pricing</h4>\n                                <ul className=\"flex flex-col gap-3\">\n                                    {pricing.map((link, idx) => (\n                                        <li key={idx}>\n                                            <a href={link.href} className=\"text-[15px] text-neutral-600 dark:text-neutral-400 hover:text-neutral-900 dark:hover:text-neutral-200 transition-colors\">\n                                                {link.label}\n                                            </a>\n                                        </li>\n                                    ))}\n                                </ul>\n                            </div>\n\n                            <div className=\"mt-8 md:mt-auto\">\n                                <a\n                                    href={exploreHref}\n                                    className=\"inline-flex items-center gap-2 text-[22px] text-neutral-900 dark:text-neutral-300 hover:text-neutral-600 dark:hover:text-white transition-colors group\"\n                                >\n                                    {displayExploreText}\n                                    <HugeiconsIcon icon={ArrowUpRight01Icon} size={22} className=\"text-neutral-400 dark:text-neutral-500 group-hover:text-neutral-600 dark:group-hover:text-white transition-colors\" />\n                                </a>\n                            </div>\n                        </motion.div>\n\n                    </div>\n                </div>\n\n            </div>\n\n            {/* ── Bottom Section ── */}\n            <div className=\"relative z-10 w-full flex flex-col mt-auto\">\n                <div className=\"max-w-[1500px] w-full mx-auto px-6 md:px-12 lg:px-20 flex flex-col md:flex-row justify-between items-start md:items-center gap-8 mb-8 md:mb-4\">\n\n                    <motion.div variants={riseItem} className=\"flex flex-wrap gap-x-8 gap-y-4\">\n                        {bottomNav.map((link, idx) => (\n                            <a\n                                key={idx}\n                                href={link.href}\n                                className=\"text-[11px] font-medium tracking-widest text-neutral-500 dark:text-neutral-400 hover:text-neutral-900 dark:hover:text-neutral-200 transition-colors uppercase\"\n                            >\n                                {link.label}\n                            </a>\n                        ))}\n                    </motion.div>\n\n                    <motion.div variants={riseItem} className=\"flex flex-wrap gap-x-8 gap-y-4\">\n                        {socialLinks.map((link, idx) => (\n                            <a\n                                key={idx}\n                                href={link.href}\n                                className=\"text-[11px] font-medium tracking-widest text-neutral-500 dark:text-neutral-400 hover:text-neutral-900 dark:hover:text-neutral-200 transition-colors uppercase flex items-center gap-1.5 group\"\n                            >\n                                {link.label}\n                                <HugeiconsIcon icon={ArrowUpRight01Icon} size={12} className=\"text-neutral-400 dark:text-neutral-600 group-hover:text-neutral-900 dark:group-hover:text-neutral-200 transition-colors\" />\n                            </a>\n                        ))}\n                    </motion.div>\n\n                </div>\n\n                {/* Giant Brand Name */}\n                <motion.div variants={giantTextVariant} className=\"w-full flex justify-center\">\n                    <svg\n                        className=\"w-full h-auto select-none transition-colors duration-300\"\n                        viewBox={`0 0 ${Math.max(brandName.length * 90, 400)} 110`}\n                        preserveAspectRatio=\"xMidYMid meet\"\n                        aria-label={brandName}\n                    >\n                        <text\n                            x=\"0\"\n                            y=\"105\"\n                            dominantBaseline=\"alphabetic\"\n                            textAnchor=\"start\"\n                            textLength=\"100%\"\n                            lengthAdjust=\"spacing\"\n                            className=\"fill-neutral-300 dark:fill-white/20 font-bold tracking-tighter transition-colors duration-300\"\n                            fontSize=\"140\"\n                        >\n                            {brandName.toUpperCase()}\n                        </text>\n                    </svg>\n                </motion.div>\n            </div>\n        </motion.footer>\n    );\n}",
      "type": "registry:ui",
      "target": "components/ui/footer-18.tsx"
    }
  ],
  "type": "registry:ui"
}
