shadcn.io is not affiliated with official shadcn/ui
Alert Dialog examples · Success
Simple Success Message Alert Dialog for React
A simple success dialog with one Continue button.
Some completions deserve more than a silent state change. This React alert dialog confirms that changes were saved with a Success! title and a single Continue button. It's shadcn.io's Alert Dialog on Base UI, kept to a title, a description and one action.
Preview
Installation
FAQ
Success dialog or toast?
A dialog for significant completions people should acknowledge, like a payment or an account created. A toast for routine ones, like a saved setting.
What should the title say?
Something short and plain: Success!, Saved!, Done!. The description says what actually happened.
What goes in the description?
What completed, in past tense and plain words: Your changes have been saved successfully.
When should it appear?
Right after the action completes, never before. For async work, show a loading state first and the dialog once the server confirms.
Related
- Success with Icon Alert DialogA success dialog with a check icon beside
- Success with Multiple Actions Alert DialogA success dialog with Close and a
- Simple Information Alert Alert DialogA simple informational dialog with one OK
- Success with Centered Icon Alert DialogA success dialog with a large check icon
- Standard DialogA share dialog with a read-only link, a
- Success with Celebration Alert DialogA success dialog that celebrates a