{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "footnote-demo",
  "type": "registry:block",
  "title": "Footnote: Help Center",
  "description": "AI Answer With Citations example, Help Center: A workspace app's help assistant answers a data-residency question from its docs, status page, trust center and changelog. A community thread it read but didn't cite sits last, with a monogram. A take on the citations (footnotes). Fits features, docs and hero sections.",
  "author": "KeyframeUI <https://keyframeui.com>",
  "categories": [
    "features",
    "docs",
    "hero",
    "citations",
    "text-animation",
    "ai-chat",
    "ai",
    "text",
    "hover"
  ],
  "docs": "Live preview, examples and props: https://keyframeui.com/components/footnote#footnote-demo",
  "registryDependencies": [
    "https://keyframeui.com/r/footnote.json"
  ],
  "files": [
    {
      "path": "components/footnote-demo.tsx",
      "type": "registry:component",
      "content": "\"use client\";\n\nimport { Footnote, type FootnoteClaim, type FootnoteSource } from \"@/components/ui/footnote\";\n\nconst sources: FootnoteSource[] = [\n  {\n    id: \"docs\",\n    site: \"docs.plinth.so\",\n    title: \"Data residency: moving a workspace\",\n    href: \"#data-residency\",\n    snippet:\n      \"Owners of Business and Enterprise workspaces can move their data to our Frankfurt region. Start the move from Settings → Data residency and pick a window that suits your team.\",\n    quote: \"move their data to our Frankfurt region\",\n  },\n  {\n    id: \"status\",\n    site: \"status.plinth.so\",\n    title: \"Scheduled maintenance: region moves\",\n    href: \"#region-moves\",\n    snippet:\n      \"While a move runs, the workspace stays readable but can't be edited. Plan for about 20 minutes for every 10 GB of files.\",\n    quote: \"about 20 minutes for every 10 GB of files\",\n  },\n  {\n    id: \"trust\",\n    site: \"trust.plinth.so\",\n    title: \"Audit log retention\",\n    href: \"#audit-logs\",\n    snippet:\n      \"When a workspace changes region, audit events from the last 90 days move with it. Older events stay where they were recorded until they expire.\",\n    quote: \"Older events stay where they were recorded\",\n  },\n  {\n    id: \"changelog\",\n    site: \"plinth.so/changelog\",\n    title: \"5.2: EU data residency is generally available\",\n    href: \"#changelog-5-2\",\n    snippet: \"After six months in beta, hosting in Frankfurt is open to every Business and Enterprise workspace.\",\n    quote: \"open to every Business and Enterprise workspace\",\n  },\n  {\n    id: \"community\",\n    site: \"community.plinth.so\",\n    title: \"Moving a 40 GB workspace: how long did yours take?\",\n    href: \"#community-thread\",\n    snippet: \"Ours took a little under an hour on a Sunday morning. Search was back before the move finished.\",\n  },\n];\n\nconst answer: FootnoteClaim[] = [\n  {\n    text: \"Yes. Workspaces on the Business and Enterprise plans can move to Frankfurt from Settings → Data residency.\",\n    cite: \"docs\",\n  },\n  {\n    text: \"The move runs in a window you pick, and the workspace is read-only for about 20 minutes per 10 GB of files.\",\n    cite: \"status\",\n  },\n  {\n    text: \"Pages, files and search move with it; audit logs older than 90 days stay in the US until they expire.\",\n    cite: \"trust\",\n  },\n  { text: \"EU hosting has been generally available since version 5.2.\", cite: \"changelog\" },\n];\n\nexport function FootnoteDemo() {\n  return (\n    <Footnote\n      question=\"Can we move our workspace to the EU region?\"\n      answer={answer}\n      sources={sources}\n      read={11}\n      avatar={<PlinthMark className=\"size-3.5\" />}\n      className=\"max-w-lg\"\n    />\n  );\n}\n\nfunction PlinthMark({ className }: { className?: string }) {\n  return (\n    <svg viewBox=\"0 0 16 16\" className={className} aria-hidden>\n      <path d=\"M2 12.5h12V14H2zM4 8.5h8V11H4zM6 3h4v4H6z\" fill=\"currentColor\" />\n    </svg>\n  );\n}\n"
    }
  ]
}