Overlays
Alert Dialog
A confirmation before an action that cannot be undone.
src/components/ui/alert-dialog.tsxBehavior from @ui-sdk/react/alert-dialog
Delete a project
Memuat
Import
tsx
import { AlertDialog } from "@/components/ui/alert-dialog";Guidelines
- The title is a question, and the button names the action ("Yes, delete"), not "OK".
- Clicking outside does not close it; the answer must be explicit.