A timed toast shown in the background starts its countdown when you return. If the countdown was already running, it resumes with the time left. This applies to React, Svelte, Vue and plain DOM.
Show the Undo toast, switch to another tab while the line is shrinking, then come back. The line picks up where it left off.
Optional Ding skill for coding agents
The skill covers setup, promises, progress, actions and styling. With Node.js 22.20 or later, run: