Component

Neumorphism Soft Button

Soft UI neumorphism buttons with subtle shadows

  • Component
  • Tailwind
  • MIT

Preview

Live component

Interactive preview
Open preview
9:41 100%
devsnips.site/library/tailwind/components/buttons/neumorphism-button/soft/
fluid · no fixed width 100%
No dependencies Production-ready

Install

Add to your project

terminal
npx devsnips add Tailwind/Components/Buttons/neumorphism-button/soft
registry path: Tailwind/Components/Buttons/neumorphism-button/soft

Source

Implementation

code.html
<!-- Neumorphism Soft Button Styles -->
<style>
  .neu-soft {
    background: #e0e5ec;
    box-shadow: 8px 8px 16px #b8bec5, -8px -8px 16px #ffffff;
  }
  .neu-soft:hover {
    box-shadow: 4px 4px 8px #b8bec5, -4px -4px 8px #ffffff;
  }
</style>

<!-- Neumorphism Soft Button - Default -->
<button class="px-8 py-3 neu-soft text-gray-600 font-semibold rounded-xl focus:outline-none focus:ring-2 focus:ring-gray-400 transition-all">
  Neumorphism
</button>

<!-- Neumorphism Soft Button - Pill -->
<button class="px-8 py-3 neu-soft text-gray-600 font-semibold rounded-full focus:outline-none focus:ring-2 focus:ring-gray-400 transition-all">
  Neumorphism Pill
</button>

<!-- Neumorphism Soft Button - Disabled -->
<button class="px-8 py-3 neu-soft text-gray-600 font-semibold rounded-xl focus:outline-none focus:ring-2 focus:ring-gray-400 transition-all" disabled>
  Disabled
</button>
25 lines UTF-8 · LF · Spaces: 2
DevSnips AI ready Claude · Cursor · Windsurf

Agent skill & Model Context Protocol

Pass this component straight into your AI workflow. DevSnips exposes each resource as a structured, addressable registry entry, so your agent installs the real files instead of approximating them.

devsnips://components/buttons/neumorphism-button/soft
Prompt instruction
I want to use this DevSnips resource in production:

Page:
https://devsnips.site/library/tailwind/components/buttons/neumorphism-button/soft/

Install: npx devsnips add
Tailwind/Components/Buttons/neumorphism-button/soft

This is the Neumorphism Soft Button — Soft UI neumorphism buttons with subtle shadows

Use this DevSnips resource as the starting point for my project.
Adapt it to my project's stack and conventions, fix any issues,
and make it production-ready while preserving its intended design
and behavior.

Paste into ChatGPT, Claude or your agent — it already carries the page URL and the exact install path.

Resource URI
devsnips://components/buttons/neumorphism-button/soft