{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "sources-demo",
  "registryDependencies": [
    "https://taki-ui.com/r/sources.json",
    "https://taki-ui.com/r/disclosure.json"
  ],
  "files": [
    {
      "path": "registry/new-york/examples/sources-demo.tsx",
      "content": "import {\n  Source,\n  Sources,\n  SourcesContent,\n  SourcesTrigger,\n} from \"@/registry/new-york/ai-elements/sources\"\n\nexport default function SourcesDemo() {\n  const sources = [\n    {\n      id: \"1\",\n      title: \"React Documentation\",\n      href: \"https://react.dev\",\n    },\n    {\n      id: \"2\",\n      title: \"MDN Web Docs\",\n      href: \"https://developer.mozilla.org\",\n    },\n    {\n      id: \"3\",\n      title: \"TypeScript Handbook\",\n      href: \"https://www.typescriptlang.org/docs\",\n    },\n  ]\n\n  return (\n    <div className=\"w-full max-w-2xl\">\n      <Sources>\n        <SourcesTrigger count={sources.length} />\n        <SourcesContent>\n          {sources.map((source) => (\n            <Source key={source.id} href={source.href} title={source.title} />\n          ))}\n        </SourcesContent>\n      </Sources>\n    </div>\n  )\n}\n",
      "type": "registry:example"
    }
  ],
  "type": "registry:example"
}