DevTools Pro

The ultimate developer toolkit designed to boost your productivity and workflow.

Version 2.1.0

Legal & Resources

DocumentationPrivacy PolicyTerms of Service

Contact & Support

Contact Us

Support Development

If you find these tools useful, consider supporting us.

Buy Me A CoffeeBuy Me A Coffee

Made with ❤️ by developers worldwide

© 2026 DevTools Pro. All rights reserved.

Neumorphism Generator

Create Stunning Neumorphic Designs with CSS

A powerful tool for creating neumorphic (soft UI) designs with real-time preview, customizable shadow controls, and multi-format code export. Perfect for buttons, cards, and modern interface elements.

CSSSCSSTailwindReact/Vue

Table of Contents

1. Getting Started2. Interface Overview3. Control Panel4. Style Types5. Shadow Settings6. Color Options7. Live Preview8. Code Output9. Presets Management10. Export Options11. Sharing12. Generated Code Reference

Getting Started

The Neumorphism Generator is a powerful tool for creating neumorphic (soft UI) designs. Neumorphism is a design trend that combines flat design with subtle shadows to create a sense of depth and realism. This tool makes it easy to create, customize, and export neumorphic elements for your web projects.

Quick Start Steps:

  1. Adjust dimensions using the width and height sliders in the Control Panel
  2. Choose a style type (Flat, Inset, Outset, or Pressed)
  3. Fine-tune shadow distance, blur, and spread for the desired effect
  4. Customize colors for background, light shadow, and dark shadow
  5. View your design in the Live Preview panel
  6. Copy or export the generated code in your preferred format

Tip: Start with one of the built-in presets like "Soft Button" or "Card" to get quick results, then customize to match your design.

Interface Overview

The tool features a responsive three-column layout that adapts to different screen sizes:

Control Panel

Left panel with all customization options including dimensions, style type, shadow settings, colors, and advanced options.

Live Preview

Center panel showing real-time preview of your neumorphic element with Element and Context viewing modes.

Code Output

Right panel with generated code in multiple formats (CSS, SCSS, Tailwind, React, Vue) plus export options.

Control Panel

The Control Panel provides comprehensive customization options for your neumorphic element. Switch between the Controls tab for manual adjustments and the Presets tab for pre-made designs.

Dimensions

Adjust width (50-400px), height (50-400px), and border radius (0-50px) to size your element. Use the slider or type directly into the input field.

Style Type

Choose from Flat, Inset, Outset, or Pressed styles. Each creates a different depth effect using shadow combinations.

Shadow Settings

Control shadow distance (1-30px), blur (1-50px), spread (-10 to +10), and intensity (0.1-1.0) for fine-tuned effects.

Colors

Set the background color, light shadow color, and dark shadow color. Use the color picker with preset swatches or enter hex values directly.

Advanced Options:

  • Gradient Background: Enable to use a gradient instead of solid color, with adjustable angle (0-360°)
  • Border: Add optional border with customizable width (0-10px) and color
  • Inner Shadow: Add an additional inner shadow for more depth, with distance and blur controls

Note: Use the Reset button to restore default settings at any time.

Style Types

The tool supports four neumorphic style types, each creating a unique visual effect:

Flat

The standard neumorphic style with both light and dark shadows creating a raised appearance. Best for buttons and cards that should look like they're floating above the surface.

Inset

Creates a depressed appearance with shadows pointing inward. Ideal for input fields, search bars, or areas that should look carved into the surface.

Outset

An enhanced version of flat with stronger, more pronounced shadows. Creates a highly visible 3D effect for important interactive elements.

Pressed

Simulates a pressed or active state with reduced inner shadows. Perfect for implementing active/pressed states in buttons.

Shadow Settings

Neumorphism relies heavily on shadow manipulation to create depth. Understanding these settings helps you achieve the perfect effect:

Distance (1-30px)

Controls how far the shadows are offset from the element. Larger values create more dramatic depth, while smaller values create a subtler effect.

Blur (1-50px)

Determines the softness of the shadow edges. Higher blur values create softer, more diffused shadows, while lower values create sharper, more defined shadows.

Spread (-10 to +10px)

Controls how much the shadow expands or contracts. Positive values make shadows larger, negative values make them smaller.

Intensity (0.1-1.0)

Adjusts the opacity of the shadow colors. Lower intensity creates subtler shadows, while higher intensity creates more contrast.

Color Options

Proper color selection is crucial for effective neumorphic designs. The tool provides comprehensive color controls:

Background Color

The main color of your element. For best results, use a slightly off-white or light gray color. The default is #e0e7ff (light indigo).

Light Shadow Color

The highlight shadow (typically white or very light). Creates the illusion of light coming from the top-left. Default is #ffffff.

Dark Shadow Color

