Neumorphism shines on uniform, soft-color backgrounds (light greys, warm creams). It creates tactile UI that feels physical — useful for controls, calculator keys, and dashboard cards. Avoid it for primary CTAs; the subtle depth hurts click affordance compared to a colored button. Avoid it entirely on pure white or pure black, where the shadows can't be seen. Alternative: neumorphism.io covers the same parameters but lacks accessibility warnings and the concave/convex variants.
.neu-card {
background: #e0e5ec;
border-radius: 1rem;
box-shadow:
8px 8px 16px rgba(163, 177, 198, 0.6),
-8px -8px 16px rgba(255, 255, 255, 0.8);
padding: 2rem;
}
/* Pressed state on click */
.neu-card:active {
box-shadow:
inset 4px 4px 8px rgba(163, 177, 198, 0.6),
inset -4px -4px 8px rgba(255, 255, 255, 0.8);
}Last updated: 2026-04-23