{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "dialog-scroll",
  "type": "registry:example",
  "title": "Dialog Scroll",
  "registryDependencies": [
    "https://seamui.dev/r/dialog.json",
    "https://seamui.dev/r/button.json"
  ],
  "files": [
    {
      "path": "registry/seam/examples/dialog-scroll.tsx",
      "content": "import { Button } from \"@/registry/seam/ui/button\"\nimport {\n  Dialog,\n  DialogContent,\n  DialogDescription,\n  DialogFooter,\n  DialogHeader,\n  DialogTitle,\n  DialogTrigger,\n  DialogClose,\n} from \"@/registry/seam/ui/dialog\"\n\nexport default function DialogScroll() {\n  return (\n    <Dialog>\n      <DialogTrigger\n        render={<Button variant=\"outline\">Terms of Service</Button>}\n      />\n      <DialogContent>\n        <DialogHeader>\n          <DialogTitle>Terms of Service</DialogTitle>\n          <DialogDescription>\n            Please review the terms below before continuing.\n          </DialogDescription>\n        </DialogHeader>\n        <div className=\"max-h-[70vh] overflow-y-auto text-muted-foreground text-sm\">\n          <div className=\"grid gap-3 pr-1\">\n            <p>\n              By accessing this service you agree to be bound by these terms. If\n              you do not agree with any part of them, you may not use the\n              service. We may update these terms from time to time, and\n              continued use constitutes acceptance of the revised terms.\n            </p>\n            <p>\n              You are responsible for maintaining the confidentiality of your\n              account credentials and for all activity that occurs under your\n              account. Notify us immediately of any unauthorized use.\n            </p>\n            <p>\n              The service is provided on an &ldquo;as is&rdquo; and &ldquo;as\n              available&rdquo; basis. We make no warranties, expressed or\n              implied, regarding the reliability, accuracy, or availability of\n              the service.\n            </p>\n            <p>\n              You agree not to misuse the service, including by attempting to\n              access it using a method other than the interface and instructions\n              we provide, or by interfering with its normal operation.\n            </p>\n            <p>\n              All content, trademarks, and data on this service are the property\n              of their respective owners. Nothing in these terms grants you any\n              right to use them without prior written permission.\n            </p>\n            <p>\n              To the fullest extent permitted by law, we shall not be liable for\n              any indirect, incidental, or consequential damages arising out of\n              your use of, or inability to use, the service.\n            </p>\n            <p>\n              These terms are governed by the laws of the jurisdiction in which\n              we operate, without regard to conflict-of-law principles. Any\n              disputes shall be resolved in the courts of that jurisdiction.\n            </p>\n            <p>\n              If any provision of these terms is found to be unenforceable, the\n              remaining provisions will continue in full force and effect.\n            </p>\n          </div>\n        </div>\n        <DialogFooter>\n          <DialogClose render={<Button>Close</Button>} />\n        </DialogFooter>\n      </DialogContent>\n    </Dialog>\n  )\n}\n",
      "type": "registry:example"
    }
  ]
}