模态弹窗
压在页面上的对话框,必须处理完(确定/取消)才能回到页面,用于重要二次确认。 打扰程度:★★★★★ 最重打扰:锁死整个页面,必须处理完才能继续,只用于高风险操作。
中断
阻止页面
确认删除?
此操作不可撤销。
实现提示词
Modal confirmation before delete: explains the consequence; the button says 'Delete' rather than 'OK'.Modal with backdrop fade + card scale-in (200ms ease-out); closing reverses the animation.设计规范条目
### Modal (#modal) Category: Feedback Modal: A dialog overlaid on the page that must be handled (confirm/cancel) before returning—used for important secondary confirmations. - Do: Modal confirmation before delete: explains the consequence - Do: the button says 'Delete' rather than 'OK' With motion: Modal with backdrop fade + card scale-in (200ms ease-out); closing reverses the animation. Live demo: https://uidesignmd.com/guides/modal/