{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "nav-top-demo",
  "type": "registry:component",
  "title": "Top navigation example",
  "description": "Usage example (demo) for Top navigation: the code behind the preview on https://facadeui.dev/components/nav-top. Installs the items it uses.",
  "categories": [
    "example"
  ],
  "registryDependencies": [
    "https://facadeui.dev/r/examples-content.json",
    "https://facadeui.dev/r/nav-top.json"
  ],
  "files": [
    {
      "path": "nav-top.tsx",
      "type": "registry:component",
      "target": "components/examples/nav-top-demo.tsx",
      "content": "import { NavTop } from \"@/components/sections/nav-top\"\n\nimport { NAV_ITEMS } from \"./content\"\n\nexport function Demo() {\n  return (\n    <div className=\"-m-6 sm:-m-10\">\n      <NavTop\n        brand=\"Facade UI\"\n        homeHref=\"#home\"\n        items={NAV_ITEMS}\n        currentPath=\"#pricing\"\n        actions={[\n          { label: \"Sign in\", href: \"#sign-in\", variant: \"ghost\" },\n          { label: \"Start free\", href: \"#start\" },\n        ]}\n        sticky={false}\n      />\n      <div className=\"text-muted-foreground p-6 text-sm sm:p-10\">\n        Resize the preview to 375 to see the drawer. Escape closes it and focus returns to\n        the trigger.\n      </div>\n    </div>\n  )\n}\n"
    }
  ],
  "docs": "Example only: components/examples/nav-top-demo.tsx renders Top navigation with sample content from components/examples/content.tsx. Copy what you need into your page. Docs: https://facadeui.dev/components/nav-top"
}
