{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "card-roles-hiring-overview-1",
  "type": "registry:block",
  "title": "Hiring overview",
  "description": "People card from the overtrue/ui workspace examples. Editable source, scoped styles, and demo interactions.",
  "categories": [
    "cards",
    "people"
  ],
  "registryDependencies": [
    "https://ui.overtrue.xyz/r/overtrue-card-foundation.json"
  ],
  "files": [
    {
      "path": "src/blocks/registry/roles-hiring-overview-1.tsx",
      "type": "registry:component",
      "target": "components/overtrue/blocks/roles-hiring-overview-1.tsx",
      "content": "\"use client\";\nimport { BlockFrame } from \"./runtime/blocks/frame\";\nimport \"./runtime/cards.css\";\n// Extracted from src/components/overtrue/scenes/people.tsx:401.\nimport { useState } from \"react\";\nimport { SceneCard, Pill } from \"./runtime/components/overtrue/scenes/shared\";\n\nfunction CardExample() {\n  const [selected, setSelected] = useState(\"Senior product designer\");\n  const [department] = useState(\"All departments\");\n  const roles = [\n    {\n      title: \"Senior product designer\",\n      team: \"Design\",\n      candidates: 14,\n      owner: \"Maya Okafor\",\n      description:\n        \"Own the design direction on client projects, run useful critiques, and help the team turn research into clear interfaces.\",\n    },\n    {\n      title: \"Creative developer\",\n      team: \"Engineering\",\n      candidates: 8,\n      owner: \"Leo Nakamura\",\n      description:\n        \"Build accessible, responsive experiences and collaborate with designers on prototypes and production delivery.\",\n    },\n    {\n      title: \"Client partner\",\n      team: \"Client services\",\n      candidates: 6,\n      owner: \"Samir Haddad\",\n      description:\n        \"Guide client relationships from initial scope through handover. Keep decisions, budgets, and delivery expectations clear.\",\n    },\n  ];\n\n  return (\n    <>\n      <div\n        className=\"overtrue-block-content\"\n        data-workspace-page=\"open-positions\"\n      >\n        <SceneCard title=\"Hiring overview\" 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>Position</th>\n                  <th>Department</th>\n                  <th>Candidates</th>\n                  <th>Status</th>\n                </tr>\n              </thead>\n              <tbody>\n                {roles\n                  .filter(\n                    (item) =>\n                      department === \"All departments\" ||\n                      item.team === department,\n                  )\n                  .map((item) => (\n                    <tr key={item.title}>\n                      <td>\n                        <button\n                          className=\"scene-text-button\"\n                          aria-pressed={selected === item.title}\n                          onClick={() => setSelected(item.title)}\n                        >\n                          {item.title}\n                        </button>\n                        <small>Remote, Europe · Full time</small>\n                      </td>\n                      <td>{item.team}</td>\n                      <td>{item.candidates}</td>\n                      <td>\n                        <Pill>Active</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/roles-hiring-overview-1. Includes the shared card foundation and hosted demo imagery. Replace sample data and navigation with your application data."
}
