Neumorphism (Soft UI) CSS Box Shadow & Surface Maker

Neumorphism (Soft UI) CSS Box Shadow & Surface Maker

Create extruded, recessed, flat, and concave neumorphic UI components with light and dark specular shadow calculations.

• Real-time Trigonometric Specular Vectors• WCAG Contrast Auditor• Tailwind & SCSS Output
Presets:
Surface: EXTRUDED • Light: 135°
Soft UI Component
Extruded Elevation
Click to toggle press
WCAG Contrast
16.6:1AA
Light Source Direction (135°)Specular Angle: 135°
135°

Surface Geometry & Physics

Base Tone: #e0e5ec
Distance (Elevation)9px
1px (Subtle)50px (High)
Blur Radius18px
0px (Crisp)100px (Diffuse)
Intensity (Contrast)22%
5% (Soft)65% (Dramatic)
Spread Radius0px
-15px (Choked)20px (Expanded)
Corner Radius24px
0px (Sharp)100px (Pill/Circle)
Preview Element Size240×240px
120px320px
Advanced Neumorphism 2.0 Options
/* Neumorphic Soft UI (EXTRUDED) */
.neumorphic-surface {
  background: linear-gradient(135deg, #e2e7ed, #cfd3da);
  border-radius: 24px;
  box-shadow: 6px 6px 18px 0px #b1b5bb, -6px -6px 18px 0px #ffffff;
}

100% Private Browser Execution

All data processing, parsing, and compilation execute strictly inside your local browser memory. Zero external server uploads.

Instant Live Preview

Instant real-time reactive computation delivers immediate feedback on every keystroke with zero network latency.

Production Standards & Compliance

Outputs clean, cross-browser CSS and visual values verified against modern web layout standards.

Formula & Reference Guide

Neumorphism (Soft UI) CSS Box Shadow & Surface Maker — Reference Guide

Create realistic soft extruded and inset neumorphic UI surfaces with paired highlights, ambient shadows, and dual-tone gradients.

Neumorphism (Soft UI) CSS Box Shadow & Surface Maker — Reference Guide — Client-Side Calculation Flow & Methodology
Neumorphism (Soft UI) CSS Box Shadow & Surface Maker — Reference Guide — Client-Side Calculation Flow & Methodology

Key Parameters & Controls

Key Parameters & Controls
ParameterType / UnitDescriptionDefault
Surface CurvatureEnum (flat | concave | convex | pressed)Controls physical extrusion geometry using dual-shadows and opposing background gradients.flat
Shadow DistanceLength (px)Offset distance simulating the height/elevation of the extruded surface above the backdrop.20px
Gaussian BlurLength (px)Diffusion radius softening the shadow edges to simulate ambient lighting.40px
Light AngleEnum (145deg | 225deg | 315deg | 45deg)Simulated primary lighting vector governing highlight and shadow orientation.145deg (Top-Left)

Pro Tips & Best Practices

Dual-Tone Light & Shadow Coupling

Authentic neumorphism requires pairing a negative highlight shadow (tinted lighter than the background) with a positive shadow (tinted darker than the background).

Background Surface Matching

The element's surface color must match or closely harmonize with the canvas background color for the physical extrusion illusion to work.

Ensure WCAG AAA Contrast for Content

Because neumorphic surfaces have low contrast borders, ensure typography and interactive icons maintain high contrast ratios (>= 4.5:1).

Common Gotchas & Troubleshooting

⚠️Neumorphic effect appears flat or looks like a normal box shadow

Check that the element background color is not pure #ffffff or #000000; soft neumorphism requires mid-tone off-whites or muted slates.

⚠️Pressed (inset) state looks dirty or harsh

Reduce shadow opacity and increase Gaussian blur radius while decreasing the offset distance.

Frequently Asked Questions

What is neumorphism (Soft UI)?▼

A design trend combining skeuomorphism and flat design, using paired highlights and shadows to simulate physical extruded surfaces carved from the background.

How do you create a pressed neumorphic button state?▼

Switch standard box-shadow to inset box-shadow: inset 5px 5px 10px #dark, inset -5px -5px 10px #light.

Why is pure black or white unsuited for neumorphism?▼

You cannot produce a highlight brighter than #ffffff or a shadow darker than #000000; mid-tone backgrounds like #e0e5ec or #2d3748 are required.

Is neumorphism accessible for users with visual impairments?▼

Neumorphism alone often fails WCAG non-text contrast guidelines; it must be supplemented with distinct focus outlines, labels, and high-contrast typography.