Sonner Promise 4 component design & features
This sonner example uses the shadcn Sonner component with toast.loading to show an in-progress message. Unlike toast.promise, the loading toast stays until you dismiss or replace it.
Loading sonner components work for long-running jobs, multi-step processing, and cases where you control when the toast resolves.
