Native time field with an HH:MM contract and an optional clear button.

npx slipstream-ui@latest add time-picker
Class time

24-hour, HH:MM

Props

PropTypeDefaultDescription
valuestring—"HH:MM" (24h), controlled.
defaultValuestring—"HH:MM", initial value.
onValueChange(value: string) => void—Fired with the time string; '' when cleared.
clearablebooleanfalseShows a clear button once a value exists.

Accessibility

  • Renders input[type=time]; the OS picker and keyboard editing apply.
  • Label the moment, not the control type.

Browser support

BrowserTested versions
Chrome111+ (Mar 2023)
Edge111+ (Mar 2023)
Firefox121+ (Dec 2023)
Safari17.2+ — macOS & iOS (Dec 2023)

Slipstream components rely only on CSS custom properties, Flexbox/Grid, and ARIA — the everyday baseline of the last two years of evergreen releases. Anything newer is progressive enhancement: unsupported browsers keep full functionality with static behavior instead of animations.

Was this page helpful?