{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "footer-02",
  "title": "Footer 02",
  "description": "A grain-textured footer with dashed grid lines, navigation columns, and an oversized wordmark.",
  "dependencies": [
    "lucide-react"
  ],
  "files": [
    {
      "path": "src/registry/blocks/footer-02/footer-02.tsx",
      "content": "import { RssIcon } from \"lucide-react\";\nimport type { Route } from \"next\";\nimport Link from \"next/link\";\nimport type { ReactNode } from \"react\";\n\nimport { cn } from \"@/lib/utils\";\n\nexport interface Footer02Link {\n\tlabel: string;\n\thref: string;\n\texternal?: boolean;\n\ticon?: ReactNode;\n}\n\nexport interface Footer02LinkGroup {\n\ttitle: string;\n\tlinks: Footer02Link[];\n}\n\nexport interface Footer02Props {\n\tbrandName?: string;\n\tbrandHref?: string;\n\tbrandMark?: ReactNode;\n\tcopyright?: string;\n\tlinkGroups?: Footer02LinkGroup[];\n\tsocialLinks?: Footer02Link[];\n\twordmark?: ReactNode;\n\tclassName?: string;\n}\n\nconst DEFAULT_LINK_GROUPS: Footer02LinkGroup[] = [\n\t{\n\t\ttitle: \"Components\",\n\t\tlinks: [\n\t\t\t{ label: \"3D Button\", href: \"#\" },\n\t\t\t{ label: \"Animated Tabs\", href: \"#\" },\n\t\t\t{ label: \"Copy Button\", href: \"#\" },\n\t\t\t{ label: \"Email Dock\", href: \"#\" },\n\t\t\t{ label: \"World Map\", href: \"#\" },\n\t\t],\n\t},\n\t{\n\t\ttitle: \"Shadcn Compatible Blocks\",\n\t\tlinks: [\n\t\t\t{ label: \"Hero\", href: \"#\" },\n\t\t\t{ label: \"Pricing\", href: \"#\" },\n\t\t\t{ label: \"FAQ\", href: \"#\" },\n\t\t\t{ label: \"Footer\", href: \"#\" },\n\t\t],\n\t},\n\t{\n\t\ttitle: \"Legal\",\n\t\tlinks: [\n\t\t\t{ label: \"License\", href: \"#\" },\n\t\t\t{ label: \"Terms of Service\", href: \"#\" },\n\t\t\t{ label: \"Privacy\", href: \"#\" },\n\t\t\t{ label: \"Copyright\", href: \"#\" },\n\t\t],\n\t},\n];\n\nconst DEFAULT_SOCIAL_LINKS: Footer02Link[] = [\n\t{\n\t\tlabel: \"X (formerly Twitter)\",\n\t\thref: \"https://x.com\",\n\t\texternal: true,\n\t},\n\t{\n\t\tlabel: \"RSS\",\n\t\thref: \"#\",\n\t\ticon: <RssIcon aria-hidden=\"true\" className=\"size-3\" />,\n\t},\n];\n\nconst GRAIN_BACKGROUND =\n\t\"url(\\\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E\\\")\";\n\nconst EXTERNAL_URL_PATTERN = /^https?:\\/\\//;\n\nconst MARKER_POSITION_CLASSES = {\n\t\"top-left\": \"-top-[3px] -left-1\",\n\t\"top-right\": \"-top-[3px] -right-1\",\n\t\"bottom-left\": \"-bottom-[3px] -left-1\",\n\t\"bottom-right\": \"-right-1 -bottom-[3px]\",\n} as const;\n\nfunction Grain({ className }: { className?: string }) {\n\treturn (\n\t\t<div\n\t\t\taria-hidden=\"true\"\n\t\t\tclassName={cn(\n\t\t\t\t\"pointer-events-none absolute inset-0 -z-10 opacity-10\",\n\t\t\t\tclassName,\n\t\t\t)}\n\t\t\tstyle={{\n\t\t\t\tbackgroundImage: GRAIN_BACKGROUND,\n\t\t\t\tbackgroundRepeat: \"repeat\",\n\t\t\t}}\n\t\t/>\n\t);\n}\n\nfunction GridMarker({\n\tposition,\n\tclassName,\n}: {\n\tposition: \"top-left\" | \"top-right\" | \"bottom-left\" | \"bottom-right\";\n\tclassName?: string;\n}) {\n\treturn (\n\t\t<span\n\t\t\taria-hidden=\"true\"\n\t\t\tclassName={cn(\n\t\t\t\t\"absolute z-10 size-1.5 rotate-45 border border-primary-foreground/25 bg-background\",\n\t\t\t\tMARKER_POSITION_CLASSES[position],\n\t\t\t\tclassName,\n\t\t\t)}\n\t\t/>\n\t);\n}\n\nfunction ArrowUpRight() {\n\treturn (\n\t\t<svg\n\t\t\taria-hidden=\"true\"\n\t\t\tclassName=\"size-2.5\"\n\t\t\tfill=\"none\"\n\t\t\tstroke=\"currentColor\"\n\t\t\tstrokeLinecap=\"round\"\n\t\t\tstrokeLinejoin=\"round\"\n\t\t\tstrokeWidth=\"1.5\"\n\t\t\tviewBox=\"0 0 12 12\"\n\t\t>\n\t\t\t<path d=\"M3.5 8.5 8.5 3.5m0 0h-4m4 0v4\" />\n\t\t</svg>\n\t);\n}\n\nfunction FooterLinkList({ links }: { links: Footer02Link[] }) {\n\treturn (\n\t\t<ul className=\"mt-5 flex flex-col gap-1.5 font-mono text-[12px] text-primary-foreground/65 tracking-tight\">\n\t\t\t{links.map((link) => {\n\t\t\t\tconst external = link.external ?? EXTERNAL_URL_PATTERN.test(link.href);\n\n\t\t\t\treturn (\n\t\t\t\t\t<li key={`${link.label}-${link.href}`}>\n\t\t\t\t\t\t<Link\n\t\t\t\t\t\t\tclassName=\"inline-flex items-center gap-1 transition-colors hover:text-primary-foreground\"\n\t\t\t\t\t\t\thref={link.href as Route}\n\t\t\t\t\t\t\trel={external ? \"noreferrer\" : undefined}\n\t\t\t\t\t\t\ttarget={external ? \"_blank\" : undefined}\n\t\t\t\t\t\t>\n\t\t\t\t\t\t\t{link.icon}\n\t\t\t\t\t\t\t{link.label}\n\t\t\t\t\t\t\t{external ? <ArrowUpRight /> : null}\n\t\t\t\t\t\t</Link>\n\t\t\t\t\t</li>\n\t\t\t\t);\n\t\t\t})}\n\t\t</ul>\n\t);\n}\n\nfunction TentMark() {\n\treturn (\n\t\t<svg\n\t\t\taria-hidden=\"true\"\n\t\t\tclassName=\"h-5 w-auto text-white\"\n\t\t\tfill=\"none\"\n\t\t\tviewBox=\"0 0 150 128\"\n\t\t>\n\t\t\t<path\n\t\t\t\td=\"M10 128H0v-20.851h10V128Zm100-116.996h10V21.43h10v10.425h10V42.57h9.722v52.706H140v11.873h-10V74.715h-10v31.855h-10V128h-10V74.715H90v31.855H80V128H70v-21.43H60V74.715H50V128H40v-21.43H30V74.715H20v32.434H10V95.276H.278V42.57H10V31.855h10V21.43h10V11.004h10V0h70v11.004ZM30 42.86h10V31.855H30V42.86Zm80 0h10V31.855h-10V42.86ZM150 128h-10v-20.851h10V128Z\"\n\t\t\t\tfill=\"currentColor\"\n\t\t\t/>\n\t\t</svg>\n\t);\n}\n\nfunction TentWordmark() {\n\treturn (\n\t\t<svg\n\t\t\taria-hidden=\"true\"\n\t\t\tclassName=\"h-auto w-full text-primary-foreground/30\"\n\t\t\tfill=\"none\"\n\t\t\tviewBox=\"0 0 929 258\"\n\t\t>\n\t\t\t<path\n\t\t\t\tclassName=\"fill-current/10\"\n\t\t\t\td=\"M1 129h64v64H1zM161 193h64v64h-64zM161 1h64v64h-64zM705 1h64v64h-64zM705 193h64v64h-64zM864 129h64v64h-64z\"\n\t\t\t/>\n\t\t\t<path\n\t\t\t\tclassName=\"stroke-current/40\"\n\t\t\t\td=\"M1 65h947M1 1h947M1 257h947M1 193h947M65 1v256M864 1v256\"\n\t\t\t\tstrokeDasharray=\"8 4\"\n\t\t\t\tstrokeLinecap=\"square\"\n\t\t\t/>\n\t\t\t<g fill=\"currentColor\" fillOpacity=\".3\" transform=\"translate(65 65)\">\n\t\t\t\t<path d=\"M149.5 107.649V127.5h-9v-19.851h9Zm-40-107.149v11.005h10V21.93h10v10.425h10V43.07h9.723v51.706H139.5v11.873h-9V74.215h-11v31.855h-10v21.43h-9V74.215h-11v31.855h-10v21.43h-9v-21.43h-10V74.215h-11v53.285h-9v-21.43h-10V74.215h-11v32.434h-9V94.776H.777V43.07H10.5V32.355h10V21.93h10V11.505h10V.5h69ZM9.5 107.649V127.5h-9v-19.851h9Zm20-64.29h11V31.356h-11v12.004Zm80 0h11V31.356h-11v12.004Z\" />\n\t\t\t\t<path d=\"M330.175 41.279v16.983h17.201v19.476h-20.071V60.941h-47.989v13.931h34.031v19.849h-34.031v14.117h47.989V91.668h20.071v19.85h-17.201V128.5h-53.728v-16.796h-17.015V58.262h17.015V41.279h53.728Zm109.556 0v16.983h17.202V128.5h-20.072V60.941h-47.988V128.5h-19.885V41.279h70.743ZM507.771 7.5v33.779h51.232v19.662h-51.232v47.897h48.363V91.855h19.885v19.849h-17.016V128.5h-54.101v-16.796h-16.828V60.941h-17.015V41.279h17.015V7.5h19.697Zm147.142 0v101.338h47.988V7.5h20.072v104.204h-17.202V128.5h-53.727v-16.796h-17.015V7.5h19.884ZM798.5 7.5v19.85h-17.202v81.488H798.5V128.5h-53.914v-19.662h17.015V27.35h-17.015V7.5H798.5ZM256.444 44.146h-20.071V27.35h-13.959V128.5h-20.071V27.35h-13.958v16.796H168.5V24.98l.034-16.982V7.5h87.683l.007.493.22 16.984v19.169Z\" />\n\t\t\t</g>\n\t\t</svg>\n\t);\n}\n\nfunction FooterFrame({ children }: { children: ReactNode }) {\n\treturn (\n\t\t<div className=\"relative isolate mx-auto w-full px-2 lg:w-[calc(100%-4rem)] lg:border-primary-foreground/15 lg:border-x lg:border-dashed\">\n\t\t\t<Grain className=\"hidden lg:block\" />\n\t\t\t<GridMarker className=\"hidden lg:block\" position=\"top-left\" />\n\t\t\t<GridMarker className=\"hidden lg:block\" position=\"top-right\" />\n\t\t\t<GridMarker className=\"hidden lg:block\" position=\"bottom-left\" />\n\t\t\t<GridMarker className=\"hidden lg:block\" position=\"bottom-right\" />\n\n\t\t\t<div className=\"relative mx-auto w-full max-w-6xl border-primary-foreground/15 border-x border-dashed\">\n\t\t\t\t{children}\n\t\t\t\t<GridMarker position=\"top-left\" />\n\t\t\t\t<GridMarker position=\"top-right\" />\n\t\t\t\t<GridMarker position=\"bottom-left\" />\n\t\t\t\t<GridMarker position=\"bottom-right\" />\n\t\t\t</div>\n\t\t</div>\n\t);\n}\n\nexport default function Footer02({\n\tbrandName = \"TentUI\",\n\tbrandHref = \"#\",\n\tbrandMark,\n\tcopyright = \"© 2026\",\n\tlinkGroups = DEFAULT_LINK_GROUPS,\n\tsocialLinks = DEFAULT_SOCIAL_LINKS,\n\twordmark,\n\tclassName,\n}: Footer02Props) {\n\treturn (\n\t\t<footer\n\t\t\tclassName={cn(\n\t\t\t\t\"relative isolate w-full overflow-hidden bg-primary text-primary-foreground\",\n\t\t\t\tclassName,\n\t\t\t)}\n\t\t>\n\t\t\t<Grain />\n\t\t\t<FooterFrame>\n\t\t\t\t<div className=\"flex flex-col divide-y divide-dashed divide-primary-foreground/15 md:flex-row md:divide-x md:divide-y-0\">\n\t\t\t\t\t<div className=\"px-4 py-7 md:flex-1\">\n\t\t\t\t\t\t<div className=\"flex items-center gap-2\">\n\t\t\t\t\t\t\t<Link\n\t\t\t\t\t\t\t\taria-label={`${brandName} home`}\n\t\t\t\t\t\t\t\tclassName=\"flex w-fit items-center gap-2\"\n\t\t\t\t\t\t\t\thref={brandHref as Route}\n\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t{brandMark ?? <TentMark />}\n\t\t\t\t\t\t\t\t<span className=\"font-mono text-[12px] text-white tracking-tight\">\n\t\t\t\t\t\t\t\t\t{brandName}\n\t\t\t\t\t\t\t\t</span>\n\t\t\t\t\t\t\t</Link>\n\t\t\t\t\t\t\t<span aria-hidden=\"true\" className=\"text-primary-foreground/35\">\n\t\t\t\t\t\t\t\t·\n\t\t\t\t\t\t\t</span>\n\t\t\t\t\t\t\t<span className=\"font-mono text-[12px] text-primary-foreground/65 tracking-tight\">\n\t\t\t\t\t\t\t\t{copyright}\n\t\t\t\t\t\t\t</span>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t\t<FooterLinkList links={socialLinks} />\n\t\t\t\t\t</div>\n\n\t\t\t\t\t{linkGroups.map((group) => (\n\t\t\t\t\t\t<nav\n\t\t\t\t\t\t\taria-label={group.title}\n\t\t\t\t\t\t\tclassName=\"relative px-4 py-7 md:flex-1\"\n\t\t\t\t\t\t\tkey={group.title}\n\t\t\t\t\t\t>\n\t\t\t\t\t\t\t<GridMarker position=\"top-left\" />\n\t\t\t\t\t\t\t<h2 className=\"font-mono text-[12px] tracking-tight\">\n\t\t\t\t\t\t\t\t{group.title}\n\t\t\t\t\t\t\t</h2>\n\t\t\t\t\t\t\t<FooterLinkList links={group.links} />\n\t\t\t\t\t\t</nav>\n\t\t\t\t\t))}\n\t\t\t\t</div>\n\n\t\t\t\t{wordmark ?? <TentWordmark />}\n\t\t\t</FooterFrame>\n\t\t</footer>\n\t);\n}\n",
      "type": "registry:component",
      "target": "@components/footer-02.tsx"
    }
  ],
  "meta": {
    "createdAt": "2026-07-21",
    "iframeHeight": 720,
    "previewClassName": "flex min-h-svh items-end"
  },
  "categories": [
    "footer"
  ],
  "type": "registry:block"
}