Skip to content

Stat tile

Pro

One number and how it moved: what it is, the figure, its change against something, and a small trend under the number. Not an M3 component (@windmorph/react-pro).

import { StatTile, Sparkline } from '@windmorph/react-pro/charts';

Part of Windmorph Pro, paid components on the free core, not on sale yet. See the Pro guide for what it includes and to register interest.

Playground

Orders4,218Up 12% on last week, better

Code

import { StatTile } from '@windmorph/react-pro/charts'; <StatTile  label="Orders"  value={4218}  trend={[212, 240, 231, 260, 298, 287, 310, 342, 330, 365, 401, 420]}  change={{ direction: 'up', tone: 'good', value: '12%', context: 'on last week' }}/>

Examples

A row of tiles on a dashboard

A large compact figure, a unit, and no value yet

A new period, and a trend on its own