Fortura/apps/www/public/r/code-tabs-demo.json
2025-08-20 04:12:49 -06:00

18 lines
1.3 KiB
JSON

{
"$schema": "https://ui.shadcn.com/schema/registry-item.json",
"name": "code-tabs-demo",
"type": "registry:ui",
"title": "Code Tabs Demo",
"description": "Demo showing a code tabs.",
"registryDependencies": [
"https://animate-ui.com/r/code-tabs"
],
"files": [
{
"path": "registry/demo/components/code-tabs/index.tsx",
"content": "import { CodeTabs } from '@/components/animate-ui/components/code-tabs';\n\nconst CODES = {\n Cursor: `// Copy and paste the code into .cursor/mcp.json\n{\n \"mcpServers\": {\n \"shadcn\": {\n \"command\": \"npx\",\n \"args\": [\"-y\", \"shadcn@canary\", \"registry:mcp\"],\n \"env\": {\n \"REGISTRY_URL\": \"https://animate-ui.com/r/registry.json\"\n }\n }\n }\n}`,\n Windsurf: `// Copy and paste the code into .codeium/windsurf/mcp_config.json\n{\n \"mcpServers\": {\n \"shadcn\": {\n \"command\": \"npx\",\n \"args\": [\"-y\", \"shadcn@canary\", \"registry:mcp\"],\n \"env\": {\n \"REGISTRY_URL\": \"https://animate-ui.com/r/registry.json\"\n }\n }\n }\n}`,\n};\n\nexport const CodeTabsDemo = () => {\n return <CodeTabs lang=\"json\" codes={CODES} />;\n};\n",
"type": "registry:ui",
"target": "components/animate-ui/demo/components/code-tabs.tsx"
}
]
}