Time picker preview
A controlled native time field with accessible help and error wiring plus a clear 12-hour or 24-hour display.
pro · Forms · primitive
When to use
- Use it when a product interface needs a controlled native time field with accessible help and error wiring plus a clear 12-hour or 24-hour display.
- Choose it when the host application can supply the required state and keep business logic outside the presentation component.
Alternatives
- Choose form-field instead when a labeled email field with validation and help text is the actual interface need, rather than time picker.
Configure components.json and the @tidal-pro namespace before installing Pro components.
Installation
npx shadcn@latest add @tidal-pro/time-pickerImport components/ui/tidal.css, components/ui/time-picker.css. Wrap installed components in tidal-scope.
Preview

Minimal example
import"./components/ui/tidal.css";
import"./components/ui/time-picker.css";
import{TidalTimePicker}from"./components/ui/time-picker";
export default()=><div className="tidal-scope"><TidalTimePicker label={"Demo"} onValueChange={() => {}} value={"value"}/></div>;API and props
TidalTimePicker.label (required)ReactNodeRequired label value accepted by this exported component.
TidalTimePicker.onValueChange (required)(value: string) => voidCallback invoked when the value change interaction is proposed.
TidalTimePicker.value (required)stringRequired value value accepted by this exported component.
TidalTimePicker.disabledboolean | undefinedOptional disabled value accepted by this exported component.
TidalTimePicker.displayLabelReactNodeOptional display label value accepted by this exported component.
TidalTimePicker.emptyDisplayReactNodeOptional empty display value accepted by this exported component.
TidalTimePicker.errorReactNodeOptional error value accepted by this exported component.
TidalTimePicker.hintReactNodeOptional hint value accepted by this exported component.
TidalTimePicker.hourCycle12 | 24 | undefinedOptional hour cycle value accepted by this exported component.
TidalTimePicker.inputPropsNativeTimeInputProps | undefinedOptional input props value accepted by this exported component.
TidalTimePicker.inputRefRef<HTMLInputElement> | undefinedOptional input ref value accepted by this exported component.
TidalTimePicker.readOnlyboolean | undefinedOptional read only value accepted by this exported component.
Complete usage
Full example, stylesheet imports, API and accessibility documentation
Gotchas
- The host application owns data, validation, persistence, navigation, and service side effects described by this API.