Running recap with total distance and time at the top and a per-kilometer pace and elevation table.
Requires shadcn/ui initialized. Run npx shadcn@latest init if you haven't.
import { Health15 } from "@/components/beste/piece/health15";
<Health15
distance="10.2 km"
totalTime="49:18"
avgPace="4:49 / km"
label="Run"
splits={[
{
"km": 1,
"pace": "4:38",
"elevation": "+ 12 m"
},
{
"km": 2,
"pace": "4:52",
"elevation": "- 4 m"
},
{
"km": 3,
"pace": "4:41",
"elevation": "+ 8 m"
}
]}
tone="neutral"
/>