Torque Dial

Torque Dial: A rotational control dial with realistic physical angular momentum, velocity tracking, and exponential friction deceleration. Free MIT React & Next.js source with Motion and Tailwind CSS, live preview, CLI install and docs.

Install Torque Dial

npx motion-ui-skill add torque-dial

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

Dependencies

  • clsx
  • motion
  • react
  • tailwind-merge

Source files

Torque Dial

A rotational control dial with realistic physical angular momentum, velocity tracking, and exponential friction deceleration.

Install

npx motion-ui-skill add torque-dial

Dependencies

  • clsx
  • motion
  • react
  • tailwind-merge

Usage

"use client";

import { TorqueDial as TorqueDial } from "@/components/craft/torque-dial";

export function Example() {
  return (
    <div className="p-6">
      <TorqueDial />
    </div>
  );
}

Browse this category