Measured entry

hyperui-app-stats-5

statseditorial

A compact pair of profit summary cards showing positive and negative trends. It ships as a standalone HTML example styled with Tailwind utility classes, with inline SVG arrows and screen-reader trend labels. It has no package or provider dependency, though the document references the harness stylesheet and script.

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

Verdict

A clean, low-dependency starting point for simple metric cards, and it mounts in a bare project. Use it as markup rather than a finished component: wire in real values and fix the muted text contrast before production.

Use it if

  • You need a small dashboard metric treatment with an amount, direction, and comparison period.
  • Your project already uses Tailwind utilities or can translate a short utility-class template.
  • You want static markup that can be wired to your own data layer without adopting a component library.

Skip it if

  • Your accessibility gate requires the supplied colors to pass contrast checks without modification.
  • You need a reusable component API, data formatting, loading states, or interactive drill-down behavior.
  • Your design system does not use Tailwind and duplicating these utility styles would add maintenance overhead.

Install

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

A non-shadcn project needs Tailwind CSS configured for the utility classes, or equivalent local CSS for the layout, spacing, borders, colors, typography, and screen-reader-only label. No React package, icon package, provider, or shadcn setup 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.

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.