UINice
ProDesign systemsPro
Site types
Big Tech
Free picks
Hot 100
Design tools
MCP
English
Submit
Sign in
Design tools
All tools
Screenshots & mockups
Social & marketing images
Color
CSS generators
CSS gradient generator
Mesh gradient generator
CSS box shadow generator
CSS button generator
Grain gradient generator
Glassmorphism generator
Neumorphism generator
CSS border-radius generator
CSS clip-path generator
Cubic-bezier & spring easing
CSS animation generator
CSS loader generator
CSS toggle switch generator
CSS text gradient generator
Fluid typography clamp()
CSS text shadow generator
SVG & backgrounds
Typography
Icons & favicons
Image editing
Format conversion

Neumorphism generator

Soft UI Tile#e2e8f0
.neu-surface {
  border-radius: 24px;
  background: #e2e8f0;
  box-shadow: 14px 14px 28px #c0c5cc, -14px -14px 28px #ffffff;
}
Surface shape
Light source corner
Design system surface presets
Coral FizzPRO→
Output format

Why neumorphism (Soft UI) creates tactile hardware-like controls with pure CSS

Neumorphism—short for 'new skeuomorphism' or Soft UI—gives flat digital interfaces the subtle sculptural feel of molded matte aluminum, ceramic switches, or audio synthesizer pads without loading a single bitmap texture. Instead of floating cards above a contrasting background with one dark drop shadow, neumorphic elements emerge seamlessly from the exact same surface color using paired opposing shadows: one darkened shadow cast away from the light source and one brightened highlight catching the lit corner.

Calculating those matched light and dark shadow hex stops by hand is tedious, especially when switching between pale cool gray, warm paper beige, or deep matte charcoal surfaces. Push contrast too faint and controls vanish; pick pure black or pure white shadows and the illusion turns harsh and dirty.

This free neumorphism CSS generator automatically derives harmonized shadow and highlight shades directly from your chosen surface color across all four physical profiles—Flat, Concave, Convex, and Pressed (inset)—plus four directional light corners, live distance/blur/intensity sliders, curated UINice design system surfaces, and instant CSS or Tailwind export.

How to sculpt and export Soft UI CSS or Tailwind in four steps

  1. Pick a muted mid-light or matte dark surface from the UINice design system presets, or click Surface Base Color to enter your exact page background hex (remember: neumorphism works poorly on pure #ffffff or pure #000000 because highlights or shadows clip).
  2. Choose one of the four physical Surface Shapes: Flat (extruded plateau), Concave (scooped inward), Convex (pillowed outward), or Pressed (debossed inset active state).
  3. Select your Light Source Corner (TL, TR, BL, or BR) so every control across your interface shares one consistent directional studio lamp, then tune Shadow Distance, Blur, Intensity, and Corner Radius.
  4. Switch between CSS and Tailwind output formats and click Copy Neumorphism CSS to drop the ready-made rules straight into your button, toggle, or audio widget.

Understanding the four neumorphic shapes and when to use each

Pairing matching extruded and inset states lets users feel a real tactile click when toggling controls:

  • Flat: Uniform base fill framed by opposite outer shadows—ideal for calm dashboard stat tiles, clock faces, and raised card containers.
  • Concave: Adds a subtle directional gradient darker near the light source and lighter opposite it, creating a gentle thumb-friendly dimple suited for dials and recessed buttons.
  • Convex: Reverses the gradient direction so the surface catches light like a soft pillow—perfect for primary tactile buttons and floating media play controls.
  • Pressed (Inset): Moves both shadows inside the element via CSS inset, delivering an unmistakable physical 'clicked down' state for active tabs, toggle switches, and text inputs.

Accessibility and contrast rules so Soft UI stays usable in production

Classic neumorphism drew valid accessibility criticism when designers used low-contrast monochrome surfaces for every single link and form field. You can enjoy tactile Soft UI craft without harming usability by following three simple guardrails: first, keep text labels, icons, and active indicator dots high-contrast (>= 4.5:1 against the base surface); second, add a crisp 1px subtle border or visible focus-visible ring for keyboard navigation; and third, reserve extruded tiles for interactive widgets like smart-home switches, calculators, music players, audio mixers, and hardware dashboards rather than dense text tables.

Avoid pure white (#ffffff) or pure black (#000000) base backgrounds—choose slightly off-white (#e4e9f0, #ebe8e1), muted sage (#dfe7e4), or soft slate charcoal (#262a33) so both the bright highlight shadow and darker cast shadow have clear dynamic range to sculpt the edge.

When designing toggle buttons or segmented switches, pairing a subtle brand accent dot or active icon tint alongside the switch from Flat/Convex to Pressed (inset) communicates state instantly to both sighted and low-vision visitors alike.

100% browser-local shadow calculation with zero dependencies

Every luminance shift, directional concave or convex gradient angle, twin opposing shadow offset, and CSS or Tailwind class string runs instantaneously inside your browser with zero external requests, zero sign-up walls, and zero licensing fees for personal, client, or commercial web projects.

Testing both soft light off-white tiles and matte dark slate surfaces side by side takes seconds—ensuring your raised buttons, recessed inputs, and toggle controls look crisp on standard monitors and high-contrast OLED mobile displays alike.

Balance tactile widgets with a disciplined UINice design system

Soft UI components feel intentional and refined when grounded inside clean layout grids, restrained accent colors, and accessible typography. Click the UINice design system link below the surface presets to inspect complete real-world systems built with consistent spacing, neutral scales, and clear contrast.

Pairing subtle extruded controls for interactive widgets with clean high-contrast typography and crisp active accent dots gives your web app tactile hardware charm without ever sacrificing clarity for keyboard users or everyday desktop and mobile visitors. Export both resting and pressed inset rules in seconds to build cohesive tactile toggles and dials across light or matte dark themes.

Questions

Why does neumorphism look broken on pure #ffffff white or #000000 black?

Neumorphism needs both a brighter highlight shadow and a darker cast shadow relative to the base surface. Pure white cannot get brighter and pure black cannot get darker, so choose an off-white like #e2e8f0 or charcoal like #252a34.

How do I create a tactile pressed button effect on click?

Use Flat or Convex for the resting button state and swap box-shadow to the Pressed (inset) output on :active or aria-pressed='true' while keeping the same surface color and radius.

Should every element on a page share the same Light Source Corner?

Yes. Keeping one consistent light angle (most interfaces use Top-Left TL) makes the entire screen feel lit by one physical studio lamp rather than conflicting shadows.

How do I keep neumorphic buttons accessible for keyboard and low-vision users?

Ensure button text and icons meet at least 4.5:1 contrast against the base surface, pair active states with an accent color indicator, and always keep a clear :focus-visible outline.

Can I paste the Tailwind output directly into Tailwind CSS v3 or v4?

Yes. The Tailwind snippet encodes both the directional background and dual box-shadow into valid arbitrary utility classes that work immediately without plugins.

Related tools

CSS gradient generatorLinear, radial & conic for CSS & TailwindMesh gradient generatorMulti-point radial mesh to CSS, SVG & PNGCSS box shadow generatorSmooth 1–6 layer elevation to CSS & TailwindCSS button generator5 design system button styles to CSS & TailwindGrain gradient generatorInline SVG noise gradient CSS & 1600×900 PNGGlassmorphism generatorFrosted backdrop-filter CSS & Tailwind

Drop by · good things our friends made

Kubai Iconsicons.kubai.design
Open-source icons that move: folders open, bells ring
UINice
How the chart worksSubmit a siteBadgePricingTermsPrivacy PolicyRefund PolicyRequest removal
Every site is reviewed by hand. © 2026