{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "liver-lobule",
  "title": "Liver lobule",
  "description": "A classic liver lobule, from an original OrganUI schematic model: the central vein, hepatocyte plates in their three zones, sinusoids and the portal tracts at its corners. 11 selectable structures and 3 named views. Model licensed CC0 1.0.",
  "registryDependencies": [
    "@organui/organ-viewer"
  ],
  "files": [
    {
      "path": "registry/base-nova/liver-lobule/liver-lobule.tsx",
      "content": "import {\n  OrganViewer,\n  type OrganModel,\n  type OrganViewerProps,\n} from \"@/components/organ-viewer\"\n\n// An original schematic liver lobule generated by\n// packages/registry/scripts/models/liver-lobule.ts. The GLB is hosted by\n// organui.com under CC0 1.0; see attribution.source.\nexport const liverLobuleModel: OrganModel = {\n  name: \"Liver lobule\",\n  src: \"https://organui.com/models/liver-lobule.glb\",\n  bytes: 1122468,\n  defaultView: \"Oblique\",\n  views: [\n    {\n      name: \"Oblique\",\n      direction: [0.55, 0.85, 1],\n    },\n    {\n      name: \"Cross-section\",\n      direction: [0, 1, 0.01],\n    },\n    {\n      name: \"Side\",\n      direction: [0, 0.15, 1],\n    },\n  ],\n  structures: [\n    {\n      id: \"central-vein\",\n      label: \"Central vein\",\n      group: \"Venous drainage\",\n      color: \"#649cbb\",\n      description:\n        \"Runs through the centre of the lobule and collects blood from the sinusoids. Central veins join to form the hepatic veins.\",\n    },\n    {\n      id: \"centrilobular-hepatocytes\",\n      label: \"Centrilobular hepatocytes (zone 3)\",\n      group: \"Hepatocyte plates\",\n      color: \"#bd7b72\",\n      description:\n        \"Hepatocytes around the central vein receive the least oxygen, and do most of the drug metabolism that can make toxic intermediates.\",\n    },\n    {\n      id: \"midzonal-hepatocytes\",\n      label: \"Midzonal hepatocytes (zone 2)\",\n      group: \"Hepatocyte plates\",\n      color: \"#ad6a62\",\n      description:\n        \"Hepatocytes between the portal tracts and the central vein, with intermediate oxygen supply and function.\",\n    },\n    {\n      id: \"periportal-hepatocytes\",\n      label: \"Periportal hepatocytes (zone 1)\",\n      group: \"Hepatocyte plates\",\n      color: \"#9c5a52\",\n      description:\n        \"Hepatocytes nearest the portal tracts receive the most oxygen-rich blood and lead gluconeogenesis and bile acid uptake.\",\n    },\n    {\n      id: \"limiting-plate\",\n      label: \"Limiting plate\",\n      group: \"Hepatocyte plates\",\n      color: \"#c98f6e\",\n      description:\n        \"The ring of hepatocytes bordering each portal tract, separating its connective tissue from the lobule.\",\n    },\n    {\n      id: \"sinusoids\",\n      label: \"Sinusoids\",\n      group: \"Sinusoids\",\n      color: \"#d9a6a1\",\n      description:\n        \"Leaky capillaries between the hepatocyte plates, carrying mixed portal and arterial blood towards the central vein.\",\n    },\n    {\n      id: \"kupffer-cells\",\n      label: \"Kupffer cells\",\n      group: \"Sinusoids\",\n      color: \"#7f6aa6\",\n      description:\n        \"Resident macrophages lining the sinusoids, clearing bacteria, debris and old red cells from the blood.\",\n    },\n    {\n      id: \"portal-tract-stroma\",\n      label: \"Portal tract connective tissue\",\n      group: \"Portal tracts\",\n      color: \"#d6c29b\",\n      description:\n        \"The connective tissue at each corner of the lobule that carries the portal triad: a portal venule, a hepatic arteriole and a bile duct.\",\n    },\n    {\n      id: \"portal-venules\",\n      label: \"Portal venules\",\n      group: \"Portal tracts\",\n      color: \"#9783c1\",\n      description:\n        \"Branches of the portal vein bringing nutrient-rich blood from the gut into the sinusoids.\",\n    },\n    {\n      id: \"hepatic-arterioles\",\n      label: \"Hepatic arterioles\",\n      group: \"Portal tracts\",\n      color: \"#d99173\",\n      description:\n        \"Branches of the hepatic artery adding oxygenated blood to the sinusoids and supplying the bile ducts.\",\n    },\n    {\n      id: \"bile-ducts\",\n      label: \"Interlobular bile ducts\",\n      group: \"Portal tracts\",\n      color: \"#b1a450\",\n      description:\n        \"Ducts lined by cholangiocytes that collect bile from the canaliculi between hepatocytes and carry it towards the hilum.\",\n    },\n  ],\n  attribution: {\n    credit:\n      \"OrganUI liver lobule schematic model, dedicated to the public domain under CC0 1.0\",\n    license: \"CC0 1.0\",\n    licenseUrl: \"https://creativecommons.org/publicdomain/zero/1.0/\",\n    source:\n      \"https://github.com/organui/organui/blob/master/apps/web/public/models/liver-lobule.ATTRIBUTION.md\",\n  },\n}\n\nexport type LiverLobuleProps = Omit<OrganViewerProps, \"model\">\n\nexport function LiverLobule(props: LiverLobuleProps) {\n  return <OrganViewer model={liverLobuleModel} {...props} />\n}\n",
      "type": "registry:component"
    }
  ],
  "docs": "Liver lobule docs: https://organui.com/docs/components/liver-lobule. The model is licensed CC0 1.0 (https://creativecommons.org/publicdomain/zero/1.0/); keep the viewer's credit visible.",
  "categories": [
    "tissue",
    "digestive"
  ],
  "type": "registry:component"
}