{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "card-HighOrderPage-shell-chrome-1",
  "type": "registry:block",
  "title": "Shell chrome",
  "description": "UI patterns card from the overtrue/ui workspace examples. Editable source, scoped styles, and demo interactions.",
  "categories": [
    "cards",
    "ui-patterns"
  ],
  "registryDependencies": [
    "https://ui.overtrue.xyz/r/overtrue-card-foundation.json"
  ],
  "files": [
    {
      "path": "src/blocks/registry/HighOrderPage-shell-chrome-1.tsx",
      "type": "registry:component",
      "target": "components/overtrue/blocks/HighOrderPage-shell-chrome-1.tsx",
      "content": "\"use client\";\nimport { BlockFrame } from \"./runtime/blocks/frame\";\nimport \"./runtime/cards.css\";\n// Extracted from src/pages/HighOrderPage.tsx:154.\nimport { useState } from \"react\";\nimport { SectionCard } from \"./runtime/components/overtrue/section-card\";\nimport { TopNavbar } from \"./runtime/components/overtrue/top-navbar\";\nimport { SidebarNav } from \"./runtime/components/overtrue/sidebar-nav\";\nimport { Footer } from \"./runtime/components/overtrue/footer\";\nimport { AppShell } from \"./runtime/components/overtrue/app-shell\";\nimport { navSections } from \"./runtime/data/nav\";\nimport { apps, notifications } from \"./runtime/data/mock\";\n\nfunction CardExample() {\n  const [, setCustomizerOpen] = useState(false);\n\n  return (\n    <>\n      <div className=\"overtrue-block-content\" data-workspace-page=\"high-order\">\n        <SectionCard\n          title=\"Shell chrome\"\n          description=\"Navigation and layout primitives, contained within independent previews.\"\n        >\n          <div className=\"mb-4 rounded-md border border-border\">\n            <div className=\"metric-label border-b border-border px-3 py-1.5\">\n              TopNavbar (isolated)\n            </div>\n            <div\n              className=\"overflow-x-auto\"\n              tabIndex={0}\n              role=\"region\"\n              aria-label=\"Navigation preview\"\n              data-demo=\"navigation\"\n            >\n              <TopNavbar\n                className=\"min-w-[960px]\"\n                sticky={false}\n                onOpenCustomizer={() => setCustomizerOpen(true)}\n                notifications={notifications}\n                apps={apps}\n              />\n            </div>\n          </div>\n          <div className=\"grid grid-cols-1 gap-3 lg:grid-cols-2\">\n            <div className=\"overflow-hidden rounded-md border border-border\">\n              <div className=\"metric-label border-b border-border px-3 py-1.5\">\n                SidebarNav (isolated)\n              </div>\n              <div className=\"relative h-64\">\n                <SidebarNav\n                  sections={navSections.slice(0, 2)}\n                  open\n                  className=\"static h-full\"\n                />\n              </div>\n            </div>\n            <div className=\"overflow-hidden rounded-md border border-border\">\n              <div className=\"metric-label border-b border-border px-3 py-1.5\">\n                Footer (isolated)\n              </div>\n              <Footer />\n            </div>\n          </div>\n          <div className=\"mt-3 rounded-md border border-border bg-muted\">\n            <div className=\"metric-label border-b border-border px-3 py-1.5\">\n              AppShell (bare mode — auth-style)\n            </div>\n            <div className=\"p-2 [&>div]:min-h-0\" data-demo=\"bare-shell\">\n              <AppShell bare>\n                <div className=\"rounded-md border border-border bg-card p-3 text-sm text-muted-foreground\">\n                  AppShell bare mode renders children only; non-bare mode adds\n                  TopNavbar + SidebarNav + Footer.\n                </div>\n              </AppShell>\n            </div>\n          </div>\n        </SectionCard>\n      </div>\n    </>\n  );\n}\n\nexport default function Block() { return <BlockFrame><CardExample /></BlockFrame>; }\n"
    }
  ],
  "docs": "Documentation: https://ui.overtrue.xyz/blocks/HighOrderPage-shell-chrome-1. Includes the shared card foundation and hosted demo imagery. Replace sample data and navigation with your application data."
}
