A confirmation dialog that cannot be dismissed by accident: focus starts on Cancel, a click outside does nothing, the confirm button names the action. Built on Dialog.
npx shadcn@latest add @klarhimmel/alert-dialog
Loading the source for alert-dialog…
Registry Items
alert-dialog
Configuration
Name
alert-dialog
Type
UI
Description
A confirmation dialog that cannot be dismissed by accident: focus starts on Cancel, a click outside does nothing, the confirm button names the action. Built on Dialog.
Files · 1
Dependencies
Registry items
https://ui.klarhimmel.com/r/button.json
https://ui.klarhimmel.com/r/dialog.json
https://ui.klarhimmel.com/r/theme.json
Registry Items
alert-dialog
Configuration
Name
alert-dialog
Type
UI
Description
A confirmation dialog that cannot be dismissed by accident: focus starts on Cancel, a click outside does nothing, the confirm button names the action. Built on Dialog.