Launch sale — 60% off Pro
Contact
SonnerInteractive

Not affiliated with official shadcn/ui. Visit ui.shadcn.com for official docs.

React Sonner - 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

Looking to implement shadcn/ui patterns?

Join our Discord community for help from other developers.


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.

Pattern created by @haydenbleasel

Installation

Questions you might have