> For the complete documentation index, see [llms.txt](https://help.spicegems.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.spicegems.com/geoip-country-redirect/general-faqs/how-to-add-flags-with-the-countries-in-the-switcher.md).

# How to add Flags with the countries in the Switcher?

You can use the following HTML snippet to display country flags alongside country names in the switcher:

```
<span class='fi fi-[country-code]'></span>
```

Replace `[country-code]` with the appropriate [two-letter ISO 3166-1 alpha-2 country code](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2). For example:

* For the **United States**, use `'us'`:\
  `<span class='fi fi-us'></span>`
* For **Canada**, use `'ca'`:\
  `<span class='fi fi-ca'></span>`

This will render the respective country's flag in the switcher.
