Related pages: Popups, Dialogs, Toast
Description
A message popup is a Popup containing important information such as a warning, error message, or help text.
Types
Type | Usage | Image |
---|---|---|
Warning | A warning message informs the user about a potential problem, particularly one that could occur if the user continues with an action. | |
Error | An error message informs the user about an error that has occurred. | |
Information | An information message contains additional information relevant to the primary screen. | |
Help | A help message contains an explanation of any content relevant to the primary screen. |
Usage & Behavior
General guidelines
Structure
For basic popup structure see Popups.
A message popup will have a title, next to a type icon (e.g. warning icon).
The message popup may contain a checkbox, allowing the user to declare a statement, e.g. I understand or Don’t show this again.
Dimensions
Message popup have three possible dimensions: small, medium and large, depending on the amount of content.
A small popup has a fixed width of 400px.
In this case, the height of the popup may vary from 260px to 460px.A medium popup has a fixed of 500 px.
In this case, the height of the popup may vary from 325px to 575px.A large popup has a fixed width of 600 px.
In this case, the height of the popup may vary from 390px to 690px.If the content does not fit within the content area, a scrollbar will appear.
Small popup | Medium popup | Large popup |
---|---|---|
Content
Popup header will contain the name of the object that triggered it (see Popups for more information).
The title can wrap up to two lines. Beyond that it will be truncated, showing an ellipsis (…). In this case, hovering over the title will show a tooltip with the full title.
Best practices
A message popup is very intrusive. Use it only for important messages or long help messages. For lower-priority messages use a Toast.
Keep the title short and informative. The title should not include the actual name of the entity.
Keep the message text short and informative.
A common use is when the user tries to leave a page without saving their work. In this case, a warning popup will appear:
Design
Zeplin link | Screen thumbnail |
---|---|