UI
← Home

Time Field

A segmented HH:MM time field. Each segment is an ARIA spinbutton with `aria-valuenow`/`min`/`max` and a zero-padded value text; Arrow keys step a segment and wrap at its bounds (hours 23→0, minutes 59→0), and Home/End jump to the minimum/maximum.

  • Axe
  • Focus

Preview

09
05

Installation

npx shadcn@latest add https://ui.publictheta.com/r/time-field.json

Conformance

Verified against the @publictheta/ui-spec time-field specification on both the React and vanilla reference implementations, across Chromium, Firefox, and WebKit.

  • Axe No WCAG 2 A/AA axe-core violations
  • Focus A visible focus indicator appears on keyboard focus (WCAG 2.4.7)

See the full conformance matrix across all components.