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.

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

Installation record for clay-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. 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-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.