Tailwind Class Sorter
Sort Tailwind classes and detect conflicting utilities with a winner explanation.
OpenGenerate the paired highlight and shadow that make soft UI elements look pressed out of the page.
Choose light or dark and a base color that matches the page.
Drag the element size and how rounded its corners are.
Raise distance and intensity for a deeper extruded look.
Copy both shadow layers or download neu.css.
A designer hands over a mockup of a smart home dashboard where every control looks molded from the background. The effect comes from two shadows in opposite directions, one lighter and one darker than the surface. Set the base color and distance here and the tool works out both shades.
Controls cover element size (80 to 220 px), border radius (4 to 48 px), shadow distance (2 to 24 px) and an intensity multiplier (1 to 20). Choose a light or dark theme and a background color with the picker. The tool mixes a highlight color toward white and a shadow color toward black from your base, then writes a .neu rule with width, height, the background, the radius and a box-shadow made of two layers: a dark one offset down and right, and a light one offset up and left. Blur is set to twice the offset, which keeps the edges soft.
The element background must match the page background exactly, or the illusion breaks. That is also the main weakness of this style: there is very little contrast between controls and the surface, which makes buttons hard to spot for people with low vision. Use it for decorative cards or pair it with clear icons and labels. Neumorphism hides boundaries, so check text colors with the color contrast tool. For a regular single shadow, the CSS box shadow tool is more flexible, and the glass panel generator covers the frosted alternative.
Keyboard shortcut
Answers for this tool. For site-wide help, open the FAQ hub.
Not directly. For a pressed state, copy the shadow and add the inset keyword to both layers, which flips the effect inward.
The element background has to be the same color as its container. On white or very dark backgrounds the light or dark shadow has no room to show, so pick a mid-tone base.
The final offset is the distance multiplied by intensity divided by 10, and the blur is twice that offset. Intensity 10 leaves the distance unchanged.