Skip to content

Metric

A measurement with its unit, a meter against its limit and a status that pairs an icon with a word.

npx dtheo@latest add metric
Overshoot17.6%FailLimit 10 %
Settling time186msNear limitLimit 200 ms
Phase current31.2APassLimit 40 A
Winding temp.71.2°CPassLimit 90 °C
Steady-state error0.4%PassLimit 2 %

When to use

  • Acceptance checks for a test run
  • KPI rows on a dashboard
  • Values without a limit or comparison: a plain table row reads faster
  • More than 6 values in a row: use a Table

Accessibility

  • Passing values stay neutral; only warnings and failures use color, and always with a word.

Used in