Alert Dialog

A modal dialog that asks the user to confirm an important action, such as a delete. Built on Base UI with focus trapping and an accessible title.

Installation

npx shadcn@4.19.0 add https://ui.edbn.me/r/alert-dialog.json

Source