{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "card-roles-roles-2-2",
  "type": "registry:block",
  "title": "Roles 2",
  "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-roles-2-2.tsx",
      "type": "registry:component",
      "target": "components/overtrue/blocks/roles-roles-2-2.tsx",
      "content": "\"use client\";\nimport { BlockFrame } from \"./runtime/blocks/frame\";\nimport \"./runtime/cards.css\";\n// Extracted from src/components/overtrue/scenes/people.tsx:448.\nimport { useState } from \"react\";\nimport { DetailList } from \"./runtime/registry/overtrue/detail-list\";\nimport { SceneCard, Person } from \"./runtime/components/overtrue/scenes/shared\";\n\nfunction CardExample() {\n  const [selected] = useState(\"Senior product designer\");\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  const role = roles.find((item) => item.title === selected)!;\n\n  return (\n    <>\n      <div\n        className=\"overtrue-block-content\"\n        data-workspace-page=\"open-positions\"\n      >\n        <SceneCard title={role.title}>\n          <Person name={role.owner} subtitle=\"Hiring manager\" />\n          <p>{role.description}</p>\n          <DetailList\n            items={[\n              { id: \"location\", label: \"Location\", value: \"Remote · Europe\" },\n              { id: \"type\", label: \"Employment\", value: \"Full time\" },\n              {\n                id: \"candidates\",\n                label: \"Candidates\",\n                value: String(role.candidates),\n              },\n            ]}\n          />\n          <p className=\"scene-subtle\">\n            Fictional recruiting records. No applications are collected.\n          </p>\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-roles-2-2. Includes the shared card foundation and hosted demo imagery. Replace sample data and navigation with your application data."
}
