Toggle Sidebar B
header.lightDarkMode D

Time Range Picker

Pick a start and end time as Time instances. Used for opening hours, shift schedules, and event blocks. Built on reka-ui's TimeRangeFieldRoot.

Default

Start and end segments with a dash separator. Bind to { start, end } Time values.

API Reference

Props, events, and slots for each sub-component.

TimeRangePicker

Props

PropTypeDefaultDescription
modelValue{ start: Time, end: Time }Range with Time instances from @internationalized/date. Supports v-model.
hourCycle12 | 2424Display 12- or 24-hour format.
localestring"en-US"BCP 47 locale for formatting.
disabledbooleanfalseDisable input.
readonlybooleanfalseMake the field read-only.
clearablebooleanfalseShow a clear button when a value is set.
showCaretbooleanfalseShow a blinking caret on the focused segment.

Events

EventDescription
update:modelValueFires with the new { start, end } range. Enables v-model.

TimeRangePickerInput

Props

PropTypeDefaultDescription
classstringSingle editable segment. Forwards to reka-ui TimeRangeFieldInput; usually rendered for you by TimeRangePicker.