Neumorphic Soft UI
Neumorphic Soft UI: Universal soft-UI / neumorphic button — even light and dark shadows. Pass any children. Press flips to an inset look. Free MIT React & Next.js source with Motion and Tailwind CSS, live preview, CLI install and docs.
Install Neumorphic Soft UI
npx motion-ui-skill add soft-ui-buttonComponents install as source into your project. The interactive page also includes preview, code, documentation and install tabs.
Dependencies
clsxreacttailwind-merge
Source files
Neumorphic Soft UI
Universal soft-UI / neumorphic button — even light and dark shadows. Pass any children. Press flips to an inset look.
Install
npx motion-ui-skill add soft-ui-button
Dependencies
clsxreacttailwind-merge
Usage
"use client";
import { SoftUiButton } from "@/components/buttons/soft-ui-button";
export function SoftUiButtonDemo() {
return (
<div className="flex items-center justify-center p-6">
<SoftUiButton />
</div>
);
}
API Reference
SoftUiButton
| Prop | Type | Default | Required | Description |
|---|---|---|---|---|
className |
string |
— | No | Additional CSS classes |