Measured entry

neu-button

buttonneumorphismfirst party

A standalone React button that renders a native button with a fixed soft-gray neumorphic treatment, including raised, pressed, hover, focus, and disabled states. It ships as one JSX component, uses Tailwind utility classes with arbitrary values, accepts normal button props, and has no extra runtime package dependencies.

Specimen
Harness screenshot of neu-button at 375 pixels wide
Harness screenshot at 375 pixels wide. No horizontal overflow recorded.
Harness screenshot of neu-button at 768 pixels wide
Harness screenshot at 768 pixels wide. No horizontal overflow recorded.
Harness screenshot of neu-button at 1440 pixels wide
Harness screenshot at 1440 pixels wide. No horizontal overflow recorded.

Measured

Every value below was written by the harness on the run that produced the frames above. None of it is derived from the prose.

Harness measurements recorded for neu-button
BuildOK
MountOK
Console errors0
Uncaught page errors0
Horizontal overflowclean at 375, 768, 1440
Axe critical0
Axe serious0
Axe moderate0
Axe minor0
Gzip marginal17.8 KB (83.2 KB build, 65.4 KB baseline)
Bare modeOK
Provider requiredNO
Demo usedwritten from the component source API

Verdict

A sound, self-contained choice for a light neumorphic interface. Native semantics and complete interaction states make it practical, but the hard-coded surface colors and shadows tie it closely to one visual context and will need refactoring for a themed design system.

Use it if

  • You need a compact neumorphic action that works with native button semantics.
  • Your interface already uses the same soft-gray surface and light-source illusion.
  • You want hover, keyboard focus, pressed, and disabled styling in a single component.

Skip it if

  • Your product uses a flat, high-contrast, or dark visual system where the fixed palette would feel out of place.
  • You need theme tokens or automatic color-mode support instead of hard-coded colors and shadows.
  • Your build does not support Tailwind arbitrary-value utilities and you do not want to translate the styles to CSS.

Install

Installation record for neu-button
Declared dependenciesnone declared
Missing on installnone
Bare installbuilds and mounts without the shadcn-style helpers
Providerno provider required in the harness

First-party component from the sir-originals set. A non-shadcn project needs React with JSX compilation and Tailwind configured to scan this component. If Tailwind is unavailable, reproduce the utility rules in regular CSS. Place the button on a matching light-gray surface so its paired shadows read correctly.

Source and credit

This page is a review, not a copy. The component source lives with its author and this site does not republish it. Read the license before you use anything.

Author repository

mrkeyoor/sir-originals
License
MIT
Record published
2026-08-13

Alternatives

Other published entries for the button pattern, ordered by what they measured: mounts first, then clean axe scans, then bare-mode passes, then the smaller bundle.