{
  "name": "skip-nav-demo",
  "type": "registry:example",
  "registryDependencies": [
    "skip-nav"
  ],
  "files": [
    {
      "path": "examples/skip-nav-demo.tsx",
      "type": "registry:example",
      "content": "import { SkipNav } from \"@/registry/bases/radix/components/skip-nav\";\n\nexport default function SkipNavDemo() {\n  return (\n    <div className=\"relative flex w-full max-w-md flex-col overflow-hidden rounded-lg border\">\n      <p className=\"border-b bg-muted/50 px-4 py-2 text-xs text-muted-foreground\">\n        Click this text, then press Tab to reveal the skip link.\n      </p>\n      <SkipNav\n        href=\"#skip-nav-demo-content\"\n        className=\"focus-visible:absolute focus-visible:top-2 focus-visible:left-2\"\n      />\n      <header className=\"flex items-center gap-4 border-b px-4 py-3 text-sm\">\n        <span className=\"font-medium\">Acme</span>\n        <nav className=\"flex gap-3 text-muted-foreground\">\n          <a href=\"#skip-nav-demo-content\" className=\"hover:text-foreground\">\n            Products\n          </a>\n          <a href=\"#skip-nav-demo-content\" className=\"hover:text-foreground\">\n            Pricing\n          </a>\n          <a href=\"#skip-nav-demo-content\" className=\"hover:text-foreground\">\n            Blog\n          </a>\n        </nav>\n      </header>\n      <main\n        id=\"skip-nav-demo-content\"\n        className=\"flex flex-col gap-1 px-4 py-6 outline-none focus-visible:bg-muted/50\"\n      >\n        <h3 className=\"font-medium\">Main content</h3>\n        <p className=\"text-sm text-muted-foreground\">\n          Activating the skip link moves focus here, past the navigation.\n        </p>\n      </main>\n    </div>\n  );\n}\n",
      "target": ""
    }
  ]
}