shadcn.io is not affiliated with official shadcn/ui
Alert Dialog examples · Success
Success with Celebration Alert Dialog for React
A success dialog that celebrates a milestone with an icon and an achievement card.
Some wins are bigger than a checkmark: 100 tasks done. This React alert dialog celebrates with a party icon in a tinted circle and an Achievement Unlocked card on a soft primary gradient. It's shadcn.io's Alert Dialog on Base UI, colored with the theme's primary token.
Preview
Installation
FAQ
When is a celebration better than a plain success?
For rare milestones most people won't reach every day. Celebrating routine completions wears the effect out.
How is the card styled?
bg-linear-to-r from-primary/10 to-primary/5, a soft wash of the theme's primary color that works in light and dark mode. Keep it subtle in a serious product.
Which icon suits a celebration?
A party popper for playful milestones, a trophy for competitive ones, a cake for anniversaries. It sits in a size-12 bg-primary/10 circle and is aria-hidden.
Related
- Success with Centered Icon Alert DialogA success dialog with a large check icon
- Badge with Text (Standard)A default badge with a short label for a
- Success with Icon Alert DialogA success dialog with a check icon beside
- Success with Next Steps Alert DialogA success dialog that lists numbered next
- Information with Highlighted Content Alert DialogAn informational dialog that lists new
- Standard DialogA share dialog with a read-only link, a