{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "dialog-demo",
  "registryDependencies": [
    "https://taki-ui.com/r/dialog.json"
  ],
  "files": [
    {
      "path": "registry/new-york/examples/dialog-demo.tsx",
      "content": "import { Button } from \"@/registry/new-york/ui/button\"\nimport {\n  Dialog,\n  DialogDescription,\n  DialogHeader,\n  DialogTitle,\n  DialogTrigger,\n} from \"@/registry/new-york/ui/dialog\"\nimport { Input } from \"@/registry/new-york/ui/input\"\nimport { Label } from \"@/registry/new-york/ui/label\"\nimport { Modal } from \"@/registry/new-york/ui/modal\"\n\nexport default function DialogDemo() {\n  return (\n    <DialogTrigger>\n      <Button variant=\"outline\">Open Dialog</Button>\n      <Modal>\n        <Dialog className=\"sm:max-w-[425px]\">\n          <form method=\"dialog\" className=\"space-y-4\">\n            <DialogHeader>\n              <DialogTitle>Edit profile</DialogTitle>\n              <DialogDescription>\n                Make changes to your profile here. Click save when you&apos;re\n                done.\n              </DialogDescription>\n            </DialogHeader>\n            <div className=\"grid gap-4\">\n              <div className=\"grid gap-3\">\n                <Label htmlFor=\"name-1\">Name</Label>\n                <Input id=\"name-1\" name=\"name\" defaultValue=\"Pedro Duarte\" />\n              </div>\n              <div className=\"grid gap-3\">\n                <Label htmlFor=\"username-1\">Username</Label>\n                <Input\n                  id=\"username-1\"\n                  name=\"username\"\n                  defaultValue=\"@peduarte\"\n                />\n              </div>\n            </div>\n            <div className=\"flex justify-end gap-2\">\n              <Button variant=\"outline\" slot=\"close\">\n                Cancel\n              </Button>\n              <Button type=\"submit\">Save changes</Button>\n            </div>\n          </form>\n        </Dialog>\n      </Modal>\n    </DialogTrigger>\n  )\n}\n",
      "type": "registry:example"
    }
  ],
  "type": "registry:example"
}