{"$schema":"https://ui.shadcn.com/schema/registry-item.json","name":"shadcn-studio/dialog-08","type":"registry:component","title":"Dialog 8","description":"Terms and conditions dialog with structured content and accept/decline actions","registryDependencies":["button","dialog"],"files":[{"path":"src/registry/new-york/components/dialog/dialog-08.tsx","content":"import { Button } from '@/registry/new-york/ui/button'\nimport {\n  Dialog,\n  DialogClose,\n  DialogContent,\n  DialogFooter,\n  DialogHeader,\n  DialogTitle,\n  DialogTrigger\n} from '@/registry/new-york/ui/dialog'\n\nconst DialogTermsAndConditionDemo = () => {\n  return (\n    <Dialog>\n      <DialogTrigger asChild>\n        <Button variant='outline'>Terms & Condition</Button>\n      </DialogTrigger>\n      <DialogContent className='gap-0 p-0 sm:max-h-[min(600px,80vh)] sm:max-w-md'>\n        <DialogHeader className='contents space-y-0 text-left'>\n          <DialogTitle className='border-b px-6 py-4'>Terms and Condition</DialogTitle>\n          <div className='text-muted-foreground px-6 py-4 text-sm'>\n            <ol className='flex list-decimal flex-col gap-2 pl-4'>\n              <li>\n                <strong className='text-primary'>Eligibility:</strong> You must be at least 18 years old to use this\n                service.\n              </li>\n              <li>\n                <strong className='text-primary'>Account Responsibility:</strong>You are responsible for maintaining the\n                confidentiality of your account and password.\n              </li>\n              <li>\n                <strong className='text-primary'>Usage:</strong>Do not misuse or attempt to disrupt the service.\n              </li>\n              <li>\n                <strong className='text-primary'>Data Collection:</strong>We collect and use your data as described in\n                our Privacy Policy.\n              </li>\n              <li>\n                <strong className='text-primary'>Modifications:</strong>We reserve the right to update or modify these\n                terms at any time.\n              </li>\n              <li>\n                <strong className='text-primary'>Termination:</strong>YWe may suspend or terminate your access if you\n                violate these terms.\n              </li>\n            </ol>\n            <p className='mt-3'>\n              For full details, please read our complete{' '}\n              <a href='#' className='text-sky-600 hover:underline dark:text-sky-400'>\n                Terms & Conditions\n              </a>\n            </p>\n          </div>\n          <DialogFooter className='px-6 pb-4 sm:justify-end'>\n            <DialogClose asChild>\n              <Button variant='outline'>Cancel</Button>\n            </DialogClose>\n            <DialogClose asChild>\n              <Button type='button'>I Agree</Button>\n            </DialogClose>\n          </DialogFooter>\n        </DialogHeader>\n      </DialogContent>\n    </Dialog>\n  )\n}\n\nexport default DialogTermsAndConditionDemo\n","type":"registry:component","target":"components/shadcn-studio/dialog/dialog-08.tsx"}]}