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.



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.
| Build | OK |
|---|---|
| Mount | OK |
| Console errors | 0 |
| Uncaught page errors | 0 |
| Horizontal overflow | clean at 375, 768, 1440 |
| Axe critical | 0 |
| Axe serious | 1 |
| Axe moderate | 0 |
| Axe minor | 0 |
| Gzip marginal | 17.9 KB (83.3 KB build, 65.4 KB baseline) |
| Bare mode | OK |
| Provider required | NO |
| Demo used | written 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
| Declared dependencies | none declared |
|---|---|
| Missing on install | none |
| Bare install | builds and mounts without the shadcn-style helpers |
| Provider | no 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-originalsAlternatives
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.
- hyperui-stats-1unclassified
- Renders
- YES
- A11y
- 0
- Gzip
- 3.4KB
- Bare
- pass
- Prov
- NO
- hyperui-app-stats-4editorial
- Renders
- YES
- A11y
- 0
- Gzip
- 17.5KB
- Bare
- pass
- Prov
- NO
- tailark-mist-stats-2minimal-flat
- Renders
- YES
- A11y
- 0
- Gzip
- 17.6KB
- Bare
- pass
- Prov
- NO
- tailark-mist-stats-4minimal-flat
- Renders
- YES
- A11y
- 0
- Gzip
- 17.6KB
- Bare
- pass
- Prov
- NO
- tailark-veil-stats-1minimal-flat
- Renders
- YES
- A11y
- 0
- Gzip
- 17.6KB
- Bare
- pass
- Prov
- NO
- hyperui-stats-2editorial
- Renders
- YES
- A11y
- 0
- Gzip
- 17.8KB
- Bare
- pass
- Prov
- NO