Heart Rate

Heart Rate: Heart rate in the DND face layout — mascot at the bottom, BPM above the dial, soft pulse on the ring. Free MIT React & Next.js source with Motion and Tailwind CSS, live preview, CLI install and docs.

Install Heart Rate

npx motion-ui-skill add heart-rate

Components install as source into your project. The interactive page also includes preview, code, documentation and install tabs.

Dependencies

  • clsx
  • lucide-react
  • react
  • tailwind-merge

Source files

Heart Rate

Heart rate in the DND face layout — mascot at the bottom, BPM above the dial, soft pulse on the ring.

Install

npx motion-ui-skill add heart-rate

Dependencies

  • clsx
  • lucide-react
  • react
  • tailwind-merge

Usage

"use client";

import { HeartRateWidget } from "@/components/widgets/heart-rate-widget";

export function HeartRateWidgetDemo() {
  return (
    <div className="flex items-center justify-center p-6">
      <HeartRateWidget />
    </div>
  );
}

API Reference

HeartRateWidget

Prop Type Default Required Description
className string — No Additional CSS classes

Browse this category