App UI kits › Pace › Heart rate

Heart rate

A marker rides the zone arc on a spring while a live ECG trace writes itself beat by beat at your rate.

Heart rate is a screen from Pace, an app ui kit with 10 screens: A running app where every run draws your city. Price: $5 for the whole pack.

Built with: zone gauge, live ECG, coach line.

Code: React and Next.js (TypeScript), Vue 3, plain HTML/CSS/JS, Tailwind CSS v4 and Motion (motion.dev). No npm packages needed. Keyboard accessible, with a reduced-motion version, in dark and light.

Heart rate props

PropTypeDefaultDescription
maxnumber190Your maximum heart rate. Default 190.
autoplaybooleanShowcase mode (the rate always moves; this also cycles the zone details).

Methods on the ref

Use it in React

import PaceHeart from './PaceHeart';

<PaceHeart />

The Vue, HTML, Next.js, Tailwind and Motion versions take the same options.

More in Pace

Good for: Fitness app UI, Running app UI.