Components › Forms & input › Date & time › Time field

Time field

canon

Input that parses typed times with a list of quarter-hour options.

acrm !4087 (28 Sep 2026, owner): the visible duration next to times uses `fmtDurShort` — „45 m“ · „1 h“ · „1 h 30 m“ (in the context of time „m“ = minutes). Screen readers keep the full „min“ via `fmtDur` (TimeField option aria-label, DateTimeRange hidden live text) so „m“ is not read as metres. Other durations in the app (timeline, Setkání, tasks, reminders) keep „min“.

Used in 9 files · 7 areas · 15× — components/assistant, components/callwrapup, components/mail, components/meetings, components/tasks, components/timeline …

Default

components--time-field--defaultOpen standalone ↗Code

Variants

start (step 15)
end — getStart, options carry the duration
step 30
components--time-field--variantsOpen standalone ↗Code

States

empty (placeholder –)
filled
disabled
Focus: `.dp-field:focus-within` draws the accent border + 3px accent ring; the selected option in the open list is `.dp-topt.on` (accent ink, 600).
components--time-field--statesOpen standalone ↗Code

Composition

–
1 h 30 m
.dp-timegroup — from, separator, to (getStart), .dp-dur
form field — label from <Field>
components--time-field--compositionOpen standalone ↗Code