Materials, motion, and the frame. Depth in use: what a surface is made of, how it travels between levels, and how the app shell and a dense table keep their claims true while everything under them scrolls.
A level is a state, not a style. Part I gave each surface its level; this part is about keeping that claim true while it opens and closes, while the page scrolls under it, and while someone proposes making it out of glass. The material, the transition, and the frame all have to tell the same story the shadow tells.
Part I settled the static z-axis. There are five levels, named for what they mean: 0 flat (part of the page), 1 raised (on the page, in front of it for now), 2 floating (anchored and brief), 3 overlay (covers the page and takes focus), and 4 top (survives overlays). Each level is a key + ambient shadow pair in the paper's own dark, one surface per mode, and one band of the stack: base 0, sticky 100, rail 200, popover 1000, drawer 1100, scrim 1190, modal 1200, toast 1300, tooltip 1400. Page surfaces rest flat and earn elevation only while something happens to them. Dark mode says "higher" with a lighter surface and a brighter top edge. Below the page there is exactly one surface, sunken.
None of that says what a surface is made of, how it gets from one level to the next, or what happens when the page under it moves, and those are where a correct scale goes wrong in production. Here is Part I's lab again, after a redesign that used the scale faithfully and then added materials and motion. Every level on it is "right." Look before turning the inventory on.
Four kinds of failure, none of them a wrong level. Blur everywhere: the bar and the sidebar are frosted glass over a canvas that never moves under them, so the blur costs a filter pass on every frame and shows nothing; the menu is glass over a table, so its items sit on top of the row text underneath. Shadows that animate: the menu opens by growing a box-shadow, which reads as the shadow inflating rather than the surface arriving. Shadow over nothing: the bar casts its level-1 shadow at the top of the page, where nothing has scrolled under it, and the table's first column casts a "pinned" shadow before anything has scrolled sideways. Raised inside the table: the selected row floats above its neighbours, tearing the one surface a table is. Section XI audits this screen and fixes it.
The fixes all follow from one idea, which is the verdict of this part: a level is a state, and everything else about the surface has to agree with it. The material has to be one that a surface at that level can honestly be made of. The transition has to change the state, not perform it. The frame has to raise a region only while the condition that justifies raising it is true, and give the level back when it stops.
The boundaries, stated once. Motion & Easing owns durations, curves, and each surface's entrance and exit (Motion §IX); this part takes those as given and settles what Motion left to it, the surface in transit: its level and its shadow while it travels. Overlays: Modal & Drawer and Overlays: Popover & Tooltip (planned) own focus, dismissal, and positioning. Collections & Composition owns the table's columns and the master/detail frame; this part puts depth into them and nothing else. Border & Radius owns the hairline itself.
A product UI has two materials, opaque and tonal, and translucency is not a third one; it is a failure with a name. Make every surface opaque unless it is a region of the page's own plane, in which case make it a tone of the page. A material is what the surface is made of, independent of its level: the same level-1 bar can be opaque white or a tone of the canvas. What it must not be is glass, because a surface the user reads has one job, and showing what is under it is a second job that fights the first.
Opaque is the material Part I assumed throughout, and it stays the default: a white surface in light mode, a step of the dark ramp in dark mode, and a shadow from the scale when it is above the page. It hides what is under it completely, which is what a menu, a dialog, a drawer, and a toast need: the user is reading them, and nothing else should be in the way. Tonal is a surface drawn as a tone of the page, with no shadow at all. It says "same plane, different role," the second rung of Part I's separation ladder, and it is the right material for frame regions and for nested panels. Translucent shows a softened version of what is under it, which is a property a surface for reading and clicking never needs.
Every argument for translucency in a product interface comes down to one claim: the user benefits from sensing what is under the surface without reading it. For a screen made of text, fields, and buttons, the claim is false. The user is looking at the bar because of what is on the bar. A hint of a chart moving behind the title does not help them find the Export button; it lowers the contrast of the title, puts a second layer of shapes under every glyph, and makes the bar's appearance change as the page scrolls, so the one fixed thing on the screen is no longer fixed. The gains are aesthetic and momentary. The costs are permanent and paid on every scroll.
This series disagrees with the platforms on this. Apple's materials, and the glass system that replaced them across its platforms in 2025, put menus, bars, and controls on translucent, refracting surfaces, and Fluent's Acrylic does a heavier version of the same. Both are decisions made for the look of a home screen, where the content beneath is wallpaper and photographs, and both ship an accessibility switch to turn the effect off, which is the clearest admission that it costs legibility. A product UI is not a home screen. Its surfaces sit over tables and paragraphs, and the only reading of a glass bar over a table is two tables. The case where translucency might earn its place, a spatial or video interface with little text and the scene itself as the content, is not the case this series is about, and even there the effect is a novelty that users learn to look past.
So the rule is short: no translucent surfaces in product UI. Not the top bar, not the sidebar, not the menu, not the dialog, not the scrim. A bar over scrolling content is opaque and takes level 1 while something is under it (section VI). The one honest hint that content continues is the shadow at its lower edge, which costs nothing and changes nothing on the bar. Section III measures what translucency does to text, so the refusal is on the record with numbers, and gives the damage-limiting rules for a team whose brand or platform has mandated glass anyway.
A product that wants no shadow at level 1 at all, such as a dense data product with panels inside panels, builds its depth from tones, the layering model Carbon calls layer-01, layer-02, and so on. Two rules keep it legible: a layer never sits on its own tone, and three tones is the maximum. In light mode the ramp alternates between the canvas and white, with sunken as the third tone; in dark mode it climbs the dark ramp, because there a lighter surface means higher.
The stepped-darker ramp on the right is the instinctive one and the wrong one: every nested panel is darker than its parent, so each reads as sunk into the one around it, and by the fourth step the innermost content sits on a gray dark enough to cost text contrast. Alternation keeps every layer distinct from its parent with only two tones, and keeps the third, sunken, for the one job Part I gave it: wells, tracks, and code. A product uses opaque surfaces, and may add tonal ones: opaque overlays with a tonal frame is the quiet, common combination, and it is the only combination this series recommends. A third material on the screen means a third story about what is under what.
A translucent surface is a contrast problem that blur can soften but never solve, and the solid version of the same surface has none of it. The specimen measures the bar's text against the bar composited over the darkest content that can scroll under it. Solid wins at every setting; the glass variants trade legibility for an effect, and the best of them only gets back to "passes" by being nearly opaque.
The measurement is what settles the argument in a review. Composite the surface's color over the darkest thing that can scroll under it, and measure the text against that. In this lab product the worst case is ink: a dark chart, a photo, a code block, or a run of #1a1a1a text. White at .80 over #1a1a1a composites to #d1d1d1, and the bar's #1a1a1a text measures 11.4:1 against it. At .40 the composite is #767676 and the same text measures 3.8:1, below the 4.5:1 that body text needs. The muted gray, #6b6b6b, measures 3.5:1 at .80 and doesn't pass 4.5:1 until the alpha reaches .94, at which point the bar is opaque in all but name. So a translucent bar cannot carry secondary text at all, and carries primary text only by giving up most of its transparency. A solid bar carries both at full contrast and never has to be measured again.
Blur is the patch for the patch. Without it, the text under an .80 bar is faint but sharp, and the eye reads both layers at once: the bar's title and the paragraph's third line, superimposed. A 16px blur dissolves the letters beneath into soft gray shapes that can't be read and so compete less, and raising saturation alongside it (180% is the usual figure) keeps colored content from averaging into mud. What is left after all of that is a bar whose background shifts with every scroll, at the cost below, to achieve what a solid bar had for free. If a brand or platform mandates glass, the least damaging form is alpha .80 with blur(16px) saturate(180%) in light mode, more in dark mode (section IX), primary-ink text only, and the fallbacks that follow.
backdrop-filter has a real cost, and it is paid for an effect that gives nothing back. The browser renders everything behind the surface, blurs it, and composites the surface over the result on every frame where anything behind it changes, which for a bar over scrolling content is every frame of every scroll. One bar is cheap; ten blurred surfaces, or a blurred full-screen scrim during a dialog's entrance, is where scrolling drops frames and phones warm up. The filter also creates a stacking context and a containing block for fixed-position descendants (MDN), which is how a menu rendered inside a blurred bar ends up trapped in it, exactly Part I §VII's trap with a new property.
The fallback is the part teams forget. When blur isn't available, the surface must get more opaque, not stay the same: an .80 bar without blur is the second specimen state, letters on letters. Set .96 in the fallback and the bar degrades to nearly solid, which is what it should have been. Users who have asked their system for reduced transparency get the solid bar outright, and the number of people who turn that switch on the moment a platform ships glass is the measure of how much the effect is wanted.
Blur always makes a claim, and the claim is never true in a product UI. A blurred scrim implies the page is still there to be read while hiding it, the case Part I §VIII already ruled out. A blurred menu or popover is section II's glass menu with a filter added; the blur reduces the collision but keeps the cost, and the surface still says the user should be aware of what's under it, which for a choice they're making right now they shouldn't. Blur over a static background, the sidebar in section I, is decoration: nothing moves under it, so it shows nothing but a slightly different shade, at the price of a filter. Blur on a bar over scrolling content, the platforms' favourite case, is the one this section measured: a bar that changes appearance as the page moves, for a hint the user didn't need. There is no honest case left.
A surface's level is a state, so a transition changes the state and does not animate the shadow: the surface arrives with a quick fade and a few pixels of travel, already wearing its level's shadow, and never grows one. Animating box-shadow is the wrong tool twice over. It is expensive, repainting the shadow's whole blurred area on every frame, and it reads wrongly, as a shadow swelling under a surface that stays put, rather than as a surface rising.
The filmstrip makes the difference measurable. Both menus are sampled at the same moments after the click. The right one uses fast with ease-enter, so it covers most of its distance early: about 70% of the way there at 50ms, settled at 150ms. The wrong one uses a 300ms symmetric ease and spends the first 50ms barely moving, then grows its shadow from nothing to level 3 over the rest, so at 150ms, when the right one is done, it's at 80% opacity with a shadow still swelling under it.
Which way each surface arrives, and how long it takes, is Motion §IX's table: a menu drops 4px out of its trigger, a dialog grows from 96%, a drawer slides from its edge, a toast rises from the screen edge, each exit one step down from its enter. What Elevation adds is the rule for the surface while it travels: it travels at its destination level. The shadow is part of the surface, not part of the trip, so it is present from the first frame and fades with the surface's own opacity. A drawer slides in already wearing level 3; a toast rises already at level 4; the scrim fades on its own layer, under the dialog, never as a shadow that spreads.
| Surface | Level in transit | Shadow while moving | Never |
|---|---|---|---|
| Menu, popover, listbox, tooltip | 2 throughout | Full level 2, faded with the surface | Grow from none; scale from its own center |
| Modal dialog | 3 throughout | Full level 3; the scrim fades separately under it | A shadow that spreads to become the scrim |
| Drawer, sheet | 3 throughout | Full level 3 from the edge inward | Shadow appearing only once it stops |
| Toast | 4 throughout | Full level 4; fades out in place | Dropping to a lower shadow as it leaves |
| Header, pinned column | 0 ↔ 1 | Cross-fade, fast, same both ways | Animate box-shadow |
| Card lift, drag pickup | 0 → 1, 0 → 4 | Cross-fade + 1–2px rise, fast, same both ways | Linger on the way down |
| Drag drop | 4 → 0 | Cross-fade down while the item moves into its slot | Land at 0 and then travel |
Some surfaces change level while they stay where they are: the header gaining level 1 as content scrolls under it, a card lifting on hover, an item picked up for a drag. These do need the shadow to change, and the technique is to render the target shadow on a pseudo-element and cross-fade its opacity. Opacity is composited on the GPU, so the transition costs nothing per frame; the shadow itself is painted once. It also looks right: the shadow appears at its final size and darkens into place, which reads as the surface lifting, not as a shadow being inflated (Tobias Ahlin's write-up is the standard reference).
A momentary lift is one level, arrives fast, leaves at the same speed, and uses the cross-fade; anything longer, higher, or slower to leave is a performance rather than feedback. Part I §V settled who may lift: a card that is one link, and anything that can be picked up. Cards are never shadowed at rest, and table rows never lift at all. This section is the mechanics.
One level, no more. A hovered card goes from 0 to 1, with a 1px rise. A card that jumps to level 3 looks like a dialog about to open, and the jump is large enough that the eye follows the shadow instead of the content. Fast both ways. Hover feedback tracks the pointer, so the lift arrives fast and leaves at the same speed. An ease that lingers on the way down, chosen because it "feels soft," leaves a wake of half-lifted cards behind the pointer. Cross-faded. The lift is a level change while visible, which is the case section IV's pseudo-element exists for. A grid of cards animating box-shadow on hover repaints every card the pointer crosses.
The drag ghost goes to level 4 and the slot stays, as Part I said. What Part II adds is the drop target: a drop target expresses readiness with a tone or a dashed border, never with a lift. Only one thing is in the user's hand, and it is the only thing that should be raised. A column that lifts to say "you can drop here" makes two raised surfaces at once, and the user reads it as a second thing that is moving.
The ghost's pickup and drop are level changes like any other: pickup cross-fades to level 4 with a slight rotation or 2% scale, fast, so the item seems to come up into the hand; drop is a move (Motion §IV's ease-move, timed by distance), and the shadow cross-fades down as the item settles into its new slot, so the user sees where it landed. If the drop is cancelled, the ghost travels back to the kept slot, which is the other reason the slot stays. The drop target's tone and dashed edge appear only while a compatible item is being dragged over or near it; at rest the board is flat. The Drag, Resize & Reorder chapter (planned) owns the interaction; this part owns which surface is raised while it happens.
Every region of the app frame rests at level 0, and a region rises only while the condition that justifies it is true: the top bar while content is scrolled under it, the sticky action bar while form content continues below it, the inspector while it covers content instead of sitting beside it. The frame is the part of the screen most often given permanent shadows, because its regions are always visible and someone always wants them to "stand out." A permanent shadow on a frame region is a claim that is false most of the time.
The top bar is level 0 with a hairline at the top of the page, and takes level 1 by cross-fade the moment content scrolls under it (the scrolled state); scrolling back to the top returns it. The shadow is honest only then, because only then is the bar actually in front of something. Its z-layer is sticky, 100, throughout. Platforms converged on this: iOS navigation bars take their material only once content is under them, and Material 3's top app bar changes its container color on scroll rather than wearing a shadow at rest. The sidebar is level 0 and never shadowed. It is part of the page and doesn't move when main scrolls; a shadow makes it look like a drawer that will slide shut (Part I §II). A hairline or a tone separates it.
The inspector has two states, and its level follows the state. Docked beside main, it is a region of the page, level 0 with a hairline. When it opens over content, as it does on a narrower window or as a peek, it covers something without stopping the page, so it takes level 2, on the rail layer, with no scrim (Part I §VIII: no scrim when the page keeps responding). That over-content form is the inspector's fallback below about 1200px, where the push would leave too little of main; at desktop widths it docks beside the content at level 0 and the content reflows (Modal I §V). If it becomes modal, it is a drawer at level 3. The split-pane divider between a list and its detail (Collections §III) is a hairline that darkens on hover and drag; both panes stay at level 0, since neither is above the other.
The sticky action bar at the foot of a long form is the top bar's mirror: level 1, with its shadow cast upward, but only while form content continues below it. When the user reaches the last field, the bar has nothing under it and returns to a hairline. A permanent upward shadow on a short form, where nothing is ever under the bar, is the same false claim as a header shadow at the top of the page. Detecting both states is cheap: a one-pixel sentinel at the top and bottom of the scroll region, watched by an IntersectionObserver, or, where supported, a scroll-driven animation on the pseudo-element's opacity, with no script at all.
Mobile reduces the frame, and with it the decisions. The sidebar becomes a drawer, level 3 with a scrim. The inspector becomes a bottom sheet, also level 3. The top bar keeps the scrolled rule and stays opaque; a phone is where the platforms make their bars glass, and where a short screen with content passing under the bar constantly makes the shifting background most distracting. The same holds for a bottom tab bar. The sticky action bar becomes a bottom bar over the keyboard-safe area and keeps its "only while more below" shadow. What disappears is level 2 in the frame: on a phone nothing slides over content without also taking it over.
Inside a table, nothing rises except what leaves the table. The header and the pinned column take level 1 only while scrolled, and only toward the content they're covering; selection, hover, and expansion are tones; the row menu is level 2 because it's rendered outside the table, on the popover layer. A table is one surface sliced into rows and columns, and every raised part tears it.
Duplicate run · 2.8 / 3.0 NTU · within tolerance · TB-02
The sticky header row is the top bar's rule at table scale: level 1 relative to its own scroll container, with the shadow under it cross-faded in only once rows have scrolled beneath. At scroll 0, a hairline. Its z-index is local, a small number inside the table's own stacking context, not the frame's sticky layer: Part I §VII kept 1 to 99 for exactly this. The pinned first column casts its shadow to the right, toward the columns sliding under it, and only once the table has scrolled horizontally. It's Part I's level 1 turned on its side, the key and ambient offsets moved from y to x, and like the header it's a hairline at rest. A pinned column that casts a shadow at scroll 0 is claiming something is underneath when its neighbour is plainly beside it.
Selection and hover are tones, never lifts: hover a faint tint, selection the tonal step plus a leading bar, so selection survives the pointer moving away (Part I §V). An expanded row stays at level 0, and its summary is drawn below it as an inset region on the sunken surface, so it reads as the row opening downward rather than a card landing on the table. The row menu is level 2, and that is allowed only because it is not in the table: it's rendered at the root, on the popover layer, so the table's overflow can't clip it and its rows can't cover it. The same goes for a cell editor that opens as a popover and for a column filter's dropdown.
The Data Tables chapter (planned) owns frozen columns, virtualised rows, and column resizing; Collections §II owns the column kinds and widths. What this part adds to both is one sentence: depth inside a table is a scroll state, never a row state.
Anything raised must be painted outside every scroll container it doesn't belong to, and anything raised inside one must be given room equal to its shadow's reach. A scroll container clips: overflow: auto, hidden, and scroll all cut whatever paints past the padding edge, including shadows, focus rings, and menus. The menu cut off at the bottom of a panel, and the focus ring missing its left side in a horizontal list, are the two most common depth bugs after the stacking trap.
The menu is a child of the scrolling panel, so the panel clips it. With overflow: auto it also adds scroll height, so the panel now scrolls to reveal its own menu.
Same anchor, same position, rendered at the root (or in the top layer). The panel's overflow no longer applies to it.
The first card's focus ring loses its top, left, and bottom; the hovered card's shadow stops dead at the strip's edge.
Padding as large as the deepest shadow or ring inside, and a matching negative margin so the cards still sit on the page's edge.
Menus, popovers, and listboxes inside a scroller go to the root, which is Part I's structural rule for level 2 and above, and the clipping case is its second justification after stacking. A portal, the popover attribute, or <dialog> all take the surface out of every ancestor's overflow. Positioning it against its anchor belongs to Select §VIII and the Popover chapter.
Shadows and rings inside a scroller need room. The rule is padding on the scroller equal to the reach of the deepest thing inside it: for a focus ring, its width plus its offset (4px here); for a lifted card, the ambient layer's blur minus its spread, plus its offset (about 8px for level 1, 24px for level 2). Then return the padding with a negative margin so the content still aligns to its rail (Grid II), or use scroll-padding so snapping lands correctly. Where the container needs to clip but not scroll, overflow: clip with overflow-clip-margin lets shadows and rings paint a set distance past the edge. Inset focus rings (a negative outline offset) are the right answer for table cells and list rows that touch the scroller's edge on purpose.
One property clips without saying so. contain: paint, added for rendering performance, clips descendants exactly as overflow: hidden does and creates a stacking context besides. On a card with a menu, or a row with a hover lift, it reproduces both of this section's failures at once.
In dark mode the tonal material is the default and does most of the work; the scrim goes to black at 60%; and a mandated translucent bar needs a higher alpha and a brighter top edge than it does in light mode, which is one more reason not to have one. Porting the light-mode values across, as most themes do first, breaks each material in a different way, and the toggle shows all four at once.
Opaque surfaces take Part I §VI's ramp unchanged: a lighter surface per level, a white edge from 6% to 16% with the top side brighter, and black shadows doing the smaller job of darkening the gap. Tonal layering flips direction. In light mode the ramp alternates between canvas and white; in dark mode every nested layer climbs one step lighter (#1a1a1a, #212121, #282828), because in the dark a lighter surface means higher and a darker one means sunk. Ported, the light alternation puts the inner layer back on a darker tone, and it reads as a hole. This is why dark-first products tend to be tonal products: the ramp is already doing the work that shadows do in light mode, and doing it better.
Mandated translucency needs more alpha in the dark. In light mode the content under a bar is dark marks on a light ground, and the glass dims them. In dark mode it's light marks on a dark ground, and bright strokes under dark glass read as a glow, bleeding through more than their contrast numbers suggest. The worst case also flips: light text, #ecebe8, scrolling under a #212121 bar. At .60 the bar's own text measures 4.0:1 against that composite, and fails. At .86 it measures 9.1:1, and the blur takes care of the rest. Add a top edge, a 1px highlight of white at about 8%, so the bar's lower boundary is drawn the way Part I's dark levels draw theirs. The scrim goes to 60% black, as Part I set it; the light scrim's 40% tint barely registers on a page that's already dark. The drag ghost takes level 4's dark surface, #363636, with the brightest edge on the ramp: in the dark, the item in the hand is the lightest thing on the screen.
| Material | Light | Dark | Ported, wrong |
|---|---|---|---|
| Opaque | #fff + elevation-N | dark ramp N + edge 6–16% | Every level #1a1a1a; shadows lost |
| Tonal | canvas / #fff alternate | climb: #1a1a1a → #212121 → #282828 | Layers step darker and read as holes |
| Translucent (if mandated) | white .80 · blur 16 · sat 180% | #212121 .86 · same blur · top edge 8% | Low alpha; bright text bleeds through |
| Scrim | tint 46 40 30 at 40% | black at 60% | 40% tint; page barely recedes |
| Drag ghost | #fff + elevation-4 | #363636 + edge 16% | Light shadow on a dark ghost; nothing lifts |
Go fully tonal (no shadow at levels 1 and 2, shadows only at 3 and 4) when the product is dense or dark-first; keep the shadowed scale everywhere else. A fully tonal product keeps the five levels and the stack exactly as Part I set them. What changes is the rendering of the lower two: the scrolled header and the pinned column become a hairline that darkens, and menus and popovers become an opaque surface with a stronger hairline and, in dark mode, a lighter tone.
Header at level 1 while scrolled, menu at level 2. Part I's scale as written.
No shadows below 3. The menu carries a hairline two steps darker than the page's; the header keeps its rule.
The menu is #282828 on a #1a1a1a table with a brighter top edge. In the dark, tone is the stronger cue anyway.
Shadow removed, nothing put in its place. The menu dissolves into the table rows behind it.
The case for it is real. In a dense product (sticky headers, pinned columns, inline editors, a menu on every row) shadows at levels 1 and 2 are on screen almost all the time, and eight soft edges read as busy even when every one is honest. Replacing them with hairlines gives a crisper, quieter surface where the data is the loudest thing. In a dark-first product the shadows at the low levels were doing little anyway, as Part I §VI showed, and the ramp already carries the height. Carbon is the clearest example of a system built this way: layer tokens separate nested surfaces, and shadow is kept for things that float.
What it gives up is just as real. Level 2 loses its z-cue in light mode. A white menu over white rows is separated only by its hairline, so it reads as on top only because of what's in it; a hurried user can mistake it for an inline panel. The scrolled state gets subtler: a hairline that darkens is a weaker signal than a shadow appearing. And the hairline does all the work, so its weight and color must be decided carefully, which is Border & Radius's territory; this chapter needs only that the floating surface's hairline be clearly stronger than the page's own dividers. Levels 3 and 4 keep their shadows in every variant, because a dialog or a toast with no shadow over a scrim-less page is the flat failure Part I's §I showed.
| Level | Shadowed scale | Fully tonal |
|---|---|---|
| 0 · flat | Hairline or tone | Same |
| 1 · raised | elevation-1 while scrolled | Hairline darkens while scrolled; light: #e2e0da → #c4c1b9 |
| 2 · floating | elevation-2 + edge | Opaque + strong hairline (light) · ramp step + edge (dark) |
| 3 · overlay | elevation-3, scrim when modal | Same |
| 4 · top | elevation-4 | Same |
Audit depth in use by looking for states that aren't true: a shadow over nothing, a blur over nothing moving, a shadow that animates, a row that rises. Here is section I's screen after one pass: same components, same levels, one material plus the frame's tone, and a single shadow at rest.
| Check | Found in §I | Fix |
|---|---|---|
| Shadows that animate | Menu grows its shadow over 300ms, both ways | Menu arrives fast with its level-2 shadow; level changes use the cross-fade (§IV). |
| Blur over nothing | Bar and sidebar frosted over a static canvas; glass menu | All opaque. Nothing takes glass, including the bar (§II, §III). |
| Frame shadows at rest | Bar shadowed at scroll 0; sidebar shadowed | Bar: hairline, then level 1 when scrolled. Sidebar: tone, never shadowed (§VI). |
| Raised inside a table | Selected row lifted; pinned column shadowed at scroll 0 | Selection is tone + leading bar; the pinned shadow appears only after a horizontal scroll (§VII). |
| Clipping | None here; check every scroller anyway | Menus at the root; padding equal to the reach for rings and lifts (§VIII). |
| Materials in use | Three: opaque, glass, and glass-with-shadow | Two: opaque surfaces and the frame's tone (§II). |
Part I's audit counted shadows. This one looks for states that aren't true, and most of it can be done with the browser console on any screen:
Find shadows that animate and replace them with the cross-fade. Find blur that isn't over scrolling content: scroll the page, and remove the blur and the translucency, whether or not anything passes under it. Find frame shadows at the top and the bottom: load each screen at scroll 0 and at the end. Find anything raised inside a table: select, hover, and expand rows. Find clipped reach: tab through every scroller and open every menu inside one; a ring or menu with a flat edge is clipped. Check every material in dark mode against section IX's table. Count the materials: opaque plus one other; three is a product telling three stories.
Decide depth in use after the scale, in this order, once for the whole product; each step assumes Part I's levels and stack are already settled, and each depends on the ones before it.
Steps one through four are tokens; five through nine are component contracts, written once and inherited. Step ten is Part I's habit with one question added: not just "which level is this?" but "is that level true right now?"
Glass as a style. Frosted bars, sidebars, cards, and menus, chosen because the platforms made translucency look current. Each costs a filter pass and either claims something is underneath when nothing is, or puts text on text when something is. The platforms ship a switch to turn it off; a product should never need one.
Shadows that grow. transition: all on a component with a shadow, so every state change inflates or deflates it. Change the level by cross-fade, and let the surface move, not the shadow.
Permanent frame shadows. A top bar shadowed over an empty page, a sidebar floating above the page it belongs to, a sticky footer casting upward over nothing. Frame regions rise on a condition, and fall when it ends.
Rows that rise. Lifted selections, raised hover rows, expanded rows that turn into cards. A table is one surface; its depth is a scroll state.
Clipped depth. A menu cut off by the panel it opened from, a focus ring missing a side. The fix is structural (render at the root, give reach), never a bigger panel.
Light values in the dark. Thin glass, stepped-down layers, a 40% scrim. Each material has its own dark values, and the tonal material is the one dark mode prefers.
With this part, Elevation & Depth hands off in three directions. Motion & Easing takes the durations and curves this part named. The Overlays chapters take focus, dismissal, and positioning for every level-2 and level-3 surface. And Data Tables takes the frozen columns and sticky headers whose depth was settled here.
Part II of Elevation & Depth. Continues Surfaces, Shadow & the Stack.
A shadow is only as true as the moment it's on screen. Raise a surface when it's above something, and let it down when it isn't.