
Deploys this week
64
18% vs last week
Median lead time
3h 12m
Change failure rate
1.6%
This week's bars rise over last week's faint ones while the total counts up, then the busiest day gets its own figure and two quiet health metrics sit below.
The import and the props worth knowing about, in one place.
import { Stats20 } from "@/components/beste/piece/stats20";
<Stats20
label="Deploys this week"
value={64}
delta="18% vs last week"
days={[
{
"label": "Mon",
"value": 9,
"previous": 7
},
{
"label": "Tue",
"value": 12,
"previous": 9
},
{
"label": "Wed",
"value": 10,
"previous": 8
},
{
"label": "Thu",
"value": 14,
"previous": 10
},
{
"label": "Fri",
"value": 11,
"previous": 9
},
{
"label": "Sat",
"value": 3,
"previous": 5
},
{
"label": "Sun",
"value": 5,
"previous": 6
}
]}
highlight={3}
unit="deploys"
stats={[
{
"label": "Median lead time",
"value": "3h 12m"
},
{
"label": "Change failure rate",
"value": "1.6%"
}
]}
framed={true}
stepMs={900}
/>