{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "footer21",
  "title": "Compact E-commerce Footer",
  "description": "Centered minimal footer with horizontal navigation, trust badges, and payment method icons. Perfect for smaller online stores wanting a clean checkout-focused layout.",
  "dependencies": [
    "clsx",
    "tailwind-merge",
    "lucide-react"
  ],
  "registryDependencies": [],
  "files": [
    {
      "path": "registry/footer21/footer21.tsx",
      "content": "\"use client\";\n\nimport { Lock, ShieldCheck } from \"lucide-react\";\nimport Link from \"next/link\";\nimport { cn } from \"@/lib/utils\";\n\ninterface NavLink {\n  label: string;\n  href?: string;\n}\n\ninterface TrustBadge {\n  icon: \"shieldCheck\" | \"lock\";\n  label: string;\n}\n\ninterface Footer21Props {\n  logo?: {\n    text?: string;\n    href?: string;\n  };\n  links?: NavLink[];\n  trustBadges?: TrustBadge[];\n  paymentImage?: {\n    src: string;\n    alt: string;\n  };\n  copyright?: string;\n  className?: string;\n}\n\nconst trustIcons = {\n  shieldCheck: ShieldCheck,\n  lock: Lock,\n};\n\nexport const footer21Demo: Footer21Props = {\n  logo: {\n    text: \"Beste Inc.\",\n    href: \"https://beste.co\",\n  },\n  links: [\n    { label: \"Shop\", href: \"https://beste.co\" },\n    { label: \"About\", href: \"https://beste.co\" },\n    { label: \"Contact\", href: \"https://beste.co\" },\n    { label: \"Shipping\", href: \"https://beste.co\" },\n    { label: \"Returns\", href: \"https://beste.co\" },\n    { label: \"Privacy\", href: \"https://beste.co\" },\n    { label: \"Terms\", href: \"https://beste.co\" },\n  ],\n  trustBadges: [\n    { icon: \"shieldCheck\", label: \"Secure Checkout\" },\n    { icon: \"lock\", label: \"SSL Encrypted\" },\n  ],\n  paymentImage: {\n    src: \"https://oud.pics/sm/l/payment-cards.png\",\n    alt: \"Payment methods\",\n  },\n  copyright: \"© 2026 Beste Inc. All rights reserved.\",\n};\n\nexport function Footer21({\n  logo,\n  links = [],\n  trustBadges = [],\n  paymentImage,\n  copyright,\n  className,\n}: Footer21Props) {\n  return (\n    <footer className={cn(\"py-16 md:py-24\", className)}>\n      <div className=\"mx-auto max-w-6xl px-4 md:px-6\">\n        <div className=\"flex flex-col items-center gap-8 text-center\">\n          {logo?.text && (\n            <Link href={logo.href ?? \"#\"} className=\"text-xl font-bold tracking-tight\">\n              {logo.text}\n            </Link>\n          )}\n          {links.length > 0 && (\n            <nav className=\"flex flex-wrap justify-center gap-4 md:gap-6\">\n              {links.map((link, index) => (\n                <Link\n                  key={index}\n                  href={link.href ?? \"#\"}\n                  className=\"text-sm text-muted-foreground transition-colors hover:text-foreground\"\n                >\n                  {link.label}\n                </Link>\n              ))}\n            </nav>\n          )}\n        </div>\n        <div className=\"mt-12 border-t pt-8\">\n          <div className=\"flex flex-col items-center gap-6\">\n            {trustBadges.length > 0 && (\n              <div className=\"flex flex-wrap justify-center gap-6\">\n                {trustBadges.map((badge, index) => {\n                  const Icon = trustIcons[badge.icon];\n                  return (\n                    <div\n                      key={index}\n                      className=\"flex items-center gap-2 text-sm text-muted-foreground\"\n                    >\n                      <Icon className=\"size-4\" />\n                      <span>{badge.label}</span>\n                    </div>\n                  );\n                })}\n              </div>\n            )}\n            {paymentImage && (\n              <img\n                src={paymentImage.src}\n                alt={paymentImage.alt}\n                width={200}\n                height={32}\n                className=\"h-8 w-auto\"\n              />\n            )}\n            {copyright && <p className=\"text-sm text-muted-foreground\">{copyright}</p>}\n          </div>\n        </div>\n      </div>\n    </footer>\n  );\n}\n",
      "type": "registry:component",
      "target": "components/beste/block/footer21.tsx"
    }
  ],
  "type": "registry:block"
}