{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "card-workspace-identity-project-preview-2",
  "type": "registry:block",
  "title": "Project preview",
  "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/workspace-identity-project-preview-2.tsx",
      "type": "registry:component",
      "target": "components/overtrue/blocks/workspace-identity-project-preview-2.tsx",
      "content": "\"use client\";\nimport { BlockFrame } from \"./runtime/blocks/frame\";\nimport \"./runtime/cards.css\";\n// Extracted from src/components/overtrue/scenes/workspace-tools.tsx:617.\nimport { useState } from \"react\";\nimport {\n  IconBriefcase,\n  IconFileText,\n  IconFolder,\n  IconLayoutGrid,\n  IconMail,\n  IconPalette,\n  IconSettings,\n  IconUsers,\n} from \"@tabler/icons-react\";\nimport { SceneCard, Person, Pill } from \"./runtime/components/overtrue/scenes/shared\";\nconst workspaceIcons = [\n  { name: \"Projects\", icon: IconBriefcase },\n  { name: \"Files\", icon: IconFolder },\n  { name: \"Documents\", icon: IconFileText },\n  { name: \"Inbox\", icon: IconMail },\n  { name: \"Team\", icon: IconUsers },\n  { name: \"Design\", icon: IconPalette },\n  { name: \"Workspace\", icon: IconLayoutGrid },\n  { name: \"Settings\", icon: IconSettings },\n];\nfunction CardExample({ id = \"icons\" }: { id?: string } = {}) {\n  const [icon] = useState(\"Projects\");\n  const [color] = useState(\"#4263eb\");\n  const [pattern] = useState(\"Plain\");\n  const [name] = useState(\"Visitor experience\");\n  const Icon = workspaceIcons.find((item) => item.name === icon)!.icon;\n\n  return (\n    <>\n      <div className=\"overtrue-block-content\" data-workspace-page={id}>\n        <SceneCard title=\"Project preview\">\n          <div\n            className={`scene-identity-cover is-${pattern.toLowerCase()}`}\n            style={{ borderTopColor: color }}\n          >\n            <span style={{ color }}>\n              <Icon size={34} />\n            </span>\n          </div>\n          <h3>{name || \"Untitled project\"}</h3>\n          <p>Culture venue · Client project</p>\n          <Pill>In progress</Pill>\n          <div className=\"scene-record-list\">\n            <div>\n              <Person name=\"Maya Okafor\" subtitle=\"Project owner\" />\n            </div>\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/workspace-identity-project-preview-2. Includes the shared card foundation and hosted demo imagery. Replace sample data and navigation with your application data."
}
