{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "banner-demo",
  "type": "registry:component",
  "title": "Banner example",
  "description": "Usage example (demo) for Banner: the code behind the preview on https://facadeui.dev/components/banner. Installs the items it uses.",
  "categories": [
    "example"
  ],
  "registryDependencies": [
    "https://facadeui.dev/r/banner.json"
  ],
  "files": [
    {
      "path": "banner.tsx",
      "type": "registry:component",
      "target": "components/examples/banner-demo.tsx",
      "content": "import { Banner } from \"@/components/sections/banner\"\n\nexport function Demo() {\n  return (\n    <div className=\"-m-6 flex flex-col gap-6 sm:-m-10\">\n      <Banner\n        label=\"Announcement\"\n        dismissible\n        action={{ label: \"Read the notes\", href: \"#release\" }}\n      >\n        Facade UI v0.1 is out.\n      </Banner>\n      <Banner variant=\"muted\" label=\"Maintenance notice\" dismissible>\n        Scheduled maintenance on Sunday, 02:00–04:00 UTC.\n      </Banner>\n      <p className=\"text-muted-foreground px-6 pb-6 text-sm sm:px-10\">\n        Dismissal is session-only here. Pass <code>storageKey</code> to remember it.\n      </p>\n    </div>\n  )\n}\n"
    }
  ],
  "docs": "Example only: components/examples/banner-demo.tsx renders Banner with sample content from components/examples/content.tsx. Copy what you need into your page. Docs: https://facadeui.dev/components/banner"
}
