Measured entry

hyperui-app-stats-2

statseditorial

A compact profit summary shown in matching increase and decrease states. It ships as static HTML composed with Tailwind utility classes and inline SVG icons. There is no component runtime, provider, external icon package, or JavaScript behavior; the displayed values are sample content that must be connected to application data.

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

Verdict

A practical starting point for a restrained KPI card, with responsive wrapping and no runtime dependency. It builds and mounts cleanly, but the supplied colors fail contrast checks, so revise the muted text and trend badge palette before production use.

Use it if

  • You need a small KPI card with an obvious positive or negative trend state.
  • Your interface already uses Tailwind utilities and can reuse the markup directly.
  • You want a display-only summary whose values and trend direction come from your own data.

Skip it if

  • You need trend history, comparison periods, or a chart rather than a single snapshot.
  • You require accessible color contrast without adjusting the muted label and trend badge colors.
  • You need built-in loading, error, formatting, or live-update behavior.

Install

Installation record for hyperui-app-stats-2
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 configured to scan this markup, or translate the utility classes into local CSS. Keep the inline SVGs or replace them with your icon system, then bind the labels, values, direction, and status styling to application data. No provider or component package is needed.

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.