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.dev/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

AI-ready

Available to your agent.

This component is reachable through the DevSnips CLI, MCP server and Skills integrations — one registry, one resource path.

Resource path

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

Continue browsing

View all