About
An alert dialog that blocks access to a restricted action and lets the user submit a reason before requesting permission.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Alert Dialog Lock to your project and fits it to your theme.
Code
How Alert Dialog Lock is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
import AlertDialogLock from "@/components/ui/alert-dialog-lock";
export default function AlertDialogLockDemo() {
return (
<div className="flex w-full h-screen items-center justify-center bg-background">
<AlertDialogLock />
</div>
);
}
















