Elevation 1
A compact material-style shadow for small controls.
box-shadow
Preview Surface
Copy-ready CSS
Pure CSS
box-shadow: 0px 2px 4px -1px rgba(0, 0, 0, 0.22), 0px 4px 8px -4px rgba(0, 0, 0, 0.16);Tailwind v4
shadow-[0px_2px_4px_-1px_rgb(0_0_0_/_0.22),_0px_4px_8px_-4px_rgb(0_0_0_/_0.16)]Elevation 2 is a material box-shadow preset built for systematic elevation. It uses 2 shadow layers to create a elevation effect that is easy to copy into product cards, dashboards, marketing blocks, and small interface surfaces. A low material elevation for raised cards. The shadow is intentionally described as plain CSS, so you can paste it into any framework or convert it into a Tailwind arbitrary value without changing the visual result. The effect stays on the outside edge, so it reads as lift rather than a pressed or recessed treatment. Use it when you want a repeatable starting point, then open it in the generator to adjust offset, blur, spread, color, opacity, or stacked layers for your own layout.
Hexpedia
Review the shadow color values used by Elevation 2 in Hexpedia.
Explore more
Related
These presets share tags with Elevation 2 and make good nearby alternatives.
A compact material-style shadow for small controls.
A confident material surface shadow.
A medium material shadow for layered panels.
A stronger elevation for popovers and dropdowns.
A clear foreground shadow for floating widgets.