The shadow color (typically a darker shade of the background). Creates the illusion of shadow on the bottom-right. Default is #a3b1c6.

Gradient Colors

When gradient mode is enabled, you can set two colors with an adjustable angle (0-360°) for directional gradient effects.

Pro Tip: For authentic neumorphism, ensure your light and dark shadow colors are lighter/darker versions of your background color. The tool includes 80 preset colors to help you choose harmonious combinations.

Live Preview

The Live Preview panel shows your neumorphic element in real-time as you adjust settings. It offers two viewing modes:

Element Mode

Shows your neumorphic element in isolation against a neutral background. Perfect for focusing on the element's appearance and fine-tuning shadow effects.

Context Mode

Shows your element within a mock UI context with other neumorphic components. Helps you visualize how your element will look in a real interface.

Preview Features:

  • Animation: Click the refresh icon to animate the element and see hover/tap effects
  • Properties Panel: Shows current dimension and shadow values at a glance
  • Hover Effects: Elements respond to hover with a subtle scale animation

Code Output

The Code Output panel generates production-ready code in multiple formats. Switch between tabs to view different output types:

CSS

Standard CSS with class selector. Ready to use in any web project with a simple class="neumorphic-element" assignment.

SCSS

SCSS with hover and active states. Includes nested selectors for clean, maintainable styling.

Tailwind CSS

Tailwind-compatible output with custom neuro-{style} utility classes. Includes size and border radius approximations.

React

React component with inline styles. Includes hover animation and click handler. Ready to import and use in React applications.

Vue

Vue component with scoped styles. Includes template, script, and style sections for Vue 3 projects.

Code Actions:

  • Copy: Click to copy the current code to clipboard
  • Download: Save code as a file with appropriate extension
  • Share: Use native share dialog to share code
  • Stats: View line count, character count, and file size

Presets Management

Save and load your favorite configurations using the Presets feature. Presets are stored locally in your browser and persist across sessions.

Save Preset

Click the + button to save your current configuration. Enter a name and your preset will be added to the list.

Load Preset

Click any preset to instantly apply its configuration. Each preset shows a mini preview and configuration summary.

Built-in Presets:

  • Soft Button: Optimized for button-sized elements (160×60px)
  • Card: Ideal for card components (300×200px)
  • Pressed: Pre-configured pressed state for toggle buttons

Export Presets

Download all your presets as a JSON file for backup or to share with others.

Import Presets

Paste JSON data to import presets. Useful for restoring backups or using presets shared by others.

Export Options

Export your neumorphic design in various formats for use in your projects:

PNG Export

High-resolution PNG image at 2x pixel ratio. Perfect for documentation, presentations, or as design assets.

JPEG Export

JPEG format with high quality settings. Good for web use when file size is a concern.

SVG Export

Scalable vector graphics format. Ideal for icons, illustrations, or designs that need to scale to any size.

Code Bundle

Download all code formats (CSS, SCSS, Tailwind) in a single bundled file with configuration JSON.

Note: Image exports capture the preview element exactly as shown, including any border settings. For transparent backgrounds, use SVG export.

Sharing

Share your neumorphic designs with others using the built-in sharing features:

Share Link

Generate a URL that encodes your current configuration. Anyone with the link will see your exact design settings.

QR Code

Generate a QR code for your share link. Perfect for quickly sharing designs on mobile devices.

Email

Open your default email client with a pre-filled message including the share link.

Twitter

Share on Twitter with a pre-written tweet including your design link.

Generated Code Reference

Here's an example of the generated CSS output for a typical neumorphic element:

CSS Output Example:

.neumorphic-element {
  width: 200px;
  height: 200px;
  border-radius: 20px;
  background: #e0e7ff;
  box-shadow: 8px 8px 16px 0px rgba(163, 177, 198, 0.3),
              -8px -8px 16px 0px rgba(255, 255, 255, 0.3);
  border: none;
}

React Component Example:

const NeumorphicElement = () => {
  const styles = {
    width: '200px',
    height: '200px',
    borderRadius: '20px',
    background: '#e0e7ff',
    boxShadow: '8px 8px 16px 0px rgba(163, 177, 198, 0.3), -8px -8px 16px 0px rgba(255, 255, 255, 0.3)',
  };

  return (
    <div style={styles} className="flex items-center justify-center cursor-pointer">
      <span className="text-sm font-medium">Neumorphic</span>
    </div>
  );
};

Learn More: Neumorphism works best with light backgrounds and subtle shadow differences. Experiment with the intensity and blur values to find the perfect balance for your design.

Related Tools

Box Shadow Generator

Create custom box shadows with multiple layers and effects

Gradient Generator

Generate beautiful CSS gradients with live preview

CSS Animations Generator

Create smooth CSS animations and transitions

Color Palette

Generate and explore color palettes for your designs

← Back to DocumentationOpen Tool