Confirm Dialog
- from @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.
Install
New to shadcn? Set up your project
If your project already has a shadcn components.json, skip initialization. Otherwise, run this once from your project root.
pnpm dlx shadcn@latest initpnpm dlx shadcn@latest add @sureui/confirm-dialogComponent source
No live preview has been built for this component yet.
Registry dependencies5
- alert-dialog
- button
- checkbox
- input
- label
Packages0
No npm packages are installed with it.
