time-input
1.6
Score

react time picker component

What is time-input?

The time-input component is a lightweight and keyboard-friendly React component for time entry, featuring a simple API with automatic format detection and high test coverage.

JavaScript
React
Time Picker

Summary of time-input

  • 👍

    No dependencies.

  • 👍

    Simple API with inferred options.

  • 👍

    Keyboard-friendly navigation.

Built by

Alan Clarke
Alan Clarke
@alanclarke
+ 4 other contributors

Last push
2 years ago
Stars
28

Forks
33
Open Issues
20
Closed Issues
33

Last Update
7 years ago
Version
1.6.1
Typings

Downloads
24.2 k
Dependencies
0
Size
393 kB
The time-input component is designed to facilitate easy and efficient time capture in your applications. It presents a small UI surface area, simply as a form input, freeing up space on your interface. This component is keyboard-friendly, allowing users to type times directly and navigate using the up and down keys to adjust times, or tab between time groups. It features a straightforward API, inferring options like 24-hour or 12-hour format from the input value. The component also accommodates invalid entries gracefully by ignoring them. Additionally, it boasts high reliability with 95% test coverage.