{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "source-note",
  "type": "registry:ui",
  "title": "Source Note",
  "description": "Source provenance and limitations beside copied, cached or partial data.",
  "dependencies": [
    "lucide-react@^1.49.0"
  ],
  "registryDependencies": [
    "https://ui.klarhimmel.com/r/theme.json",
    "https://ui.klarhimmel.com/r/utils.json"
  ],
  "files": [
    {
      "path": "src/ui/source-note.tsx",
      "type": "registry:file",
      "target": "components/klarhimmel/ui/source-note.tsx",
      "content": "import type { ReactNode } from 'react';\nimport { Info } from 'lucide-react';\nimport { cn } from '../lib/utils';\n\n/** Provenance stays beside the data; a cached copy never claims to be live. */\nexport function SourceNote({ source, children, className }: { source: ReactNode; children?: ReactNode; className?: string }) {\n  return <div role=\"note\" className={cn('flex items-start gap-2 rounded-kh border border-kh-line bg-kh-surface-2 px-4 py-3 text-kh-small text-kh-muted', className)}>\n    <Info aria-hidden className=\"mt-0.5 size-4 shrink-0\" />\n    <div className=\"min-w-0 [overflow-wrap:anywhere]\"><span className=\"font-medium text-kh-ink\">{source}</span>{children && <div className=\"mt-1\">{children}</div>}</div>\n  </div>;\n}\n"
    }
  ]
}
