Clock Overview

Clock is an intuitive time-selection component featuring a classic clock-face interface. It lets users pick hours and minutes visually by clicking or tapping on a clock dial, offering a more natural, analog-style experience compared to a dropdown time picker.

Built with accessibility and performance in mind, Clock handles complex time format conversions, validation, and user interactions while maintaining a simple and intuitive API for developers.

Basic Implementation

The simplest setup for quick time selection with sensible defaults:

Key Features

Format Flexibility

Seamlessly switch between different time formats based on user preferences or regional requirements.

Hour Selection (12-Hour)

  • Pick hours visually on a classic 12-hour clock face
  • Includes AM/PM indicator with showAMPM prop
  • Optimized for mouse and touch input — ideal for mobile devices

Minute Selection

  • Choose minutes by tapping or dragging on the dial
  • Smooth visual feedback while interacting with the clock face
  • No seconds selection — streamlined for faster time picking

Smart Value Handling

Intelligent input processing and output formatting for seamless integration with any application architecture.

Built-in Validation

Real-time validation with comprehensive error handling and user feedback mechanisms.