Skip to content
JS
Package

flag-icons

> A curated collection of all country flags in SVG — plus the CSS for easier integration. See the [demo](https://flagicons.lipis.dev).

v7.5.0, 29 May 2025MITCommonJSTypes: NoneCSS-in-JS and stylingIcons
$ npm install flag-icons

Key numbers

As of 25 Sept 2026
Weekly downloads
736.6k
+149% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
0
Direct, from package.json
Last release
1 year ago
v7.5.0
GitHub stars
12.4k
2k forks
Open issues / PRs
25 / 24
Contributors
-
Commits, last 52 weeks
10

Downloads

Last week 2026-09-15 to 2026-09-21
0250k500k750k1mSept 2025Mar 2026Sept 2026High 985.6k (25 Aug 2026)Low 195.7k (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.

736,559 downloads last week, 3,609,995 in the last month. The 12-month change of +149% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
063 in total
Latest version
7.5.0, 29 May 20251 year ago
First published
14 Nov 2016
Last push to GitHub
10 Jul 202677 days before the snapshot
Repository archived
No
Open issues
25
Open pull requests
24
Commits, last 52 weeks
10
Dependents on npm
-

Major versions

  1. v7 first release 7.0.0, 17 Nov 2023
  2. v6 first release 6.0.0, 28 Dec 2021
  3. v5 first release 5.0.0, 20 Dec 2021
  4. v2 first release 2.0.0, 11 Oct 2018
  5. v1 first release 1.0.0, 14 Nov 2016

Recent releases

VersionPublished
7.5.029 May 2025
7.4.029 May 2025
7.3.217 Jan 2025
7.3.116 Jan 2025
7.3.016 Jan 2025
7.2.415 Jan 2025
7.2.329 May 2024
7.2.221 May 2024
7.2.126 Mar 2024
7.2.04 Mar 2024
7.1.011 Dec 2023
7.0.35 Dec 2023
7.0.218 Nov 2023
7.0.118 Nov 2023
Module format
CommonJSFrom package.json type, main and exports fields
TypeScript types
None
Node.js engine range
Not declared
Runtimes
-
Unpacked size (npm)
3.9 MB
Dependencies (0)
None
npm install flag-icons

CDN

jsDelivr: 642.3m requests in 30 days
  • jsDelivrhttps://cdn.jsdelivr.net/npm/flag-icons@7.5.0/
  • unpkghttps://unpkg.com/flag-icons@7.5.0/
  • esm.shhttps://esm.sh/flag-icons@7.5.0
PackageWeekly downloadsGzipLast releaseModuleComparison
svg-sprite151.1k-2 years agoCommonJSflag-icons vs svg-sprite
flag-icons-svg9.3k-5 years ago--
material-icons273.5k-1 year agoCommonJS-
gulp-svg-sprite18.6k-3 years ago--

Related

Sources: npm registry, npm downloads API, GitHub API, jsDelivr. Data fetched 25 Sept 2026.

Indexability: Indexed.