{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "card-colorpicker-portal-preview-2",
  "type": "registry:block",
  "title": "Portal preview",
  "description": "Forms & settings card from the overtrue/ui workspace examples. Editable source, scoped styles, and demo interactions.",
  "categories": [
    "cards",
    "forms-settings"
  ],
  "registryDependencies": [
    "https://ui.overtrue.xyz/r/overtrue-card-foundation.json"
  ],
  "files": [
    {
      "path": "src/blocks/registry/colorpicker-portal-preview-2.tsx",
      "type": "registry:component",
      "target": "components/overtrue/blocks/colorpicker-portal-preview-2.tsx",
      "content": "\"use client\";\nimport { BlockFrame } from \"./runtime/blocks/frame\";\nimport \"./runtime/cards.css\";\n// Extracted from src/pages/workspace/colorpicker.tsx:96.\nimport { useState } from \"react\";\nimport { SceneCard, Person } from \"./runtime/components/overtrue/scenes/shared\";\nconst defaults = {\n  primary: \"#4263eb\",\n  secondary: \"#14836b\",\n  surface: \"#f5f7fb\",\n};\nfunction CardExample() {\n  const [colors] = useState(defaults);\n\n  return (\n    <>\n      <div className=\"overtrue-block-content\" data-workspace-page=\"colorpicker\">\n        <SceneCard title=\"Portal preview\">\n          <div\n            className=\"scene-brand-preview\"\n            style={{\n              background: colors.surface,\n              borderTopColor: colors.primary,\n            }}\n          >\n            <div className=\"scene-brand-preview-content\">\n              <span>ACME STUDIO</span>\n              <h3>Visitor experience</h3>\n              <p>Concept review · Version 03</p>\n            </div>\n            <span\n              className=\"scene-brand-marker\"\n              style={{ background: colors.secondary }}\n              aria-hidden=\"true\"\n            />\n          </div>\n          <div className=\"scene-record-list\">\n            <div>\n              <Person name=\"Maya Okafor\" subtitle=\"Project owner\" />\n            </div>\n          </div>\n          <p>\n            Keep status colors consistent and pair color with a clear text\n            label.\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/colorpicker-portal-preview-2. Includes the shared card foundation and hosted demo imagery. Replace sample data and navigation with your application data."
}
