UXFU.com Master the craft.
Tools / Shadow & Elevation Scale Builder

Shadow & Elevation Scale Builder

Create a consistent 5-level elevation system for your UI. Choose between soft shadows (Stripe-style), crisp Material Design shadows, brand-colored glow, or border-only elevation. Export to CSS, Tailwind, or Figma.

Shadow style

Elevation scale

E1FlatSubtle cards, table rows, inline elements
E2RaisedCards, form inputs, list items
E3FloatingDropdowns, popovers, tooltips
E4OverlaySidebars, drawers, sticky headers
E5ModalModals, dialogs, alerts

Shadow values

E10 1px 2px 0 rgba(0,0,0,0.05)
E20 1px 3px 0 rgba(0,0,0,0.08), 0 1px 2px -1px rgba(0,0,0,0.06)
E30 4px 6px -1px rgba(0,0,0,0.08), 0 2px 4px -2px rgba(0,0,0,0.05)
E40 10px 15px -3px rgba(0,0,0,0.08), 0 4px 6px -4px rgba(0,0,0,0.05)
E50 20px 25px -5px rgba(0,0,0,0.08), 0 8px 10px -6px rgba(0,0,0,0.04)

Why Elevation Systems Matter

Shadows communicate depth – they tell users which elements are above others, what can be interacted with, and what demands immediate attention. A tooltip should feel closer than the card beneath it. A modal should feel like it's floating above everything else on the screen. When shadow values are chosen ad hoc rather than from a consistent scale, the result is a UI that feels visually incoherent even when each individual decision seemed reasonable in isolation. A defined elevation scale is one of the quickest wins for making a product feel polished and intentionally designed.

The five-level system here maps directly to real UI patterns: flat for subtle background elements, raised for everyday content cards, floating for overlays like dropdowns, overlay for sidebars and sticky headers, and modal for dialogs that demand full attention. Beyond the five Tailwind-inspired presets, the "border-only" style is a deliberate choice for flat design systems – products like Notion and Linear that use hairline borders instead of shadows to communicate hierarchy. Whatever shadow style matches your product's character, the export formats give you production-ready values for CSS, Tailwind config, Figma, and W3C design tokens.

A set of perceptual rules describing how humans naturally group visual information, helping interfaces work with the brain's pattern recognition.
A collection of reusable components, tokens, and guidelines that acts as a single source of truth, closing the gap between design and development.

Related Tools