{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "card-widgets-my-projects-1",
  "type": "registry:block",
  "title": "My projects",
  "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/widgets-my-projects-1.tsx",
      "type": "registry:component",
      "target": "components/overtrue/blocks/widgets-my-projects-1.tsx",
      "content": "\"use client\";\nimport { BlockFrame } from \"./runtime/blocks/frame\";\nimport \"./runtime/cards.css\";\n// Extracted from src/components/overtrue/scenes/showcase.tsx:74.\nimport { useWorkData } from \"./runtime/components/overtrue/workspace/work-data\";\nimport { SceneCard, Pill } from \"./runtime/components/overtrue/scenes/shared\";\n\nfunction CardExample() {\n  const { projects } = useWorkData();\n\n  return (\n    <>\n      <div className=\"overtrue-block-content\" data-workspace-page=\"widgets\">\n        <SceneCard title=\"My projects\" className=\"scene-table-card\">\n          <div\n            className=\"scene-table-wrap\"\n            tabIndex={0}\n            role=\"region\"\n            aria-label=\"Scrollable records\"\n          >\n            <table className=\"scene-table\">\n              <thead>\n                <tr>\n                  <th>Project</th>\n                  <th>Next milestone</th>\n                  <th>Status</th>\n                </tr>\n              </thead>\n              <tbody>\n                {projects\n                  .filter((project) => project.owner === \"Maya Okafor\")\n                  .map((project) => (\n                    <tr key={project.id}>\n                      <td>\n                        <a href={`#/datagrid?project=${project.id}`}>\n                          {project.name}\n                        </a>\n                        <small>{project.client}</small>\n                      </td>\n                      <td>{project.due}</td>\n                      <td>\n                        <Pill>{project.status}</Pill>\n                      </td>\n                    </tr>\n                  ))}\n              </tbody>\n            </table>\n          </div>\n        </SceneCard>\n      </div>\n    </>\n  );\n}\n\nexport default function Block() { return <BlockFrame><CardExample /></BlockFrame>; }\n"
    }
  ],
  "docs": "Documentation: https://ui.overtrue.xyz/blocks/widgets-my-projects-1. Includes the shared card foundation and hosted demo imagery. Replace sample data and navigation with your application data."
}
