Common interface elements are layered on a predetermined elevation scale ranging 0-3, with each level indicating importance and priority to the user. This stack order is consistent across Hudl interfaces.
A tangent is a piece of content (tooltip, dropdown, popover) that does not have a set elevation, but needs to sit above other content in its current elevation. A tooltip within a modal (layer 3) is a perfect example.
A scrim is a transparent overlay placed just beneath a layered element. Its purpose is to dim and obfuscate content underneath the layered element. This focuses the user’s attention on the layered element in question. Scrims are required for layer 3 (modals), but optional for layer 2 elements like prompts, toasts and action bars.
It’s important to distinguish theming environment levels from the concept of layering. Levels affect the background and/or border color of a given element, whereas layering physically places one element on top of another.
Levels create separation between regions on the same plane, while layering creates a new dimension altogether. For instance, you might paint your living room and upstairs bedroom the same color, but color is where the connection ends. Otherwise they’re totally separate, physically and in purpose.
The dimension of layers is visually accentuated with the shadows applied to each.
The stack order ensures similar interface elements like toasts, modals and action bars have a consistent elevation across all Hudl products.
Don'tput elements on the wrong layer.
Dofollow the correct stacking order.
Don'tuse shadows to “elevate” levels.
Doapply shadows to layered elements.
|Follow platform guidelines.|