Shadcn.io is not affiliated with official shadcn/ui
Non-Dismissible Toast
A Sonner toast that cannot be dismissed by clicking the X button, requiring users to wait for auto-dismiss or interact with action buttons
You know those critical notifications users always dismiss without reading? This React non-dismissible toast forces attention. Built with Sonner and shadcn/ui, dismissible set to false removes the close button—perfect for critical warnings, important announcements, required acknowledgments, loading states, countdown timers, or any notification where premature dismissal would cause confusion or missed information and users must see the full message or timeout.
Non-Dismissible Toast preview
Installation
Related Components
Toast with Action Button
Toast with action requiring acknowledgment
Toast with Action and Cancel
Toast with explicit choice buttons
Basic Toast
Standard dismissible toast
Loading Toast
Toast with loading indicator
Alert Dialog
Blocking dialog for critical alerts
Error Toast
Error notification toast
FAQ
Was this page helpful?
Sign in to leave feedback.