Surfaces · SU-99 · SU-100 · SU-101 · SU-102 · SU-103
Shadows that say what is on top
Flip between the version shibroUI flags and the one it ships. The marks and callouts show what changes. Switch the page theme: in dark, the higher layers also get a slightly lighter surface so they stay visible.
-
Dropdown
level 0, no shadow
-
Dropdown
level 2
Revenue
$48.2k
Signups
1,204
Sort by
Changes saved
Revenue
$48.2k
Signups
1,204
Sort by
Changes saved
-
Resting card
level 4, heavy shadow -
Toast
level 1
-
Resting card
level 0, no shadow -
Toast
level 5
What changes
- Bad
- Cards rest at level 4, the menu at level 0, the toast at level 1: the menu sinks into the page.
- Good
- Cards rest flat at level 0, the menu rises to level 2, the toast to level 5: top reads as top.
The rules
-
SU-99
Base surface. Level 0, a flat quiet grid that leaves higher layers free to stand out. Not: resting cards at level 4: heavy shadows make everything compete.
-
SU-100
Dropdown layer. Level 2. Not: a level 0 menu that looks like part of the page.
-
SU-101
Raised card. Level 3: a soft broad shadow plus a tighter edge shadow. Not: level 0 even though the card belongs above its surroundings.
-
SU-102
Floating notification. Level 5, above all content. Not: level 1, so it looks like an ordinary card.
-
SU-103
Modal depth. Level 5 plus a viewport-wide scrim dimming the page (e.g.
rgb(0 0 0 / .5)), with the dialog undimmed on top. Not: level 1 with no backdrop: the page competes with the dialog.