toasts
Toast that confirms a reversible action and offers Undo, with a thin bar and a seconds count for how long the undo stays open. Use it for archive, delete or move actions that are applied at once.
How it differs. One inline action above a countdown it owns: the bar holds while pointer or focus is in the toast region, commit fires once on expiry or dismissal and never after an undo, which is confirmed in place.
shadcn add @hazine/toast-undo-action
Depends on button, sonner, lucide-react