{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "card-illustrations-illustrations-2-2",
  "type": "registry:block",
  "title": "Illustration cards",
  "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/illustrations-illustrations-2-2.tsx",
      "type": "registry:component",
      "target": "components/overtrue/blocks/illustrations-illustrations-2-2.tsx",
      "content": "\"use client\";\nimport { BlockFrame } from \"./runtime/blocks/frame\";\nimport \"./runtime/cards.css\";\n// Extracted from src/components/overtrue/scenes/library.tsx:383.\nimport { useState } from \"react\";\nimport { DetailList } from \"./runtime/registry/overtrue/detail-list\";\nimport { SceneCard } from \"./runtime/components/overtrue/scenes/shared\";\n\nfunction CardExample() {\n  const items = [\n    {\n      id: \"start\",\n      name: \"Getting started\",\n      usage: \"New workspace and onboarding\",\n    },\n    { id: \"search\", name: \"Search\", usage: \"Empty search results\" },\n    { id: \"team\", name: \"Team\", usage: \"Invitations and collaboration\" },\n    { id: \"files\", name: \"Files\", usage: \"Asset folders and uploads\" },\n    { id: \"secure\", name: \"Security\", usage: \"Access and verification\" },\n    { id: \"connected\", name: \"Connected\", usage: \"Successful connections\" },\n  ];\n  const [selected] = useState(items[0]);\n\n  return (\n    <>\n      <div\n        className=\"overtrue-block-content\"\n        data-workspace-page=\"illustrations\"\n      >\n        <SceneCard title={selected.name}>\n          <img\n            className=\"scene-illustration-preview\"\n            src={`https://ui.overtrue.xyz/assets/overtrue/illustration-${selected.id}.webp`}\n            alt={selected.name}\n          />\n          <DetailList\n            items={[\n              { id: \"use\", label: \"Usage\", value: selected.usage },\n              { id: \"format\", label: \"Format\", value: \"WebP\" },\n              { id: \"status\", label: \"Approval\", value: \"Approved\" },\n            ]}\n          />\n          <a\n            className=\"scene-button\"\n            href={`https://ui.overtrue.xyz/assets/overtrue/illustration-${selected.id}.webp`}\n            download\n          >\n            Download artwork\n          </a>\n        </SceneCard>\n      </div>\n    </>\n  );\n}\n\nexport default function Block() { return <BlockFrame><CardExample /></BlockFrame>; }\n"
    }
  ],
  "docs": "Documentation: https://ui.overtrue.xyz/blocks/illustrations-illustrations-2-2. Includes the shared card foundation and hosted demo imagery. Replace sample data and navigation with your application data."
}
