Keyboard Friendly Time Input Component For React

Category: Date & Time , React | March 27, 2017
Author: alanclarke
Views Total: 935
Official Page: Go to website
Last Update: March 27, 2017
License: MIT

A keyboard friendly React component for capturing time.

Features:

  • small UI surface area (just a form input)
  • keyboard friendly (can type times, use up and down keys to go forwards and backwards in time, can tab between time groups)
  • simple API (infers most options from value, e.g. 24hr time or 12hr, whether to display seconds and milliseconds)
  • easy going UX: ignores invalid input and simply skips over separator if omitted
  • no dependencies

Preview:

Keyboard Friendly Time Input Component For React