{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "project-list",
  "type": "registry:component",
  "title": "Project list",
  "description": "A React projects list with a page header and new project button, and bordered rows that show each project name with an active or paused status badge.",
  "dependencies": [],
  "registryDependencies": [
    "https://ui.minidev.pro/r/button.json",
    "https://ui.minidev.pro/r/page-header.json",
    "https://ui.minidev.pro/r/status-badge.json"
  ],
  "files": [
    {
      "path": "registry/blocks/project-list.tsx",
      "type": "registry:ui",
      "target": "components/ui/project-list.tsx",
      "content": "\"use client\"\nimport { PageHeader } from \"@/components/ui/page-header\"\nimport { Button } from \"@/components/ui/button\"\nimport { StatusBadge } from \"@/components/ui/status-badge\"\nfunction ProjectList() {\n  const projects = [\n    { id: \"1\", name: \"MiniDev UI\", status: \"active\" },\n    { id: \"2\", name: \"Agency site\", status: \"paused\" },\n  ]\n  return (\n    <div data-slot=\"project-list\" className=\"space-y-4\">\n      <PageHeader title=\"Projects\" actions={<Button size=\"sm\">New project</Button>} />\n      <div className=\"divide-y divide-border rounded-xl border border-border\">\n        {projects.map((p) => (\n          <div key={p.id} className=\"flex items-center justify-between px-3 py-3 text-sm\">\n            <span className=\"font-medium text-fg\">{p.name}</span>\n            <StatusBadge tone={p.status === \"active\" ? \"success\" : \"warning\"}>{p.status}</StatusBadge>\n          </div>\n        ))}\n      </div>\n    </div>\n  )\n}\nexport { ProjectList }\n"
    }
  ]
}
