Skip to main content
UI / UXVisual StylesDiagramBeginner

Elevation & Shadows

KO: 고도와 그림자 (Elevation)·EN: Elevation & Shadows·JA: エレベーションとシャドウ

Representing how high a UI surface floats above the base canvas using layered shadows and blur radius to clarify layering and interactivity

Table of Contents

Structure Diagram

Shadow Blur & Offset Growth Across Elevation Levels
L1 CardL3 PopoverL4 ModalElevation Level (0 → 4) →Blur /
(50, 32)Blur Radius #3
Quick Answer

What is Elevation & Shadows?

Representing how high a UI surface floats above the base canvas using layered shadows and blur radius to clarify layering and interactivity. It is a core concept in Visual Styles within UI / UX.

Core Principles

Elevation translates real-world light physics into UI: as an object rises farther from a surface, its shadow becomes softer (larger blur radius), more offset, and more diffused (lower opacity).

Rather than using a single muddy box-shadow, stacking 2–3 layered shadows—a tight contact shadow near the edge plus a wide ambient shadow—produces crisp, natural depth.

Practical Takeaways

  • Tint shadows to match the canvas: Pure black shadows on tinted surfaces look dull and gray. Using a dark hue derived from the background (e.g., cool slate-blue at low opacity) looks noticeably cleaner.
  • Standardize 4–5 elevation tokens: Map xs (controls), sm (cards), md (dropdowns), lg (popovers), and xl (modals) directly to your z-index hierarchy.
  • Elevate on hover/drag: Lifting interactive cards by 2px and stepping up one shadow tier on hover or drag provides immediate tactile affordance.

Notable Examples

  • Stripe & Tailwind layered shadows: Combining crisp tight shadows with soft ambient spreads for realistic depth.
  • Dragged Kanban cards: Jumping from subtle resting elevation to high floating elevation while being reordered.
  • Floating toolbars & toasts: Visually detaching persistent overlays from scrolling content underneath.