Sonner Interactive 2 component design & features
This sonner example uses the shadcn Sonner component with a cancel button on the toast. Cancel dismisses the prompt and can fire a secondary callback.
Cancel sonner components fit confirmation-style toasts where the user can back out without leaving the current view.
