Skip to main content

Time Picker

The Time Picker component allows the user to select a single time. It renders a modal dialogue on a mobile device and a text field with a popover on a desktop.

The Time Picker component is used independently or as a form component within a Form Block.

Properties

NameTypeDefaultDescription
namestringSpecifies the name of the component (form component only).
valueanySpecifies the value of the component.
labelnodeSpecifies a label for the component.
formatHH:mm:ss
any
HH:mm:ssSpecifies the time format to display.
maxTimeHH:mm:ss
HH:mm
HH
any
HH:mm:ssSpecifies a maximum time.
minTimeHH:mm:ss
HH:mm
HH
any
HH:mm:ssSpecifies a minimum.
minutesStepnumber1Specifies the Step over minutes value.
responsivenessmobile
desktop
static
string
desktopSpecifies the device the time picker is optimized for.
showToolbarbooltrueIf true, the toolbar is enabled.
orientationportrait
landscape
string
portraitSpecifies the orientation of the component.
ampmbooltrueIf true, AM/PM will display 12/24 view for clock selection.
ampmInClockboolfalseIf true, AM/PM will display on either side of the analog clock.
readOnlyboolfalseIf true, the time picker is read only.
disabledboolfalseIf true, the time picker is disabled.
openTohours
minutes
seconds
string
hoursSpecifies the initial view to display.
hoursViewbooltrueIf true, the component will display the hour view.
minutesViewbooltrueIf true, the component will display the minute view.
secondsViewboolfalseIf true, the component will display the seconds view.

Style Attributes

NameTypeDefaultDescription
inputVariantFilled
Outlined
Standard
string
OutlinedSpecifies the display type of the component.

For more detail on the Time Picker component, see the MUI developer docs.