Back to product moments
Motion Pack 19 · Feedback

Delete confirmation

A high-risk action stays controllable through a clear target, hold progress, and completion feedback.

Live previewDelete confirmation
Previous draftArchived yesterday

Build a delete confirmation: clearly show the target, require holding Hold to delete for about 600ms, show progress fill while held, then retain accessible completion copy and an Undo entry. Provide a reduced-motion treatment.

Motion rules

Hold progress shows that confirmation is underway, then provides a clear result.

Reduced motion

Keep hold duration, result copy, and Undo while omitting fill animation.

Implementation

Copy HTML, CSS, and the JavaScript required for behavior together.