{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "grain-overlay-demo",
  "title": "Grain Overlay Demo",
  "description": "A worked example of Grain Overlay: Film grain for any positioned box, which incidentally fixes the banding a wide gradient shows on a good monitor.",
  "registryDependencies": [
    "https://ui.tinkererslabs.com/r/grain-overlay.json"
  ],
  "files": [
    {
      "path": "components/demos/grain-overlay-demo.tsx",
      "content": "\"use client\"\n\nimport { GrainOverlay } from \"@/registry/default/grain-overlay/grain-overlay\"\n\nexport function GrainOverlayDemo() {\n  return (\n    <div className=\"border-border relative isolate w-full max-w-md overflow-hidden rounded-[var(--radius)] border\">\n      <div className=\"from-primary/70 to-background bg-gradient-to-br px-6 py-14\">\n        <h3 className=\"text-2xl font-semibold\">Reel one, take four</h3>\n        <p className=\"text-muted-foreground mt-2 text-sm\">\n          A flat gradient bands on wide screens. The grain hides the steps and\n          gives the panel a surface.\n        </p>\n      </div>\n      <GrainOverlay />\n    </div>\n  )\n}\n",
      "type": "registry:example"
    }
  ],
  "type": "registry:example"
}