UTILS.
Private by default
◳

Neumorphism Generator

Create soft-UI neumorphic shadows with a live preview and copy.

Your files stay on this device

Files are processed in your browser, never uploaded. The site downloads code and assets to run the tools. No accounts or trackers.

Use Download to save this tool as one HTML file for offline use.

Privacy →

About this tool

Design a soft-UI, neumorphic block with paired light and dark shadows and copy the CSS. The live preview and code are generated in your browser.

Pick a background colour and adjust the sliders for size (80-320 px, preview only), shadow distance (2-50 px), intensity (2-40%) and blur (2-100 px). Intensity lightens and darkens each colour channel of your background by that percentage to make the highlight and shadow tones. Distance and blur set the two box-shadow values, one offset down-right in the dark tone and one up-left in the light tone. The Concave option switches both shadows to inset and reverses the 145-degree gradient so the shape looks pressed in.

The output has three lines: border-radius (the size divided by six, rounded), a linear-gradient background and the box-shadow. It does not include the page or parent background, and neumorphism only works when the element sits on the same colour as the colour you picked, so set that colour on the container yourself. Width and height are not part of the output either.

Very light or very dark backgrounds clamp at white or black, so the effect is weak at both extremes; mid-tone greys work best. Soft shadows also have low contrast, so check accessibility before using them on buttons. Nothing is uploaded.

Frequently asked questions

Why does neumorphism use two shadows?
A light shadow on one corner and a dark shadow on the opposite corner imitate a single light source, so the element looks extruded from the surface.
What is the difference between convex and concave?
Convex looks raised out of the surface. Concave uses inset shadows and a reversed gradient, so the element looks pressed in.
Why does it look flat on my page?
The effect needs the element and its parent to share the background colour you picked. The copied CSS does not set the parent colour, so add it yourself.
Is neumorphism accessible?
Its low contrast can make edges hard to see. Add clear text, borders or focus styles for buttons and form controls.

More tools