Country Select logo

Country Select

By Chris Ebert

A strapi custom field for selecting any country based on the ISO 3166-1 country code standard.

Latest version

v2.1.0

released January 19, 2025

npm install strapi-plugin-country-select

Strapi plugin country-select

A strapi custom field for selecting any country based on the ISO 3166-1 country code standard.

Installation

To install this plugin, you need to add an NPM dependency to your Strapi application:

# Using Yarn
yarn add strapi-plugin-country-select

# Or using NPM
npm install strapi-plugin-country-select

Then, you'll need to build your admin panel:

# Using Yarn
yarn build

# Or using NPM
npm run build

Usage

After installation you will find the country-select at the custom fields section of the content-type builder.

country select screenshot

Now you can select any country from the list. The Alpha-2 code of the selected country is stored in the database.

country select screenshot

Submit your content

Share your work with the community and get it listed in the Strapi ecosystem for everyone to discover and use.

Submit
Submit your content