Stop Rebuilding UI

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

Scroll to load preview

Installation

FAQ

Was this page helpful?

Sign in to leave feedback.