Design soft, extruded neumorphic UI surfaces with dual shadows and copy the CSS.

Preview
CSS

The canvas background matches the element color — that is what makes the soft, extruded neumorphic look work.

Base color
Used for both the element and its background.
Shape
Light source
200px
50px
20px
15%
60px

By default the light and dark shadows are derived from the base color. Enable to set them yourself.


About Neumorphism Generator

The Neumorphism Generator designs the soft, extruded “soft UI” look: an element that appears pressed out of — or into — the surface behind it. Pick one base color and the tool derives everything else, because the effect only works when the element and its background share the same color and the depth comes entirely from two opposing box-shadows.

Sliders control the geometry: size, border radius, the distance of the shadows, their intensity and blur. Four shape modes — flat, concave, convex and pressed — swap the internal gradient and shadow direction, and a light-source picker moves the highlight to any of the four corners so the element matches the lighting of your design.

By default the light and dark shadow colors are computed from the base color, but a manual mode lets you set both yourself. The generated CSS — background, radius and the dual box-shadow — is one click away.

How to use Neumorphism Generator

  1. Choose the base color — it is applied to both the element and the canvas behind it.
  2. Pick a shape: flat, concave, convex or pressed.
  3. Set the light source corner to control where the highlight falls.
  4. Tune size, border radius, distance, intensity and blur with the sliders.
  5. Enable manual shadow colors if you want to override the derived light and dark tones.
  6. Copy the CSS and paste it onto your element.

Frequently asked questions

Neumorphism depends on the element sharing its background color with the surface behind it. Place the element on a container with the same base color — on white or a contrasting background the dual shadows read as a glow, not depth.

Flat keeps the surface plain; convex adds a gradient that makes it bulge outward; concave makes it dip inward; pressed inverts the shadows entirely so the element looks sunk into the surface — the classic active-button state.

Two box-shadows on opposite corners: a dark one simulating shade and a light one simulating highlight, both derived from the base color. Distance offsets them, blur softens them, intensity controls how far they deviate from the base.

Use it carefully. The style is inherently low-contrast, so pair it with clearly readable text, strong focus states and adequate contrast ratios for interactive elements — reserve the soft look for decorative surfaces where possible.

Yes, it is free and runs entirely in your browser. Adjust, preview and copy the CSS as often as you like without an account.


Popular searches
neumorphism css generator soft ui shadow generator neumorphic box shadow css neumorphism box shadow generator css soft shadow generator neumorphism design tool inset shadow css generator css dual box shadow
Need help?
Found an issue with this tool? Let our team know.
Report an issue

Add this free tool to your own website — copy and paste the code below.