Neumorphism Generator

Soft UI elements that look pushed out of, or pressed into, the background, made with two opposite box shadows. Pick the light direction, depth and blur.

Neumorphism (Soft UI): How It Works, Why It Fails Accessibility, and How to Use It

Around late 2019, a new visual style spread across Dribbble: buttons and cards that looked like they were pressed out of, or into, a smooth plastic surface. Designer Michal Malewicz popularised the name “neumorphism”, a blend of “new” and “skeuomorphism”. It looked fresh and tactile, and within months it was also widely criticised. Both reactions were justified, and understanding why helps you use the style well.

Neumorphic soft UI buttons with paired light and dark shadows

From skeuomorphism to flat to soft

Early smartphone interfaces were skeuomorphic: they imitated real materials, like leather calendars, wooden bookshelves and glossy buttons. Microsoft’s Metro design language (introduced with Windows Phone 7 in 2010) and Apple’s iOS 7 (2013) moved the industry to flat design, removing textures and depth almost entirely. Material Design (2014) reintroduced depth through consistent shadows and elevation.

Neumorphism took a different path: instead of elements floating above the background, they appear to be made of the background, gently extruded or pressed in. It is the same color as its surroundings, separated only by light and shadow.

How the effect is built

A neumorphic element has:

  1. The same background color as its parent.
  2. A dark shadow offset away from an imagined light source (typically bottom-right).
  3. A light shadow offset toward the light source (top-left).
.soft {
  background: #e8e2d8;
  border-radius: 40px;
  box-shadow: 16px 16px 32px #d0cbc2, -16px -16px 32px #ffffff;
}

Variants change the look:

VariantTechniqueLooks like
FlatTwo outer shadowsRaised from the surface
PressedTwo inset shadowsPushed into the surface
ConcaveOuter shadows + gradient dark-to-lightA shallow dish
ConvexOuter shadows + gradient light-to-darkA soft dome

The neumorphism generator above builds all four with controls for distance, blur and intensity.

Why it fails accessibility

The defining feature of neumorphism is also its biggest problem: elements are the same color as the background. The only thing separating them is a soft shadow.

Low contrast boundaries. WCAG 1.4.11 requires the visual information needed to identify a user interface component to have at least 3:1 contrast with adjacent colors. A shadow at 10–15% darker than the background is nowhere near that. People with low vision, cataracts, or simply a cheap screen in daylight may not see the button at all.

Weak affordance. Users recognise buttons by cues like color, borders and labels. When every element is a soft bump of the same color, it’s hard to tell what is clickable and what is decoration.

Unclear states. The difference between a raised (off) and pressed (on) toggle is subtle. Under WCAG, state changes that rely on low-contrast visual differences are hard to perceive.

Screens vary. Subtle shadows that look perfect on a calibrated designer’s monitor can disappear entirely on a dim laptop or with high-contrast or forced-colors modes, where browsers remove shadows.

Comparison with other depth styles

StyleHow elements stand outContrast riskAffordance
Flat with bordersBorders and fillsLowClear if styled well
Material elevationDrop shadows + distinct surfacesLowClear
GlassmorphismBlur and transparencyMediumMedium
NeumorphismPaired soft shadows onlyHighWeak

How to use soft UI responsibly

Neumorphism doesn’t have to be off-limits. It works when you treat the soft shadows as decoration on top of a design that already communicates clearly.

Add a real contrast cue to interactive elements. A colored icon, a border with 3:1 contrast, or a colored fill for the primary action gives users something reliable to see. The soft shadow then becomes a pleasant extra.

Use color for state. A toggle that is pressed and turns your accent color is unmistakable. A pressed toggle that only changes shadow direction is not.

Keep text high contrast. Labels and body text should meet 4.5:1 against the background, as always. Check them with a contrast checker.

Choose the right background. Neumorphism needs a mid-light tone so both the light and dark shadows are visible. On pure white the light shadow disappears; on very dark backgrounds the dark shadow does.

Limit it to large, non-critical elements. Dashboards widgets, music player controls, smart-home panels and decorative cards suit the style. Dense forms, tables and navigation don’t.

Respect forced colors. In Windows High Contrast mode, shadows are removed. Make sure components still have borders (a transparent border becomes visible in forced-colors mode) so they don’t vanish.

Tuning the look

  • Distance and blur: blur around twice the distance looks soft and natural. Larger distances make elements look higher.
  • Intensity: 10–20% darker and lighter than the base is typical. More intensity adds drama but starts to look like an outline.
  • Radius: generous radii suit the soft aesthetic; sharp corners fight it.
  • Consistency: all elements must share the same light direction, just like in an elevation system.

Where the trend went

Pure neumorphism peaked as a Dribbble trend and rarely shipped in its extreme form in real products, mainly for the reasons above. But its ideas live on: soft, low-contrast surfaces combined with clear, colorful interactive elements appear in many modern smart-home, automotive and wellness interfaces. The lesson is that tactile depth is pleasant, as long as it is not the only thing carrying meaning.