Measured entry

neu-stat-card

statsneumorphismfirst party

A compact neumorphic stats card that renders a label, value, comparison badge, and optional icon. It ships as a default-exported React JSX component with configurable props and no third-party package imports, but its appearance depends on Tailwind utility classes, including arbitrary colors, radii, shadows, and tracking.

Specimen
Harness screenshot of neu-stat-card at 375 pixels wide
Harness screenshot at 375 pixels wide. No horizontal overflow recorded.
Harness screenshot of neu-stat-card at 768 pixels wide
Harness screenshot at 768 pixels wide. No horizontal overflow recorded.
Harness screenshot of neu-stat-card 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-stat-card
BuildOK
MountOK
Console errors0
Uncaught page errors0
Horizontal overflowclean at 375, 768, 1440
Axe critical0
Axe serious1
Axe moderate0
Axe minor0
Gzip marginal17.9 KB (83.3 KB build, 65.4 KB baseline)
Bare modeOK
Provider requiredNO
Demo usedwritten from the component source API

Verdict

A focused, dependency-light card that builds and mounts cleanly across the tested layouts. Its main drawback is real: the default muted text fails contrast checks, so adjust the palette before production use. Best suited to dashboards already committed to a soft neumorphic visual language.

Use it if

  • You need a self-contained metric card for a light neumorphic dashboard.
  • Your React project already processes Tailwind arbitrary-value utilities.
  • You want simple props for the label, value, trend direction, change text, and optional icon.

Skip it if

  • Your design system does not use neumorphism or the component's fixed pale surface palette.
  • You need accessible default contrast without revising the muted text colors.
  • You need richer trend semantics, localization, or built-in formatting for values and comparison periods.
  • Your project does not use Tailwind and you do not want to translate utility classes into CSS.

Install

Installation record for neu-stat-card
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. In a non-shadcn React project, add Tailwind CSS with arbitrary utility support and ensure the component file is included in content scanning. If Tailwind is not available, recreate the utility styling in local CSS. No provider or extra component package is required.

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 stats pattern, ordered by what they measured: mounts first, then clean axe scans, then bare-mode passes, then the smaller bundle.