Props

PropTypeDefaultDescription
valueDate | nullSelected time value (only time portion is used)
onChange(date: Date | null) => voidCallback when value changes
timeTimeConfigTime panel configuration
size"sm" | "md" | "lg""md"Component size variant
localePartial<Locale>Custom locale configuration
displayFormatstringCustom display format for the trigger
placeholderstringPlaceholder text for the trigger
openbooleanControlled open state
initialOpenbooleanfalseInitial open state (uncontrolled)
onOpenChange(open: boolean) => voidCallback when open state changes
requiredbooleanfalseDisable clearing the value
inlinebooleanfalseRender inline without trigger/popup
hideFooterbooleanHide the action footer
namestringHidden input name for form submission

TimeConfig

interface TimeConfig {
/** Time display precision. Defaults to "minute". */
precision?: "hour" | "minute" | "second";
/** 12-hour or 24-hour format. Defaults to "24". */
hourFormat?: "12" | "24";
/** Minute increment step. Defaults to 5. */
minuteStep?: 1 | 2 | 3 | 5 | 10 | 15 | 20 | 30;
/** Second increment step. Defaults to 1. */
secondStep?: 1 | 2 | 3 | 5 | 10 | 15 | 20 | 30;
/** Height (in px) of each scroll wheel item. Defaults to 32. */
itemHeight?: number;
}