Confirm Dialog – shadcn/ui Component by sureui | shadcnregistry
Confirm Dialog
ui
An alert dialog with a ConfirmButton or TypeToConfirm as its confirm action, which closes only after an async onConfirm settles. Includes useConfirm, which returns an awaitable confirm() and a dialog element you render yourself.