Sonner Content 6 component design & features
This sonner example uses the shadcn Sonner component with closeButton so users can dismiss the toast with an explicit control instead of waiting for the timeout or swiping it away.
Close-button sonner components work for confirmations that should stay readable until the user is done, such as created events or queued jobs.
