Neumorphism (Soft UI) Generator

Design stunning extruded and pressed 3D plastic UI effects. Adjust the sliders to generate cross-browser Neumorphism CSS instantly.

1. Live 3D Preview
3. Generated CSS Code
2. Soft UI Settings
Size (Width & Height)120px
Border Radius20px
Shadow Distance10px
Blur Radius20px
Shadow Intensity0.15
Base UI Color
Shape Style
Save this generator for your UI projects!

What is Neumorphism (Soft UI)?

Neumorphism (a blend of “New” and “Skeuomorphism”) is a modern user interface design trend that focuses heavily on how light interacts with elements in a 3D space. Instead of items looking like they are floating above the background (like traditional Material Design or Flat UI), Neumorphic elements look like they are extruded directly from the background material itself.

Our free Neumorphism CSS Generator calculates the complex light and dark shadow physics required to create this beautiful “soft plastic” effect, generating instant CSS code for your buttons, cards, and input fields.


How the Neumorphic Shadow Math Works

Creating true Neumorphism isn’t as simple as adding a single black drop shadow. It requires matching the background color exactly, and applying two distinct, opposing shadows:

  • The Dark Shadow (Bottom Right): Simulates the area where light is blocked, giving the element physical volume. We use a low-opacity black color (e.g., rgba(0,0,0, 0.15)) mapped to a positive X and Y offset.
  • The Light Shadow (Top Left): Simulates the highlight where the main light source hits the element. We use a semi-transparent white color (e.g., rgba(255,255,255, 0.7)) mapped to a negative X and Y offset.
UI Design Rule: The golden rule of Neumorphism is that the background color of the webpage and the background color of the element MUST be exactly the same. Contrast is created purely through the dual shadows.

Extruded vs. Pressed Shapes

Our generator allows you to switch between two primary shape styles using the “Shape Style” toggle:

  1. Extruded (Default): The shadows fall on the outside of the box, making the element look like a button waiting to be pushed.
  2. Pressed (Inset): The shadows fall inside the box (using the CSS inset property), making the element look like an empty well or a button that has already been clicked down.

A Warning on Accessibility

While Soft UI looks incredibly futuristic and clean, it often suffers from poor contrast ratios. Because the element and background are the same color, visually impaired users may struggle to identify buttons. Always ensure your text and icons placed inside Neumorphic boxes have a high contrast ratio to maintain accessibility standards.

Back to Home

Get Premium Access

Unlock advanced features with a quick 1-click Sign In!

Leave a Reply