Modal in Figma
A small window, also called a dialog, that asks one question or confirms an action before people carry on.
A modal opens on top of the page, over an Overlay, and waits for an answer. Use it for decisions that can't wait, like confirming a delete or saving changes before leaving. It can also hold a short form in its Content slot. For messages that don't need an answer, use an Alert.
Do
- Write the title as a question, like "Delete project?".
- Name buttons after what they do: "Delete", not "OK".
- Put the main action last, or on top when stacked.
- Say what will happen, especially when it can't be undone.
Don't
- Open a modal nobody asked for, like a newsletter sign-up.
- Open a modal on top of another modal.
- Put a long form in a modal; give it its own page or a Drawer.
- Hide the way out: always offer Cancel or ×.