Asks for a decision before something that can't be undone.
npx shadcn@latest add @sphere-kit/alert-dialogimport { AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogMedia, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger,} from "@/components/ui/alert-dialog"One rule for using it well. Open one to see it drawn.
Exports AlertDialog AlertDialogAction AlertDialogCancel AlertDialogContent AlertDialogDescription AlertDialogFooter AlertDialogHeader AlertDialogMedia AlertDialogOverlay AlertDialogPortal AlertDialogTitle AlertDialogTrigger. Every part takes its element's usual props and a className.