Metric tile

A metric tile shows one number in the metric role with its name, a status lozenge and quiet lines for the target and sample size.

Previewapps/web/components/ui/KbMetricTile.tsx

With a status

Capture upload success rate
99.6%
On target
Target 99% or more
412 captures
Show code
<KbMetricTile label="Capture upload success rate" value="99.6%" status={<KbLozenge tone="teal">On target</KbLozenge>} meta={["Target 99% or more", "412 captures"]} />