Guides / Feedback

Modal

Modal: A dialog overlaid on the page that must be handled (confirm/cancel) before returning—used for important secondary confirmations.

Live demo

Interruption
Blocks the page
Confirm deletion?

This action is permanent.

Implementation prompts

Standard

Modal confirmation before delete: explains the consequence; the button says 'Delete' rather than 'OK'.

With motion

Modal with backdrop fade + card scale-in (200ms ease-out); closing reverses the animation.
Design spec entry
### 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/