Neumorphism Generator
Design soft UI neumorphic cards and buttons with a live preview. Adjust the background, distance, blur, intensity and shape, then copy the ready CSS code for your project.
Live preview
Your CSS code
Copied to clipboard.
What is neumorphism?
Neumorphism, also called soft UI, is a design style that makes an element look like it is pressed out of the page. It uses two shadows on the same background colour: a light shadow on the top left and a dark shadow on the bottom right. Because the element and the background share one colour, the shadows alone create the shape.
It works well for simple cards, buttons, toggles and music player panels on soft grey or pastel backgrounds. Avoid it for long text, small labels and anything that must stand out fast, because the low contrast can hurt readability. Keep text contrast high, add a clear focus outline, and never rely on shadows alone to show that something is clickable.
Related tools
- Glassmorphism Generator — frosted glass cards with blur and transparency.
- Box Shadow Generator — build single and layered box shadows.
- CSS Gradient Generator — make smooth colour gradients for backgrounds.
Frequently asked questions
What is neumorphism in CSS?
Neumorphism, also called soft UI, is a design style that makes elements look like they are pressed out of the background. It uses two box shadows on the same background colour: a light shadow on one side and a dark shadow on the opposite side. The effect works best on a soft, low contrast background such as light grey.
How do I use this neumorphism generator?
Pick a background colour, then move the distance, blur, intensity and border radius sliders and choose a shape such as flat, concave, convex or pressed. The card and button preview update live. When you like the result, press the copy button to copy the CSS code and paste it into your own stylesheet.
Why does the background colour matter for neumorphism?
Neumorphism only works when the element and the page share the same background colour, because the light and dark shadows are made by lightening and darkening that exact colour. If the element colour and the page colour do not match, the shadows look like plain drop shadows and the soft pressed-out effect is lost. Mid tone greys and soft pastels give the clearest result.
What is the difference between flat, concave, convex and pressed shapes?
Flat uses only the paired light and dark shadows on a solid background. Concave adds a gradient from light to dark so the surface looks pushed in. Convex adds a gradient from dark to light so the surface looks raised. Pressed uses inset shadows, so the element looks carved into the background, which works well for active buttons and input fields.
Is neumorphism good for accessibility?
Neumorphism can hurt accessibility because its soft shadows are low contrast, so buttons and text can be hard to see, especially for people with low vision. Keep text contrast high by using dark text on a light background, add a clear border or outline on focus, and never rely on shadows alone to show that something is clickable.