Measured entry
clay-stat-card
statsclaymorphismfirst party
A compact React stat card that ships as a default-exported JSX component with props for the label, value, change, icon, and extra classes. Its claymorphism look is built entirely from Tailwind utility classes, including arbitrary colors, radii, and shadows. It has no package dependencies or provider requirement.



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 | 18.3 KB (83.7 KB build, 65.4 KB baseline) |
| Bare mode | OK |
| Provider required | NO |
| Demo used | written from the component source API |
Verdict
A sound, portable choice for a playful stat tile: it builds and mounts cleanly without a provider or component-library scaffold. Adopt it when the clay styling fits, but revise the low-contrast text color and generalize the hard-coded monthly suffix before production use.
Use it if
- You need a self-contained KPI tile for a playful dashboard or customer-facing summary.
- Your project already uses Tailwind and permits arbitrary utility values.
- A fixed monthly change label matches the metric you plan to show.
Skip it if
- Your accessibility bar requires the supplied palette to pass text contrast checks without modification.
- Your design system favors restrained surfaces or token-based colors and shadows.
- You need configurable comparison periods, trend semantics, or richer metric context.
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. A non-shadcn project needs React and Tailwind configured to scan this component and emit its arbitrary utility classes. No provider or extra package is required. Copy the JSX into the project, then adjust the palette for compliant contrast and map the props from your data source.
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