{ "$schema": "https://ui.shadcn.com/schema/registry-item.json", "name": "modals-11", "description": "Confirm vault deletion modal with text input verification", "registryDependencies": [ "dialog", "button", "input", "label" ], "files": [ { "path": "creative-tim/blocks/modals-11/page.tsx", "content": "\"use client\"\n\nimport * as React from \"react\"\nimport { X } from \"lucide-react\"\n\nimport { Button } from \"@/components/ui/button\"\nimport {\n Dialog,\n DialogContent,\n DialogHeader,\n DialogTitle,\n DialogTrigger,\n} from \"@/components/ui/dialog\"\nimport { Input } from \"@/components/ui/input\"\nimport { Label } from \"@/components/ui/label\"\n\nexport default function ModalsBlock() {\n const [isOpen, setIsOpen] = React.useState(false)\n\n return (\n
\n \n \n \n \n \n setIsOpen(false)}\n className=\"ring-offset-background focus:ring-ring absolute top-4 right-4 rounded-sm opacity-70 transition-opacity hover:opacity-100 focus:ring-2 focus:ring-offset-2 focus:outline-none disabled:pointer-events-none\"\n >\n \n Close\n \n \n \n Erase Fashion Vault\n \n \n

\n Type the full collection handle to confirm irreversible deletion of\n this vault.\n

\n\n
\n
\n \n \n
\n\n
\n setIsOpen(false)}\n >\n Cancel\n \n \n
\n
\n
\n
\n
\n )\n}\n", "type": "registry:page", "target": "app/modals-11/page.tsx" } ], "meta": { "iframeHeight": "550px", "container": "w-full bg-surface", "mobile": "component" }, "categories": [ "modals" ], "type": "registry:block" }