Components
← All components

Time Picker

stimeo--time-picker

Segmented hour / minute / AM-PM spinbuttons composing a 24-hour value.

  • Spinbutton

The stimeo--time-picker controller treats each segment (hours, minutes, optional seconds, optional AM/PM) as an APG Spinbutton and composes them into an HH:MM[:SS] value in a hidden field — always 24-hour, even when edited in 12-hour mode. Arrow keys step the focused segment and wrap at the bounds; when wrapping is enabled the overflow carries from minutes into hours (and seconds into minutes). Left/Right move between segments, Home/End jump to the bounds, and typing digits enters a value directly, advancing after two digits. Every segment is its own Tab stop. Behavior only.

running
09 30 AM

Keyboard

KeyAction
↑ / ↓ Step the focused segment up / down (this demo sets step=5, so minutes move in 5-minute increments; wrapping at the bounds).
← / → Move to the previous / next segment.
Home / End Jump the focused segment to its minimum / maximum.
0–9 Type a value directly; advances after two digits.