Skip to content
JS
Package

react-country-flag

> React component for emoji/svg country flags.

v3.1.0, 31 Mar 2023MITESM + CommonJSTypes: Bundled
$ npm install react-country-flag

Key numbers

As of 25 Sept 2026
Weekly downloads
460.3k
+101% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
0
Direct, from package.json
Last release
3 years ago
v3.1.0
GitHub stars
-
Open issues / PRs
- / -
Contributors
-
Commits, last 52 weeks
-

Downloads

Last week 2026-09-15 to 2026-09-21
0200k400k600k800kSept 2025Mar 2026Sept 2026High 600.4k (16 Jun 2026)Low 197.6k (23 Dec 2025)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

460,273 downloads last week, 2,138,517 in the last month. The 12-month change of +101% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
029 in total
Latest version
3.1.0, 31 Mar 20233 years ago
First published
3 Aug 2017
Last push to GitHub
-
Repository archived
-
Open issues
-
Open pull requests
-
Commits, last 52 weeks
-
Dependents on npm
-

Major versions

  1. v3 first release 3.0.0, 19 Nov 2021
  2. v2 first release 2.0.0, 18 Dec 2019
  3. v1 first release 1.0.0, 21 Aug 2018
  4. v0 first release 0.1.0, 3 Aug 2017

Recent releases

VersionPublished
3.1.031 Mar 2023
3.0.221 Nov 2021
3.0.119 Nov 2021
3.0.019 Nov 2021
2.3.17 Jul 2021
2.3.03 Aug 2020
2.2.09 Jun 2020
2.1.09 May 2020
2.0.118 Dec 2019
2.0.018 Dec 2019
1.1.012 Sept 2019
1.0.218 Feb 2019
1.0.121 Aug 2018
1.0.021 Aug 2018
Module format
ESM + CommonJSFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
>=12
Runtimes
-
Unpacked size (npm)
22 kB
Dependencies (0)
None
Peer dependencies (1)
react
npm install react-country-flag
  • jsDelivrhttps://cdn.jsdelivr.net/npm/react-country-flag@3.1.0/
  • unpkghttps://unpkg.com/react-country-flag@3.1.0/
  • esm.shhttps://esm.sh/react-country-flag@3.1.0
Sources: npm registry, npm downloads API. Data fetched 25 Sept 2026.

Indexability: Not indexed (discovery only): completeness 0.5 < 0.6 (missing: github_owner, stars, release_date, category); GitHub data not fetched yet; no category.