Time Picker
Time pickers allow the user to select a single time.
The selected time is indicated by the filled circle at the end of the clock hand.
Basic usage
The time picker is rendered as a modal dialog on mobile, and in the field on desktop.
Press Enter to start editing
Press Enter to start editing
Responsiveness
The time picker component is designed and optimized for the device it runs on.
- The
MobileNextTimePickercomponent works best for touch devices and small screens. - The
DesktopNextTimePickercomponent works best for mouse devices and large screens.
By default, the NextTimePicker component renders the desktop version if the media query @media (pointer: fine) matches.
This can be customized with the desktopModeMediaQuery prop.
There are certain caveats when testing pickers, please refer to this section for more information.
Press Enter to start editing
Static mode
It is also possible to render any time picker without the modal/popover and text field. This will enable building custom popover/modal containers.
123456789101112
Press Enter to start editing
Press Enter to start editing
051015202530354045505500
Press Enter to start editing
001234567891011121314151617181920212223
Press Enter to start editing