sheengemologic ui
All components

TimeZoneSelect

An app-bounded IANA timezone combobox with stable SSR and hydration options.@gemologic/sheen-date · date and time

Playground

This example has no scalar controls. Its validated source remains interactive below.
<TimeZoneSelect label="Market timezone" name="timeZone" options={[{ id: "UTC", label: "UTC" }, { id: "America/New_York", label: "New York" }]} defaultValue={createTimeZone("UTC")} />

Variant matrix

Market timezone

Anatomy

Package
@gemologic/sheen-date
Source
packages/date/src/TimeZoneSelect.tsx
Tokens
  • --sheen-color-bg-raised
  • --sheen-color-border-control
  • --sheen-color-focus-ring

Accessibility

Role: combobox and listboxKeyboard: Tab, Arrow keys, Home, End, Enter, Escape, Typeahead

Do

  • Commit one stable option list for server and client rendering.

Do not

  • Do not call Intl.supportedValuesOf during render; ICU lists can differ across hosts.

Generated props

NameTypeDefaultDescription
label *stringRequired visible combobox label.
options *readonly TimeZoneOption[]Explicit stable IANA IDs and app-localized labels; no host-derived default list.
valueTimeZone | nullApp-owned Sheen TimeZone, or null.
defaultValueTimeZone | nullInitial uncontrolled zone.
onValueChange(value: TimeZone | null) => voidReceives validated Sheen TimeZone values and clearing.
namestringNative form field name for the IANA identifier.
formstringOptional external form owner.
placeholderstringEmpty-selection text.
descriptionstringAssociated instructions.
errorstringAssociated field validation error.
pendingbooleanfalseRetains accepted options while an app-owned refresh is in flight.
resultsErrorstringSafe app-owned option request error shown in the open list.
onRetry() => voidOptional app retry action for a failed option request.
requiredbooleanfalseRequires a selection.
disabledbooleanfalseDisables interaction and projection.
readOnlybooleanfalseAllows inspection while rejecting changes.
Native Solid/HTML attributes remain available and are omitted from this authored-prop view.