Skip to content
Feedback & Data

StatPulse

A live number tile. It counts up when first seen, and every new value counts over while a pulse of colour runs through the tile. Takes an optional change percent and small trend line.

Download
  • React
  • Tailwind CSS v4
  • motion

Props

NameTypeDefaultWhat it does
labelstring—What the number is, like "Active users".
valuenumber—Current number. Change it and the tile pulses.
prefixstring—Text before the number, like "$".
suffixstring—Text after the number, like "%" or "+".
decimalsnumber0Digits after the point.
localestring"en-US"Number format, like "en-IN" for lakh commas.
deltanumber—Change against the last period, in percent. Leave out to hide it.
trendnumber[]—Recent values, oldest first. Two or more draw the small line.
accentstring"#a78bfa"Pulse, live dot and line colour.
classNamestringglass tileReplaces the tile look.