Join our Discord Community
Alert Dialog/Informational

React Alert Dialog - Information with Centered Icon

An informational alert dialog with a large centered icon in a colored circle for high-impact tips and educational moments

Looking to implement shadcn/ui patterns?

Join our Discord community for help from other developers.


Sometimes information deserves ceremony—tips and tricks that unlock efficiency need visual weight. This React alert dialog centers a Lightbulb icon inside a yellow circular background above the title, creating a friendly educational moment. Built with shadcn/ui and Radix UI with items-center on the header and text-center on the description, the symmetrical layout emphasizes the Pro Tip message. Perfect for onboarding tips, keyboard shortcut education, or any aha-moment insight where you want users to pause and internalize helpful information rather than reflexively clicking past.

Loading preview...

Pattern created by @haydenbleasel

Installation

npx shadcn@latest add https://www.shadcn.io/registry/alert-dialog-informational-5.json
npx shadcn@latest add https://www.shadcn.io/registry/alert-dialog-informational-5.json
pnpm dlx shadcn@latest add https://www.shadcn.io/registry/alert-dialog-informational-5.json
bunx shadcn@latest add https://www.shadcn.io/registry/alert-dialog-informational-5.json

Questions you might have