Join our Discord Community
Alert/Info

React Alert - Info with Title and Action

An informational alert with title and action buttons for user engagement with learn more and dismiss options

Looking to implement shadcn/ui patterns?

Join our Discord community for help from other developers.


Info with next steps beats passive notifications. This React alert displays info titles with Learn More and Dismiss buttons using shadcn/ui Button components. Built with bg-info and hover:bg-info/90 on the primary button for visual consistency with alert theming, the pattern invites engagement without forcing it. Perfect for feature announcements, changelog highlights, or any informational message where users might want more details—provide the escape hatch to learn more or acknowledge and move on.

Loading preview...

Pattern created by @haydenbleasel

Installation

npx shadcn@latest add https://www.shadcn.io/registry/alert-info-3.json
npx shadcn@latest add https://www.shadcn.io/registry/alert-info-3.json
pnpm dlx shadcn@latest add https://www.shadcn.io/registry/alert-info-3.json
bunx shadcn@latest add https://www.shadcn.io/registry/alert-info-3.json

Questions you might have