{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "card-carousel-project-details-2",
  "type": "registry:block",
  "title": "Project details",
  "description": "Workspace card from the overtrue/ui workspace examples. Editable source, scoped styles, and demo interactions.",
  "categories": [
    "cards",
    "workspace"
  ],
  "registryDependencies": [
    "https://ui.overtrue.xyz/r/overtrue-card-foundation.json"
  ],
  "files": [
    {
      "path": "src/blocks/registry/carousel-project-details-2.tsx",
      "type": "registry:component",
      "target": "components/overtrue/blocks/carousel-project-details-2.tsx",
      "content": "\"use client\";\nimport { BlockFrame } from \"./runtime/blocks/frame\";\nimport \"./runtime/cards.css\";\n// Extracted from src/components/overtrue/scenes/library.tsx:307.\nimport { useState } from \"react\";\nimport { DetailList } from \"./runtime/registry/overtrue/detail-list\";\nimport { projects } from \"./runtime/data/workspace/studio\";\nimport {\n  SceneCard,\n  Pill,\n  Person,\n  Go,\n} from \"./runtime/components/overtrue/scenes/shared\";\n\nfunction CardExample() {\n  const [index] = useState(0);\n  const project = projects[index];\n\n  return (\n    <>\n      <div className=\"overtrue-block-content\" data-workspace-page=\"carousel\">\n        <SceneCard title=\"Project details\">\n          <Pill>{project.status}</Pill>\n          <div className=\"scene-record-list\">\n            <div>\n              <Person name={project.owner} subtitle=\"Project owner\" />\n            </div>\n          </div>\n          <DetailList\n            items={[\n              {\n                id: \"category\",\n                label: \"Discipline\",\n                value: project.category,\n              },\n              { id: \"client\", label: \"Client\", value: project.client },\n              { id: \"delivery\", label: \"Next milestone\", value: project.due },\n            ]}\n          />\n          <Go to={`/datagrid?project=${project.id}`}>Open project</Go>\n        </SceneCard>\n      </div>\n    </>\n  );\n}\n\nexport default function Block() { return <BlockFrame><CardExample /></BlockFrame>; }\n"
    }
  ],
  "docs": "Documentation: https://ui.overtrue.xyz/blocks/carousel-project-details-2. Includes the shared card foundation and hosted demo imagery. Replace sample data and navigation with your application data."
}
