{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "card-asset-intake-destination-3",
  "type": "registry:block",
  "title": "Destination",
  "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/asset-intake-destination-3.tsx",
      "type": "registry:component",
      "target": "components/overtrue/blocks/asset-intake-destination-3.tsx",
      "content": "\"use client\";\nimport { BlockFrame } from \"./runtime/blocks/frame\";\nimport \"./runtime/cards.css\";\n// Extracted from src/components/overtrue/scenes/content-workbench.tsx:339.\nimport { useState } from \"react\";\nimport { type FileUploadItem } from \"./runtime/registry/overtrue/file-upload\";\nimport { DetailList } from \"./runtime/registry/overtrue/detail-list\";\nimport { SceneCard, Action } from \"./runtime/components/overtrue/scenes/shared\";\n\nfunction CardExample() {\n  const [files] = useState<FileUploadItem[]>([]);\n  const [folder, setFolder] = useState(\"Visitor experience / Source files\");\n  const [saved, setSaved] = useState(false);\n\n  return (\n    <>\n      <div className=\"overtrue-block-content\" data-workspace-page=\"dropzone\">\n        <SceneCard title=\"Destination\">\n          <form\n            className=\"scene-form\"\n            onSubmit={(e) => {\n              e.preventDefault();\n              setSaved(true);\n            }}\n          >\n            <label>\n              Project folder\n              <select\n                value={folder}\n                onChange={(e) => {\n                  setFolder(e.target.value);\n                  setSaved(false);\n                }}\n              >\n                <option>Visitor experience / Source files</option>\n                <option>Identity system / Review assets</option>\n                <option>Studio / Shared resources</option>\n              </select>\n            </label>\n            <DetailList\n              items={[\n                {\n                  id: \"files\",\n                  label: \"Files selected\",\n                  value: String(files.length),\n                },\n                {\n                  id: \"size\",\n                  label: \"Total size\",\n                  value: `${(files.reduce((sum, file) => sum + file.size, 0) / 1024 / 1024).toFixed(2)} MB`,\n                },\n                {\n                  id: \"access\",\n                  label: \"Access\",\n                  value: \"Project contributors\",\n                },\n              ]}\n            />\n            <Action type=\"submit\" primary disabled={!files.length}>\n              Prepare handover\n            </Action>\n            <p role=\"status\">\n              {saved ? `${files.length} files prepared for ${folder}.` : \"\"}\n            </p>\n          </form>\n        </SceneCard>\n      </div>\n    </>\n  );\n}\n\nexport default function Block() { return <BlockFrame><CardExample /></BlockFrame>; }\n"
    }
  ],
  "docs": "Documentation: https://ui.overtrue.xyz/blocks/asset-intake-destination-3. Includes the shared card foundation and hosted demo imagery. Replace sample data and navigation with your application data."
}
