RRigdesign system
Data display

Stat card

A single metric with its label and trend.

Examples

Trend uses an arrow and a sign, not only colour
Reach
2.4M▲ +12% vs last month
Approvals
86▼ −3% vs last month

Anatomy

Stat card anatomy
#PartDescriptionPresence
1LabelWhat is measuredRequired
2ValueLarge numberRequired
3TrendArrow, sign and textOptional

Specifications

Padding14px top and bottom · 16px left and right
WidthFixed standard width for grid alignment

Interaction

Keyboard
KeyResult
NoneStatic
Pointer and touch
TriggerResponse
HoverNone unless it links to a report

Accessibility

role · description list

1.3.1Info and Relationships1.4.1Use of Colour
Requirements
RequirementHow Rig meets it
Semantics<dl>: term is the label, definition is the value
TrendUse ▲ ▼ and a sign, not colour alone
UnitsAlways include them in text

Usage

Do and don’t
DoDon’t
State the period: vs last monthDo not show a trend as colour only