{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "card-retention-cohort-detail-1",
  "type": "registry:block",
  "title": "Cohort detail",
  "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/retention-cohort-detail-1.tsx",
      "type": "registry:component",
      "target": "components/overtrue/blocks/retention-cohort-detail-1.tsx",
      "content": "\"use client\";\nimport { BlockFrame } from \"./runtime/blocks/frame\";\nimport \"./runtime/cards.css\";\n// Extracted from src/components/overtrue/scenes/insights.tsx:108.\nimport { DetailList } from \"./runtime/registry/overtrue/detail-list\";\nimport { useState } from \"react\";\nimport { SceneCard } from \"./runtime/components/overtrue/scenes/shared\";\n\nfunction CardExample() {\n  const [selected] = useState(\n    \"Select a cohort cell to inspect its retained subscribers.\",\n  );\n\n  return (\n    <>\n      <div\n        className=\"overtrue-block-content\"\n        data-workspace-page=\"charts-advanced\"\n      >\n        <SceneCard title=\"Cohort detail\">\n          <p role=\"status\">{selected}</p>\n          <DetailList\n            items={[\n              {\n                id: \"definition\",\n                label: \"Active subscriber\",\n                value: \"Paid subscription in the month\",\n              },\n              {\n                id: \"cohort\",\n                label: \"Cohort start\",\n                value: \"First paid subscription\",\n              },\n              {\n                id: \"pending\",\n                label: \"Blank cells\",\n                value: \"Period not reached yet\",\n              },\n            ]}\n          />\n        </SceneCard>\n      </div>\n    </>\n  );\n}\n\nexport default function Block() { return <BlockFrame><CardExample /></BlockFrame>; }\n"
    }
  ],
  "docs": "Documentation: https://ui.overtrue.xyz/blocks/retention-cohort-detail-1. Includes the shared card foundation and hosted demo imagery. Replace sample data and navigation with your application data."
}
