Components / Date & time

TimePicker

Typed time entry (2:30 pm, 1430) plus hour/minute columns; 24h or 12h.

@ruckc/truss-ui Date & time

Import

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

Playground

step
value

API

PropTypeDefaultDescription
value bindable string—24h "HH:MM"
label string—Visible label shown above the control.
ariaLabel string—Accessible name, for use when there is no visible `label`.
hour12 booleanfalseUse a 12-hour clock with AM/PM.
step number5Minute increment shown in the list (typed entry accepts any minute).
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.
placeholder string—Hint shown while the field is empty.
/docs/time-picker Truss UI · MIT