Neumorphism CSS Generator
Create soft-UI neumorphism effects visually — adjust color, distance, blur, and shape (flat, concave, convex), then copy the box-shadow CSS. Free.
💡 How to use
- Neumorphism uses two shadows — one light, one dark — on a background of the same color.
- The element and its container must share the base color for the soft-UI effect to work.
- Toggle Inset for a pressed-in look, ideal for inputs and active buttons.
Free Neumorphism CSS Generator
Create soft-UI neumorphism effects visually and copy the CSS in one click. Adjust the base color, shadow distance, blur, and intensity, switch between flat, concave, and convex shapes, and preview it live — then paste ready-to-use box-shadow CSS into your project. Free and browser-based.
What is neumorphism?
Neumorphism, or 'soft UI', is a design style where elements appear to extrude from or press into the background, as if moulded from the same material. It is created with two shadows — one lighter and one darker than the base color — on a background of that exact color. The result is a soft, tactile look popular for buttons, cards, toggles, and controls.
How the effect works
Neumorphism relies on a few coordinated values:
- A background color shared by the element and its container.
- Two box-shadows: a dark one offset one way, a light one offset the opposite way.
- Distance — how far the shadows are offset (controls the sense of depth).
- Blur and intensity — how soft and how strong the shadows appear.
- Optional inset shadows to make the element look pressed in.
How to use the neumorphism generator
It takes seconds to dial in:
- Pick your base color — soft, muted tones work best.
- Adjust distance, blur, and intensity for the depth you want.
- Choose flat, concave, or convex, and toggle inset for a pressed look.
- Copy the CSS and apply the same base color to the parent container.
The one rule that makes it work
Neumorphism only looks right when the element and the surface behind it share the same background color. The illusion comes from the two shadows, not from a contrasting card. If you place a neumorphic button on a white page but its base color is grey, the effect breaks. Set your section or page background to the same base color you use in the generator.
Accessibility considerations
Because neumorphism uses very low contrast by design, it can be hard for some users to tell what is interactive. Use it thoughtfully: keep enough contrast for text and icons inside the elements, pair it with clear labels, and consider adding a stronger focus or hover state so buttons and inputs are obviously clickable. Reserve the style for accents rather than critical, high-traffic controls.
Pro tip
Concave and convex variants add extra realism by putting a subtle gradient on the surface itself, not just the shadows. Use convex for raised buttons and concave or inset for inputs and pressed states. Pair this with our Box-Shadow Generator and Border-Radius Generator for complete soft-UI components.
FAQ
Is this Neumorphism Generator free?
What is neumorphism in UI design?
Why does my neumorphism effect look wrong?
What is the difference between concave and convex?
How do I make a pressed or inset neumorphic element?
Is neumorphism accessible?
Does neumorphism work in all browsers?
Related tools
Pro tip: pair this tool with CSS Box-Shadow Generator and CSS Flexbox Generator for a faster SEO workflow.