Overlay Patterns
Overlay patterns enhance user experience by presenting additional information or functionality on top of existing content.
Decision tree
You can follow this decision tree to choose the most appropriate UI component based on the specific context, importance, and user interaction requirements of your product interface.
You can take a closer look at this in our overlay patterns file.
Modal
A modal is a surface that overlays the page’s main content and is used to display information, gather input or confirm actions.
Popover
A popover is a small overlay that appears above content, offering extra information, context, or options to the user.
Toast
A toast shows short updates about app processes at the bottom of the screen.
Tooltip
A tooltip is a contextual message that appears when users interact with an element, providing additional information or guidance.
Z-index
Z-index is a CSS property used in web design to control the stacking order of elements on a page. It determines which elements appear in front of others, making it useful for managing overlapping elements in user interfaces.
We’ve prepared a table to help you understand how our components stack on top of each other.
Component | Z-index |
---|---|
Tooltip | 2 |
Popover | 3 |
Modal | 4 |
Toast | 6 |