Time Picker

The TimePicker component provides a styled time input with labels, helper text, and native picker access.

Usage & Examples

Reminder Time

Uses 24-hour time.

reminder-time.tsx
<TimePicker
  label="Reminder time"
  defaultValue="09:30"
  helperText="Uses 24-hour time."
/>

Props API

41 props
Columns
Time Picker props API
Default
Description
autoCompleteReact.HTMLInputAutoCompleteAttributeNoprops"off"Optional autocomplete value.
buttonClassNamestringNopropsAdditional class name for the picker trigger button.
classNamestringNostylingAdditional class name for the component root.
containerClassNamestringNopropsAdditional class name for the outer label/component container.
data-testidstringNotestingBackward-compatible alias for test ID attributes.
defaultValuestringNopropsInitial time value in HH:mm or HH:mm:ss format for uncontrolled usage.
descriptionReactNodeNopropsSupporting description connected with aria-describedby.
descriptionClassNamestringNopropsAdditional class name for description text.
disabledbooleanNopropsfalseWhether the component is disabled.
errorReactNodeNopropsError text connected with aria-errormessage and announced as an alert.
errorClassNamestringNopropsAdditional class name for error text.
fullWidthbooleanNopropsfalseWhether the picker should stretch to the full available width.