Atelier UI

Search components…

Search components…

Time Picker

Segmented time field with arrow-key stepping, direct digit entry and 12/24-hour modes.

Edit in sandbox

Copy a prompt for your AI coding tool with the source, dependencies and usage

Props

TimePickerProps

Also accepts all props of Omit<React.ComponentProps<"div">, "onChange" | "defaultValue">

PropTypeDefaultDescription
valuestring—24h "HH:mm"
defaultValuestring"09:30"—
onValueChange(value: string) => void——
hour12booleantrue—
minuteStepnumber1—
disabledbooleanfalse—

Install

$ npx shadcn@latest add https://chromotion.dev/r/time-picker.json

More like this