Neumorphism

Neumorphism (soft UI) makes elements look pressed out of, or into, the background itself, using one light and one dark shadow on a surface of the same colour.

Neumorphism, a blend of “new” and “skeuomorphism” and also called soft UI, was a popular design trend from late 2019. Buttons and cards have the same colour as the page and seem to be extruded from it, lit from one corner: a light shadow on one side and a dark shadow on the other. Pressed states flip the shadows inwards.

Its big weakness is contrast. Because a control and its background are the same colour, the edges are faint, and many neumorphic designs fail WCAG’s 3:1 minimum for the boundaries of controls. Use it for decoration, add a clear border or colour for anything interactive, and never let it be the only sign of state.

/* the background and the element share one colour */
body { background: #e0e1e6; }
.soft {
  background: #e0e1e6;
  border-radius: 18px;
  box-shadow: 8px 8px 16px #b8b9be, -8px -8px 16px #ffffff;
}
.soft:active {
  box-shadow: inset 6px 6px 12px #b8b9be, inset -6px -6px 12px #ffffff;
}

Related terms