{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "floating-footer",
  "type": "registry:block",
  "title": "Floating Footer Block",
  "description": "A Floating Footer Block component for displaying a floating footer section.",
  "files": [
    {
      "path": "src/registry/blocks/floating-footer.tsx",
      "type": "registry:block",
      "content": "import type { ComponentProps } from \"react\";\n\nimport { cn } from \"@/lib/utils\";\n\nexport type FloatingFooterLink = { label: string; href: string };\n\nexport type FloatingFooterProps = {\n  wordmark?: string;\n  version?: string;\n  links?: FloatingFooterLink[];\n  socialLinks?: FloatingFooterLink[];\n  status?: { label: string; href: string };\n  year?: number;\n} & ComponentProps<\"footer\">;\n\nconst DEFAULT_LINKS: FloatingFooterLink[] = [\n  { label: \"Docs\", href: \"#\" },\n  { label: \"Changelog\", href: \"#\" },\n  { label: \"Pricing\", href: \"#\" },\n  { label: \"Privacy\", href: \"#\" },\n];\n\nconst DEFAULT_SOCIAL: FloatingFooterLink[] = [\n  { label: \"GitHub\", href: \"#\" },\n  { label: \"Mastodon\", href: \"#\" },\n  { label: \"RSS\", href: \"#\" },\n];\n\nconst linkClass =\n  \"underline-offset-4 outline-none hover:text-foreground hover:underline focus-visible:text-foreground focus-visible:ring-2 focus-visible:ring-ring\";\n\n/**\n * Minimal single-row footer for apps and docs: wordmark, a few links,\n * a system status line and social links as plain text.\n */\nexport function FloatingFooter({\n  wordmark = \"Kiln\",\n  version = \"v2.8.1\",\n  links = DEFAULT_LINKS,\n  socialLinks = DEFAULT_SOCIAL,\n  status = { label: \"All systems normal\", href: \"#\" },\n  year = 2026,\n  className,\n  ...props\n}: FloatingFooterProps) {\n  return (\n    <footer\n      data-slot=\"floating-footer\"\n      className={cn(\"w-full border-t bg-background text-foreground\", className)}\n      {...props}\n    >\n      <div className=\"mx-auto flex max-w-6xl flex-col gap-4 px-6 py-6 text-sm text-muted-foreground lg:flex-row lg:items-center lg:gap-8\">\n        <div className=\"flex items-baseline gap-2\">\n          <h2 className=\"text-sm font-semibold tracking-tight text-foreground\">\n            {wordmark}\n          </h2>\n          <span className=\"font-mono text-xs tabular-nums\">{version}</span>\n          <span className=\"text-xs tabular-nums\">© {year}</span>\n        </div>\n\n        <nav aria-label=\"Footer\">\n          <ul className=\"flex flex-wrap gap-x-5 gap-y-2\">\n            {links.map((link) => (\n              <li key={link.label}>\n                <a href={link.href} className={linkClass}>\n                  {link.label}\n                </a>\n              </li>\n            ))}\n          </ul>\n        </nav>\n\n        <a\n          href={status.href}\n          className={cn(\n            linkClass,\n            \"inline-flex items-center gap-2 font-mono text-xs uppercase tracking-wider lg:ml-auto\"\n          )}\n        >\n          <span aria-hidden className=\"size-2 bg-primary\" />\n          {status.label}\n        </a>\n\n        <nav aria-label=\"Social\">\n          <ul className=\"flex gap-4\">\n            {socialLinks.map((link) => (\n              <li key={link.label}>\n                <a href={link.href} className={linkClass}>\n                  {link.label}\n                </a>\n              </li>\n            ))}\n          </ul>\n        </nav>\n      </div>\n    </footer>\n  );\n}\n"
    }
  ]
}
