Skip to main content

TimePicker

TimePicker — Prism component.

Signature
Density
Viewport
Theme follows the navbar ☀/☾ toggle
Live demo
Open ↗

When to use

TimePicker — Prism component.

Accessibility

Keyboard-navigable grid (arrow keys move days, PageUp/PageDown move months). The selected date is announced; the field has a clear label.

Import

const { TimePicker } = window.PrismDesignSystem_39d121;

Props

PropTypeRequiredDescription
labelstring
descriptionstring
valuestring"HH:MM" 24-hour string.
defaultValuestring
onChange(value: string) => void
stepnumberMinutes between options. Default 30.
hour12booleanDisplay 12-hour labels with AM/PM (value stays 24h).
placeholderstring
isDisabledboolean
idstring
classNamestring