shadcn.io is not affiliated with official shadcn/ui
Alert Dialog examples · Success
Success with Icon Alert Dialog for React
A success dialog with a check icon beside the title confirming a payment.
Framework
UI library
A green check says it worked before anyone reads. This React alert dialog confirms a payment with a check icon beside the title and the amount in the description. It's shadcn.io's Alert Dialog on Base UI.
Preview
Installation
Sign in to get your install command
Free with an account. It carries your token, so the CLI installs everything in one go.
FAQ
Which icon for success?
A circled check is clear without being heavy. Keep playful icons for celebrations, not payments.
Should it always be green?
Use text-success, the theme's success color, which people read as done. It adapts to dark mode.
How specific should the description be?
Very: the amount, a reference, where the receipt went. Your payment of $99.00 has been processed successfully gives people proof.
Related
- Simple Success Message Alert DialogA simple success dialog with one Continue
- Success with Multiple Actions Alert DialogA success dialog with Close and a
- Information with Icon Alert DialogAn informational dialog with an info icon
- Success with Centered Icon Alert DialogA success dialog with a large check icon
- Success with Next Steps Alert DialogA success dialog that lists numbered next
- Success with Celebration Alert DialogA success dialog that celebrates a