Professional Documents
Culture Documents
5 Essential UX Rules For Dialog Design - by Nick Babich - UX Planet
5 Essential UX Rules For Dialog Design - by Nick Babich - UX Planet
Dialogs are effective user interface element when you design and use them right.
They can help your users complete reach their goals faster and easier. But dialogs
can frustrate users when they’re done wrong. Knowing how to design dialogs will
allow you to use them in a way that doesn’t annoy your users.
What is Dialog?
A dialog is an overlay that requires the user to interact with it and designed to elicit a
response from the user. Dialogs inform users about critical information, require
users to make decisions, or involve multiple tasks. Within apps, on the web and even
on mobile dialogs are increasingly used to direct the user’s attention to a specific
task, without taking them away from the context of the current screen.
https://uxplanet.org/5-essential-ux-rules-for-dialog-design-4de258c22116 1/22
26/10/2023, 18:21 5 Essential UX Rules for Dialog Design | by Nick Babich | UX Planet
Now let’s overview dialog design best practices and use cases for them.
1. Reduce Interruption
Use dialogs sparingly because they are interruptive. Their sudden appearance forces
users to stop their current task and focus on the dialog content. For modal dialogs,
users have to deal with a in-dialog action before continuing and are no longer able
to access the page below. Sometimes this is a good thing, such as when users must
confirm an important action (such as “Do you want to delete your account?”), but for
many tasks it’s unnecessary and quite often it’s very annoying.
Requiring Acknowledgement
It makes most sense to use a dialog in situations where you need the user to interact
before continuing, or when the cost of an error could be very high.
https://uxplanet.org/5-essential-ux-rules-for-dialog-design-4de258c22116 2/22
26/10/2023, 18:21 5 Essential UX Rules for Dialog Design | by Nick Babich | UX Planet
A dialog should always open upon the user doing (or did) something on a page. That
something might be clicking a button, following a link or selecting an option.
Takeaways
Not everything warrants interruption.
Alternatives to dialogs are inline expansion, that help maintain the current context.
Don’t just pop dialogs up. Make dialog appearance predictable for the user.
https://uxplanet.org/5-essential-ux-rules-for-dialog-design-4de258c22116 3/22
26/10/2023, 18:21 5 Essential UX Rules for Dialog Design | by Nick Babich | UX Planet
Left dialog poses an ambiguous question and its scope of impact is unclear. Right dialog poses a specific
question, describes impact for the user and provides clear actions.
Avoid presenting users with ambiguous or unclear options. You should use only clear
options. In most cases users should be able to understand the choices based on the
title and button text alone.
Bad example: In this example, dismissive action text “No” answers the question, but
does not suggest what will happen afterwards.
https://uxplanet.org/5-essential-ux-rules-for-dialog-design-4de258c22116 4/22
26/10/2023, 18:21 5 Essential UX Rules for Dialog Design | by Nick Babich | UX Planet
Good example: The affirmative action text “Discard” clearly indicates the outcome
of the decision.
https://uxplanet.org/5-essential-ux-rules-for-dialog-design-4de258c22116 5/22
26/10/2023, 18:21 5 Essential UX Rules for Dialog Design | by Nick Babich | UX Planet
Also avoid using a “Learn more” action to access help documentation; in-line
expansion within the dialog should be used instead. If more extensive information
is needed, provide it prior to entering the dialog.
Offer Informative Feedback
When a process is finished, remember to display a notification message (or visual
feedback). Let the user know that she has done all that’s needed.
Takeaways
Use a clear question and options in dialog.
https://uxplanet.org/5-essential-ux-rules-for-dialog-design-4de258c22116 6/22
26/10/2023, 18:21 5 Essential UX Rules for Dialog Design | by Nick Babich | UX Planet
Bad Example: Barclays Bank payment processing dialog has a lot of options and
elements, part of that options is available only using scrolling (especially for mobile
devices which usually have relatively small screen-estate).
Source: Barclays
Good Example: Stripe uses a simple and smart dialog with only essential information
which looks good both on a desktop and on a mobile screen.
https://uxplanet.org/5-essential-ux-rules-for-dialog-design-4de258c22116 7/22
26/10/2023, 18:21 5 Essential UX Rules for Dialog Design | by Nick Babich | UX Planet
Number of Action
Dialogs should not include more than two actions. A third action, such as “Learn more”
which typically used to navigate users away from the dialog, increase the risk of
leaving the task unfinished.
Open in app
Search
The “Learn more” action navigates away from this dialog, leaving it in an indeterminate state.
https://uxplanet.org/5-essential-ux-rules-for-dialog-design-4de258c22116 8/22
26/10/2023, 18:21 5 Essential UX Rules for Dialog Design | by Nick Babich | UX Planet
Takeaways
https://uxplanet.org/5-essential-ux-rules-for-dialog-design-4de258c22116 9/22
26/10/2023, 18:21 5 Essential UX Rules for Dialog Design | by Nick Babich | UX Planet
The surrounding context is not needed in order to decide what actions to take.
Requires explicit ‘accept’ or ‘cancel’ action in order to close it. It does not close
when the area outside of it is clicked.
It is not acceptable for the user’s progress to be left in a partially finished state.
Second type is non-modal dialog which allow users to click or tap outside of them to
dismiss them.
You should use modal dialogs (the first type) only for very important interactions
(e.g. delete account, agree to the terms and conditions).
Modal dialog: User must confirm a delete action by actually typing delete.
Also mobile system (native) dialogs are modal and usually have following basic
elements — content, actions, and title.
https://uxplanet.org/5-essential-ux-rules-for-dialog-design-4de258c22116 10/22
26/10/2023, 18:21 5 Essential UX Rules for Dialog Design | by Nick Babich | UX Planet
5. Visual Consistency
Background Behind the Dialog
When opening an dialog it’s important that the page behind is slightly darkened.
This does two jobs. Firstly it draws attention to the overlay with a dialog and secondly
it lets the user know that the page isn’t currently active.
https://uxplanet.org/5-essential-ux-rules-for-dialog-design-4de258c22116 11/22
26/10/2023, 18:21 5 Essential UX Rules for Dialog Design | by Nick Babich | UX Planet
But be careful with tinting. If you make it too dark users will no longer be able to see
page in background. If you make it too light users might think that the page is still
active and might not even notice the dialog in the first place.
It’s a good idea to allow users to exit the non-modal window when they click the
background area outside of it.
https://uxplanet.org/5-essential-ux-rules-for-dialog-design-4de258c22116 12/22
26/10/2023, 18:21 5 Essential UX Rules for Dialog Design | by Nick Babich | UX Planet
Twitter uses both ‘x’ close option and click the background to exit.
Takeaways
Allow users to click (or tap) away to close the dialog in most cases (except modal
dialogs).
Conclusion
I hope these best practices were interesting and will be useful during prototyping.
Remember, User Experience is about humans, not about technology. It’s easy enough to
find out what’s best for your users and their tasks: mock up the leading dialogs, and
test them with a handful of users.
https://uxplanet.org/5-essential-ux-rules-for-dialog-design-4de258c22116 13/22
26/10/2023, 18:21 5 Essential UX Rules for Dialog Design | by Nick Babich | UX Planet
Thank you!
References
10 guidelines to consider when using overlays / modals
Follow
https://uxplanet.org/5-essential-ux-rules-for-dialog-design-4de258c22116 14/22