A metric spins up on per-digit odometer wheels, each lagging the one to its left, and an accent rule draws once it lands
This is the format it was composed for. Switch above to see it lay itself out for another: same animation, re-arranged for the frame.
Everything below can be changed without touching the animation. Hand the list to an agent, or edit the values at the bottom of the component file.
The figure the ticker lands on. This is the shot. Pick the number the scene is about.
now: 1248930
Figure the wheels start on. 0 reads as 'counting up'; a nearby value reads as 'moving'.
now: 0
Set before the number, half size and quiet, a currency mark such as '$' or '€'.
now: $
Set after the number, half size and quiet: '%', 'x', 'M', 'ms'. Omit for a bare figure.
Fixed decimal places. Decimal wheels spin fastest, so 1–2 places buys a lot of motion.
now: 0
Thousands separator. 'thin-space' is the typographic choice for data; 'period' also flips the decimal mark to a comma for European locales.
now: comma
Small uppercase mono line above the number, what the metric is. Omit for a bare figure.
now: Annual recurring revenue
Quiet mono line under the number: the qualifier, period or source. One short sentence.
now: Up 41% year over year · rolling twelve months
Draw an accent rule the width of the number once the count settles.
now: true
Block alignment. 'left' composes the frame; 'center' suits 1:1 and 9:16.
now: left
Extra revolutions the fastest (right-hand) wheel makes. 0 rolls each wheel straight to its digit; 1+ gives every wheel at least one full turn, the right-hand ones more.
now: 2
Brand token id, one of the keys of BRANDS.
now: slate
No Tailwind, no CSS, no asset files. Inline styles only.
A big metric counting up like a mechanical odometer: every digit on its own vertical wheel inside a clipped column, the right-hand wheels spinning further than the left-hand ones and each wheel lagging a couple of frames behind the one before it. Currency prefix, thousands separators, tabular figures, a small quiet mono caption underneath, and a thin accent rule that draws itself once the count settles.