# Picker country

<figure><img src="https://3723856256-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGnixyIfIYFWroNtVmZo6%2Fuploads%2Fgit-blob-41e57de3eb7df5b83036a0310b646c16abe2fc7b%2Fimage.png?alt=media" alt=""><figcaption></figcaption></figure>

## Overview

A country/currency selector block that displays a list of available countries with their respective currencies. When a country is selected, it updates the store's localization settings. The block is responsive and can be configured to show/hide on different device sizes.

## Common use cases

* Ensure flag icons are properly cached for performance
* Consider adding loading states for better UX during country switches
* Test across different viewport sizes to ensure proper visibility based on settings
* Display country selection in headers, footers, or checkout pages

## Block settings

### General

| Setting                | Description                 | Options                   |
| ---------------------- | --------------------------- | ------------------------- |
| Show advanced settings | Reveals visibility settings | Checkbox (default: false) |

### Spacing

| Setting                 | Description                               | Options                   |
| ----------------------- | ----------------------------------------- | ------------------------- |
| Enable internal padding | Adds internal padding to the country list | Checkbox (default: false) |

### Display

| Setting    | Description                        | Options                                                                                                                            |
| ---------- | ---------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- |
| Visibility | Controls when the block is visible | <p>• All (default)<br>• Mobile only<br>• Desktop only</p><p><br><br>Visible when <strong>Show advanced settings</strong> is on</p> |
