Forms

Time Zone Select

A select for IANA time zones. The options come from Intl.supportedValuesOf with a small static fallback, and the value is the id string that Temporal consumes.

ReactVueWeb Components
View in Storybook

Playground

Examples

<TimeZoneSelect defaultValue="Asia/Tokyo" onChange={setZone} />

Props

Name Type Default Description
value string Selected IANA time-zone id (controlled).
defaultValue string Initial IANA time-zone id (uncontrolled).
onChange (value: string) => void Called with the newly selected IANA time-zone id.
zones readonly string[] Restrict the list to a fixed set of IANA ids (defaults to the runtime list).
placeholder string Optional placeholder shown as a disabled first option.

Accessibility

  • Body/background contrast is ≥ 7:1 (AAA) in both light and dark.
  • Every interaction works with the keyboard alone.
  • The focus ring is always visible.
  • Respects prefers-reduced-motion and stops excessive motion.

Every component is designed to meet WCAG 2.1 AAA.