Measured entry

hyperui-app-stats-3

statseditorial

A compact pair of profit summary cards showing a value beside an increase or decrease badge. It ships as static HTML styled entirely with Tailwind utility classes, uses inline SVG trend arrows, and has no JavaScript or package dependency.

Specimen
Harness screenshot of hyperui-app-stats-3 at 375 pixels wide
Harness screenshot at 375 pixels wide. No horizontal overflow recorded.
Harness screenshot of hyperui-app-stats-3 at 768 pixels wide
Harness screenshot at 768 pixels wide. No horizontal overflow recorded.
Harness screenshot of hyperui-app-stats-3 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 hyperui-app-stats-3
BuildOK
MountOK
Console errors0
Uncaught page errors0
Horizontal overflowclean at 375, 768, 1440
Axe critical0
Axe serious1
Axe moderate0
Axe minor0
Gzip marginal17.5 KB (82.9 KB build, 65.4 KB baseline)
Bare modeOK
Provider requiredNO
Demo usednone

Verdict

A tidy, dependency-light KPI treatment that mounts cleanly and adapts without overflow. The structure is easy to reuse, but the detected text contrast issue needs correction before production, and the component offers no context beyond a directional change badge.

Use it if

  • You need a small dashboard KPI card with an immediately visible trend direction.
  • Your project already uses Tailwind and can bind real values into plain markup.
  • You want increase and decrease variants that work without client-side behavior.

Skip it if

  • You need historical context, a sparkline, comparison periods, or drill-down behavior.
  • You cannot revise the muted label and colored badge text to meet your contrast requirements.
  • Your design system avoids utility-heavy markup or requires a packaged framework component.

Install

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

In a non-shadcn project, add Tailwind CSS and ensure its content scan includes this markup. No shadcn primitives, provider, JavaScript library, or icon package is required; the arrows are inline SVG. Adjust the muted and badge colors for accessible contrast.

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.

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.