shadcn.io is not affiliated with official shadcn/ui
Alert Dialog examples · Success
Success with Centered Icon Alert Dialog for React
A success dialog with a large check icon centered above the title.
Framework
UI library
Creating an account is a milestone, not a transaction. This React alert dialog centers a check icon in a success-tinted circle above Account Created! and a Get Started button. It's shadcn.io's Alert Dialog on Base UI with a centered header.
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
Centered or inline icon?
Centered for milestones: account created, first purchase. Inline for routine completions, as in Success with Icon.
Why Get Started?
It points forward: people are at the start of something. Continue fits mid-flow, Done fits the end.
How does it look in dark mode?
bg-success/10 and text-success are theme tokens with their own dark values, so there's nothing extra to add.
Related
- Success with Icon Alert DialogA success dialog with a check icon beside
- Simple Success Message Alert DialogA simple success dialog with one Continue
- Information with Centered Icon Alert DialogAn informational dialog with a centered
- Success with Next Steps Alert DialogA success dialog that lists numbered next
- Success with Summary Details Alert DialogA success dialog with a summary of the
- Standard DialogA share dialog with a read-only link, a