Measured entry

hyperui-app-stats-1

statseditorial

A paired profit-stat card showing current and previous values with positive or negative trend badges. It ships as raw HTML styled with Tailwind CSS utilities and uses inline SVG icons, with no component runtime, provider, or third-party package.

Specimen
Harness screenshot of hyperui-app-stats-1 at 375 pixels wide
Harness screenshot at 375 pixels wide. No horizontal overflow recorded.
Harness screenshot of hyperui-app-stats-1 at 768 pixels wide
Harness screenshot at 768 pixels wide. No horizontal overflow recorded.
Harness screenshot of hyperui-app-stats-1 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-1
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 clean, dependency-light starting point for simple KPI summaries. It mounts and responds without overflow, but the muted supporting text needs a contrast fix before production, and the repeated static markup benefits from being wrapped in a reusable data-driven component.

Use it if

  • You need a compact dashboard tile that compares a current value with its prior value.
  • Your interface already uses Tailwind CSS and can map the static sample copy to live data.
  • You want positive and negative trend states with screen-reader labels built into the markup.

Skip it if

  • You need an interactive chart, drill-down behavior, loading states, or data fetching.
  • Your design system cannot accept direct Tailwind utility markup or inline SVG icons.
  • You must ship without accessibility remediation, since the muted text colors fail contrast checks.

Install

Installation record for hyperui-app-stats-1
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 the referenced utility classes are included in your build. Copy the semantic HTML and inline SVG markup, then replace the sample labels and values with your data. No shadcn provider or extra package 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.