Components / Date & time

TimeRangePicker

Start and end times, with overnight-range handling.

@ruckc/truss-ui Date & time

Import

import { TimeRangePicker } from '@ruckc/truss-ui';

Playground

step
value

API

PropTypeDefaultDescription
value bindable { start?: string; end?: string }{}24h "HH:MM" strings.
label string—Visible label shown above the control.
hour12 booleanfalseUse a 12-hour clock with AM/PM.
step number5Increment between values.
disabled booleanfalseDisables the control: it cannot be focused, changed or activated.
error string—Error message. Marks the control invalid, replaces the hint, and is announced to assistive technology.
allowOvernight booleanfalsePermit end earlier than start (spans midnight).
/docs/time-range-picker Truss UI · MIT