Shadow Elevation Helper
Generate Material Design elevation box-shadows with live preview, copy-ready CSS, and a full reference table.
Shadow Controls
4dp
#000000
14%
180°
TopRightBottomLeftTop
Live Preview
Background:
Elevation: 4dp
Material Design Elevation Reference
Standard shadow values for key elevation levels with Tailwind equivalents.
| Level | Usage | Preview | Copy |
|---|
Copied!
Summary
Generate Material Design elevation box-shadows with live preview, copy-ready CSS, and a full reference table.
How it works
- Drag the elevation slider or click a preset level (0–24dp).
- Optionally adjust shadow color and opacity with the color picker and opacity slider.
- Change the light-source angle to tilt shadows left, right, or center.
- The card preview updates in real time showing the generated shadow.
- Click "Copy CSS" to copy the box-shadow rule to your clipboard.
- Scroll down to the reference table to compare standard Material Design elevation values.
Use cases
- Match Material Design elevation semantics in custom CSS or design tokens.
- Quickly prototype card depth before committing to a design system.
- Verify that Tailwind shadow classes match the intended elevation level.
- Export exact box-shadow values for Figma, Sketch, or code components.
- Adjust shadow tint for dark-mode surfaces or colored backdrops.
- Generate elevation CSS for web components, dashboards, or landing pages.
Frequently Asked Questions
Last updated: 2026-07-01 ·
Reviewed by Nham Vu