Skip to content
Country and currency, light
Light
Country and currency, dark
Dark

Every state

  • Country and currency, default, light
    Country and currency, default, dark

    default

  • Country and currency, hover, light
    Country and currency, hover, dark

    hover

  • Country and currency, focus, light
    Country and currency, focus, dark

    focus

  • Country and currency, filtered, light
    Country and currency, filtered, dark

    filtered

  • Country and currency, picked, light
    Country and currency, picked, dark

    picked

  • Country and currency, empty, light
    Country and currency, empty, dark

    empty

Props

PropTypeDefaultWhat it does
idstring"ship-to"Base for the ids of the field, list and options. Unique on the page.
labelstring"Ship to"Visible label.
placeholderstring"Search countries"Placeholder text.
countriesLocalePickerCountry[][ { code: "AT", name: "Austria", language: { code: "de", name: "Deutsch" }, currency: { code: "EUR", name: "Euro" } }…Countries.
currentstring"IE"Code of the country you are in now; it starts picked.
labels{ language: string; currency: string; changes: string; unchanged: string; confirm: string; noResults: string; oneResult: string; results: string }{ language: "Language", currency: "Currency", changes: "Changes when you confirm", unchanged: "Your current settings"…Words for the summary and the list; `results` is read out once typing pauses, with {n} for the count.
onConfirm(country: LocalePickerCountry) => void–Called with the picked country when Confirm is pressed.
classNamestring–Extra classes on the outer element.

More locale pickers

All 4
locale-picker-01 is in UI ProGet UI Pro, €199

Preview

Open the page
In UI Pro: get it, €199 once

With every block and theme. 400+ buyers since 2020. Plans