{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "ui-sdk-dialog-demo-sheet",
  "type": "registry:component",
  "title": "Dialog (UI SDK)",
  "description": "Dialog demo built on UI SDK.",
  "dependencies": [],
  "registryDependencies": [
    "button",
    "https://designali.com/r/ui-sdk-dialog.json",
    "input",
    "label"
  ],
  "files": [
    {
      "path": "registry/designali/components/ui-sdk/dialog/dialog-demo-sheet.tsx",
      "content": "\"use client\"\n\nimport { Button } from \"@workspace/ui/components/button\"\nimport { Input } from \"@workspace/ui/components/input\"\nimport { Label } from \"@workspace/ui/components/label\"\n\nimport {\n  Dialog,\n  DialogClose,\n  DialogContent,\n  DialogDescription,\n  DialogFooter,\n  DialogHeader,\n  DialogTitle,\n  DialogTrigger,\n} from \"@/registry/designali/ui/ui-sdk/dialog\"\n\n// presentation=\"auto\" shows a swipeable bottom sheet on small touch screens\n// and a centered dialog everywhere else.\nexport function DialogDemoSheet() {\n  return (\n    <Dialog presentation=\"auto\">\n      <DialogTrigger render={<Button variant=\"outline\" />}>\n        Edit profile\n      </DialogTrigger>\n      <DialogContent className=\"sm:max-w-md\">\n        <DialogHeader>\n          <DialogTitle>Edit profile</DialogTitle>\n          <DialogDescription>\n            Make changes to your profile. Save when you&apos;re done.\n          </DialogDescription>\n        </DialogHeader>\n        <div className=\"grid gap-3\">\n          <div className=\"grid gap-2\">\n            <Label htmlFor=\"ui-sdk-sheet-name\">Name</Label>\n            <Input id=\"ui-sdk-sheet-name\" defaultValue=\"Hollis Grant\" />\n          </div>\n          <div className=\"grid gap-2\">\n            <Label htmlFor=\"ui-sdk-sheet-username\">Username</Label>\n            <Input id=\"ui-sdk-sheet-username\" defaultValue=\"@hollis\" />\n          </div>\n        </div>\n        <DialogFooter>\n          <DialogClose render={<Button variant=\"outline\" />}>Cancel</DialogClose>\n          <DialogClose render={<Button />} value=\"save\">\n            Save changes\n          </DialogClose>\n        </DialogFooter>\n      </DialogContent>\n    </Dialog>\n  )\n}\n",
      "type": "registry:component",
      "target": "components/ui-sdk/dialog/dialog-demo-sheet.tsx"
    }
  ]
}