Skip to content

Stat

Key metrics with labels and trend deltas, alone or in a joined row.

Dashboard row

Revenue€45,231 20.1% increase
Subscribers2,350 18%
Churn3.2% 0.4 pts
Active now573+201 since last hour

Installation

Everything ships in one stylesheet. There is nothing to import per component.

<link rel="stylesheet" href="https://mian.ro/dist/mian.css">

Prefer to own the files? /r/stat.json is a registry item with this component's CSS and example markup, ready to copy into your project with any tool that reads the open registry-item format.

Class reference

Class / attributeDescription
mn-statsJoined responsive row.
mn-statOne metric.
mn-stat-label · mn-stat-value · mn-stat-deltaParts. Add mn-up or mn-down to the delta.

Accessibility

  • Deltas use both colour and an arrow; add visually hidden text such as "increase" if the arrow is decorative.
Choose a noodle

Minimal

Flat

Pixel

Linear

Thin

Glass

Textured

Bold

Elegant

Rounded

On this page