Material elevation (1-24) — use for cards and floating UI that follow Material Design. Smooth shadow (soft, single direction) — modern SaaS, blogs, product pages. Neumorphic dual-direction — only on monochrome surfaces; matches the Neumorphism generator output. Hard shadow — retro/brutalist designs, bold CTA buttons. Inset — pressed buttons, inner shadows on form fields. Alternative: Tailwind's default shadow scale covers Material elevations 1-24 via shadow-sm through shadow-2xl; use this tool for custom tuning beyond the default scale.
/* Material elevation 4 — card default */
.card { box-shadow: 0 2px 4px rgba(0,0,0,0.06), 0 4px 12px rgba(0,0,0,0.08); }
/* Smooth soft shadow for modern SaaS */
.modern {
box-shadow:
0 1px 2px rgba(0,0,0,0.04),
0 4px 8px rgba(0,0,0,0.04),
0 16px 32px rgba(0,0,0,0.04);
}
/* Pressed button (inset) */
.pressed { box-shadow: inset 0 2px 4px rgba(0,0,0,0.15); }
/* Retro hard shadow */
.retro { box-shadow: 4px 4px 0 0 #000; }Last updated: 2026-04-23