S
SureUI

Confirm Dialog · SureUI

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.

npx shadcn@latest add @sureui/confirm-dialog
Preview Confirm Dialog on SureUI's site (opens in a new tab)
Loading the source for confirm-dialog…

confirm-dialog