Duration Picker

Duration Picker: A gooey, spring-animated picker for entering a duration in hours and minutes. Free MIT React & Next.js source with Motion and Tailwind CSS, live preview, CLI install and docs.

Install Duration Picker

npx motion-ui-skill add duration-picker

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

Dependencies

  • @radix-ui/react-slot
  • clsx
  • figma-squircle
  • flubber
  • motion
  • react
  • react-use-measure
  • tailwind-merge

Source files

Duration Picker

A gooey, spring-animated picker for entering a duration in hours and minutes.

Install

npx motion-ui-skill add duration-picker

Dependencies

  • @radix-ui/react-slot
  • clsx
  • figma-squircle
  • flubber
  • motion
  • react
  • react-use-measure
  • tailwind-merge

Usage

"use client";

import DurationPicker from "@/components/craft/duration-picker";

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

Browse this category