JSPM

  • Created
  • Published
  • Downloads 1148636
  • Score
    100M100P100Q266559F
  • License MIT

Vector (*.svg) country flag icons in 3x2 aspect ratio.

Package Exports

  • country-flag-icons
  • country-flag-icons/1x1/flags.css
  • country-flag-icons/3x2/flags.css
  • country-flag-icons/package.json
  • country-flag-icons/react/1x1
  • country-flag-icons/react/1x1/AC
  • country-flag-icons/react/1x1/AD
  • country-flag-icons/react/1x1/AE
  • country-flag-icons/react/1x1/AF
  • country-flag-icons/react/1x1/AG
  • country-flag-icons/react/1x1/AI
  • country-flag-icons/react/1x1/AL
  • country-flag-icons/react/1x1/AM
  • country-flag-icons/react/1x1/AO
  • country-flag-icons/react/1x1/AQ
  • country-flag-icons/react/1x1/AR
  • country-flag-icons/react/1x1/AS
  • country-flag-icons/react/1x1/AT
  • country-flag-icons/react/1x1/AU
  • country-flag-icons/react/1x1/AW
  • country-flag-icons/react/1x1/AX
  • country-flag-icons/react/1x1/AZ
  • country-flag-icons/react/1x1/BA
  • country-flag-icons/react/1x1/BB
  • country-flag-icons/react/1x1/BD
  • country-flag-icons/react/1x1/BE
  • country-flag-icons/react/1x1/BF
  • country-flag-icons/react/1x1/BG
  • country-flag-icons/react/1x1/BH
  • country-flag-icons/react/1x1/BI
  • country-flag-icons/react/1x1/BJ
  • country-flag-icons/react/1x1/BL
  • country-flag-icons/react/1x1/BM
  • country-flag-icons/react/1x1/BN
  • country-flag-icons/react/1x1/BO
  • country-flag-icons/react/1x1/BQ
  • country-flag-icons/react/1x1/BR
  • country-flag-icons/react/1x1/BS
  • country-flag-icons/react/1x1/BT
  • country-flag-icons/react/1x1/BV
  • country-flag-icons/react/1x1/BW
  • country-flag-icons/react/1x1/BY
  • country-flag-icons/react/1x1/BZ
  • country-flag-icons/react/1x1/CA
  • country-flag-icons/react/1x1/CC
  • country-flag-icons/react/1x1/CD
  • country-flag-icons/react/1x1/CF
  • country-flag-icons/react/1x1/CG
  • country-flag-icons/react/1x1/CH
  • country-flag-icons/react/1x1/CI
  • country-flag-icons/react/1x1/CK
  • country-flag-icons/react/1x1/CL
  • country-flag-icons/react/1x1/CM
  • country-flag-icons/react/1x1/CN
  • country-flag-icons/react/1x1/CO
  • country-flag-icons/react/1x1/CR
  • country-flag-icons/react/1x1/CU
  • country-flag-icons/react/1x1/CV
  • country-flag-icons/react/1x1/CW
  • country-flag-icons/react/1x1/CX
  • country-flag-icons/react/1x1/CY
  • country-flag-icons/react/1x1/CZ
  • country-flag-icons/react/1x1/DE
  • country-flag-icons/react/1x1/DJ
  • country-flag-icons/react/1x1/DK
  • country-flag-icons/react/1x1/DM
  • country-flag-icons/react/1x1/DO
  • country-flag-icons/react/1x1/DZ
  • country-flag-icons/react/1x1/EC
  • country-flag-icons/react/1x1/EE
  • country-flag-icons/react/1x1/EG
  • country-flag-icons/react/1x1/EH
  • country-flag-icons/react/1x1/ER
  • country-flag-icons/react/1x1/ES
  • country-flag-icons/react/1x1/ET
  • country-flag-icons/react/1x1/EU
  • country-flag-icons/react/1x1/FI
  • country-flag-icons/react/1x1/FJ
  • country-flag-icons/react/1x1/FK
  • country-flag-icons/react/1x1/FM
  • country-flag-icons/react/1x1/FO
  • country-flag-icons/react/1x1/FR
  • country-flag-icons/react/1x1/GA
  • country-flag-icons/react/1x1/GB
  • country-flag-icons/react/1x1/GD
  • country-flag-icons/react/1x1/GE
  • country-flag-icons/react/1x1/GF
  • country-flag-icons/react/1x1/GG
  • country-flag-icons/react/1x1/GH
  • country-flag-icons/react/1x1/GI
  • country-flag-icons/react/1x1/GL
  • country-flag-icons/react/1x1/GM
  • country-flag-icons/react/1x1/GN
  • country-flag-icons/react/1x1/GP
  • country-flag-icons/react/1x1/GQ
  • country-flag-icons/react/1x1/GR
  • country-flag-icons/react/1x1/GS
  • country-flag-icons/react/1x1/GT
  • country-flag-icons/react/1x1/GU
  • country-flag-icons/react/1x1/GW
  • country-flag-icons/react/1x1/GY
  • country-flag-icons/react/1x1/HK
  • country-flag-icons/react/1x1/HM
  • country-flag-icons/react/1x1/HN
  • country-flag-icons/react/1x1/HR
  • country-flag-icons/react/1x1/HT
  • country-flag-icons/react/1x1/HU
  • country-flag-icons/react/1x1/IC
  • country-flag-icons/react/1x1/ID
  • country-flag-icons/react/1x1/IE
  • country-flag-icons/react/1x1/IL
  • country-flag-icons/react/1x1/IM
  • country-flag-icons/react/1x1/IN
  • country-flag-icons/react/1x1/IO
  • country-flag-icons/react/1x1/IQ
  • country-flag-icons/react/1x1/IR
  • country-flag-icons/react/1x1/IS
  • country-flag-icons/react/1x1/IT
  • country-flag-icons/react/1x1/JE
  • country-flag-icons/react/1x1/JM
  • country-flag-icons/react/1x1/JO
  • country-flag-icons/react/1x1/JP
  • country-flag-icons/react/1x1/KE
  • country-flag-icons/react/1x1/KG
  • country-flag-icons/react/1x1/KH
  • country-flag-icons/react/1x1/KI
  • country-flag-icons/react/1x1/KM
  • country-flag-icons/react/1x1/KN
  • country-flag-icons/react/1x1/KP
  • country-flag-icons/react/1x1/KR
  • country-flag-icons/react/1x1/KW
  • country-flag-icons/react/1x1/KY
  • country-flag-icons/react/1x1/KZ
  • country-flag-icons/react/1x1/LA
  • country-flag-icons/react/1x1/LB
  • country-flag-icons/react/1x1/LC
  • country-flag-icons/react/1x1/LI
  • country-flag-icons/react/1x1/LK
  • country-flag-icons/react/1x1/LR
  • country-flag-icons/react/1x1/LS
  • country-flag-icons/react/1x1/LT
  • country-flag-icons/react/1x1/LU
  • country-flag-icons/react/1x1/LV
  • country-flag-icons/react/1x1/LY
  • country-flag-icons/react/1x1/MA
  • country-flag-icons/react/1x1/MC
  • country-flag-icons/react/1x1/MD
  • country-flag-icons/react/1x1/ME
  • country-flag-icons/react/1x1/MF
  • country-flag-icons/react/1x1/MG
  • country-flag-icons/react/1x1/MH
  • country-flag-icons/react/1x1/MK
  • country-flag-icons/react/1x1/ML
  • country-flag-icons/react/1x1/MM
  • country-flag-icons/react/1x1/MN
  • country-flag-icons/react/1x1/MO
  • country-flag-icons/react/1x1/MP
  • country-flag-icons/react/1x1/MQ
  • country-flag-icons/react/1x1/MR
  • country-flag-icons/react/1x1/MS
  • country-flag-icons/react/1x1/MT
  • country-flag-icons/react/1x1/MU
  • country-flag-icons/react/1x1/MV
  • country-flag-icons/react/1x1/MW
  • country-flag-icons/react/1x1/MX
  • country-flag-icons/react/1x1/MY
  • country-flag-icons/react/1x1/MZ
  • country-flag-icons/react/1x1/NA
  • country-flag-icons/react/1x1/NC
  • country-flag-icons/react/1x1/NE
  • country-flag-icons/react/1x1/NF
  • country-flag-icons/react/1x1/NG
  • country-flag-icons/react/1x1/NI
  • country-flag-icons/react/1x1/NL
  • country-flag-icons/react/1x1/NO
  • country-flag-icons/react/1x1/NP
  • country-flag-icons/react/1x1/NR
  • country-flag-icons/react/1x1/NU
  • country-flag-icons/react/1x1/NZ
  • country-flag-icons/react/1x1/OM
  • country-flag-icons/react/1x1/PA
  • country-flag-icons/react/1x1/PE
  • country-flag-icons/react/1x1/PF
  • country-flag-icons/react/1x1/PG
  • country-flag-icons/react/1x1/PH
  • country-flag-icons/react/1x1/PK
  • country-flag-icons/react/1x1/PL
  • country-flag-icons/react/1x1/PM
  • country-flag-icons/react/1x1/PN
  • country-flag-icons/react/1x1/PR
  • country-flag-icons/react/1x1/PS
  • country-flag-icons/react/1x1/PT
  • country-flag-icons/react/1x1/PW
  • country-flag-icons/react/1x1/PY
  • country-flag-icons/react/1x1/QA
  • country-flag-icons/react/1x1/RE
  • country-flag-icons/react/1x1/RO
  • country-flag-icons/react/1x1/RS
  • country-flag-icons/react/1x1/RU
  • country-flag-icons/react/1x1/RW
  • country-flag-icons/react/1x1/SA
  • country-flag-icons/react/1x1/SB
  • country-flag-icons/react/1x1/SC
  • country-flag-icons/react/1x1/SD
  • country-flag-icons/react/1x1/SE
  • country-flag-icons/react/1x1/SG
  • country-flag-icons/react/1x1/SH
  • country-flag-icons/react/1x1/SI
  • country-flag-icons/react/1x1/SJ
  • country-flag-icons/react/1x1/SK
  • country-flag-icons/react/1x1/SL
  • country-flag-icons/react/1x1/SM
  • country-flag-icons/react/1x1/SN
  • country-flag-icons/react/1x1/SO
  • country-flag-icons/react/1x1/SR
  • country-flag-icons/react/1x1/SS
  • country-flag-icons/react/1x1/ST
  • country-flag-icons/react/1x1/SV
  • country-flag-icons/react/1x1/SX
  • country-flag-icons/react/1x1/SY
  • country-flag-icons/react/1x1/SZ
  • country-flag-icons/react/1x1/TA
  • country-flag-icons/react/1x1/TC
  • country-flag-icons/react/1x1/TD
  • country-flag-icons/react/1x1/TF
  • country-flag-icons/react/1x1/TG
  • country-flag-icons/react/1x1/TH
  • country-flag-icons/react/1x1/TJ
  • country-flag-icons/react/1x1/TK
  • country-flag-icons/react/1x1/TL
  • country-flag-icons/react/1x1/TM
  • country-flag-icons/react/1x1/TN
  • country-flag-icons/react/1x1/TO
  • country-flag-icons/react/1x1/TR
  • country-flag-icons/react/1x1/TT
  • country-flag-icons/react/1x1/TV
  • country-flag-icons/react/1x1/TW
  • country-flag-icons/react/1x1/TZ
  • country-flag-icons/react/1x1/UA
  • country-flag-icons/react/1x1/UG
  • country-flag-icons/react/1x1/UM
  • country-flag-icons/react/1x1/US
  • country-flag-icons/react/1x1/UY
  • country-flag-icons/react/1x1/UZ
  • country-flag-icons/react/1x1/VA
  • country-flag-icons/react/1x1/VC
  • country-flag-icons/react/1x1/VE
  • country-flag-icons/react/1x1/VG
  • country-flag-icons/react/1x1/VI
  • country-flag-icons/react/1x1/VN
  • country-flag-icons/react/1x1/VU
  • country-flag-icons/react/1x1/WF
  • country-flag-icons/react/1x1/WS
  • country-flag-icons/react/1x1/XK
  • country-flag-icons/react/1x1/YE
  • country-flag-icons/react/1x1/YT
  • country-flag-icons/react/1x1/ZA
  • country-flag-icons/react/1x1/ZM
  • country-flag-icons/react/1x1/ZW
  • country-flag-icons/react/3x2
  • country-flag-icons/react/3x2/AC
  • country-flag-icons/react/3x2/AD
  • country-flag-icons/react/3x2/AE
  • country-flag-icons/react/3x2/AF
  • country-flag-icons/react/3x2/AG
  • country-flag-icons/react/3x2/AI
  • country-flag-icons/react/3x2/AL
  • country-flag-icons/react/3x2/AM
  • country-flag-icons/react/3x2/AO
  • country-flag-icons/react/3x2/AQ
  • country-flag-icons/react/3x2/AR
  • country-flag-icons/react/3x2/AS
  • country-flag-icons/react/3x2/AT
  • country-flag-icons/react/3x2/AU
  • country-flag-icons/react/3x2/AW
  • country-flag-icons/react/3x2/AX
  • country-flag-icons/react/3x2/AZ
  • country-flag-icons/react/3x2/BA
  • country-flag-icons/react/3x2/BB
  • country-flag-icons/react/3x2/BD
  • country-flag-icons/react/3x2/BE
  • country-flag-icons/react/3x2/BF
  • country-flag-icons/react/3x2/BG
  • country-flag-icons/react/3x2/BH
  • country-flag-icons/react/3x2/BI
  • country-flag-icons/react/3x2/BJ
  • country-flag-icons/react/3x2/BL
  • country-flag-icons/react/3x2/BM
  • country-flag-icons/react/3x2/BN
  • country-flag-icons/react/3x2/BO
  • country-flag-icons/react/3x2/BQ
  • country-flag-icons/react/3x2/BR
  • country-flag-icons/react/3x2/BS
  • country-flag-icons/react/3x2/BT
  • country-flag-icons/react/3x2/BV
  • country-flag-icons/react/3x2/BW
  • country-flag-icons/react/3x2/BY
  • country-flag-icons/react/3x2/BZ
  • country-flag-icons/react/3x2/CA
  • country-flag-icons/react/3x2/CC
  • country-flag-icons/react/3x2/CD
  • country-flag-icons/react/3x2/CF
  • country-flag-icons/react/3x2/CG
  • country-flag-icons/react/3x2/CH
  • country-flag-icons/react/3x2/CI
  • country-flag-icons/react/3x2/CK
  • country-flag-icons/react/3x2/CL
  • country-flag-icons/react/3x2/CM
  • country-flag-icons/react/3x2/CN
  • country-flag-icons/react/3x2/CO
  • country-flag-icons/react/3x2/CR
  • country-flag-icons/react/3x2/CU
  • country-flag-icons/react/3x2/CV
  • country-flag-icons/react/3x2/CW
  • country-flag-icons/react/3x2/CX
  • country-flag-icons/react/3x2/CY
  • country-flag-icons/react/3x2/CZ
  • country-flag-icons/react/3x2/DE
  • country-flag-icons/react/3x2/DJ
  • country-flag-icons/react/3x2/DK
  • country-flag-icons/react/3x2/DM
  • country-flag-icons/react/3x2/DO
  • country-flag-icons/react/3x2/DZ
  • country-flag-icons/react/3x2/EC
  • country-flag-icons/react/3x2/EE
  • country-flag-icons/react/3x2/EG
  • country-flag-icons/react/3x2/EH
  • country-flag-icons/react/3x2/ER
  • country-flag-icons/react/3x2/ES
  • country-flag-icons/react/3x2/ET
  • country-flag-icons/react/3x2/EU
  • country-flag-icons/react/3x2/FI
  • country-flag-icons/react/3x2/FJ
  • country-flag-icons/react/3x2/FK
  • country-flag-icons/react/3x2/FM
  • country-flag-icons/react/3x2/FO
  • country-flag-icons/react/3x2/FR
  • country-flag-icons/react/3x2/GA
  • country-flag-icons/react/3x2/GB
  • country-flag-icons/react/3x2/GD
  • country-flag-icons/react/3x2/GE
  • country-flag-icons/react/3x2/GF
  • country-flag-icons/react/3x2/GG
  • country-flag-icons/react/3x2/GH
  • country-flag-icons/react/3x2/GI
  • country-flag-icons/react/3x2/GL
  • country-flag-icons/react/3x2/GM
  • country-flag-icons/react/3x2/GN
  • country-flag-icons/react/3x2/GP
  • country-flag-icons/react/3x2/GQ
  • country-flag-icons/react/3x2/GR
  • country-flag-icons/react/3x2/GS
  • country-flag-icons/react/3x2/GT
  • country-flag-icons/react/3x2/GU
  • country-flag-icons/react/3x2/GW
  • country-flag-icons/react/3x2/GY
  • country-flag-icons/react/3x2/HK
  • country-flag-icons/react/3x2/HM
  • country-flag-icons/react/3x2/HN
  • country-flag-icons/react/3x2/HR
  • country-flag-icons/react/3x2/HT
  • country-flag-icons/react/3x2/HU
  • country-flag-icons/react/3x2/IC
  • country-flag-icons/react/3x2/ID
  • country-flag-icons/react/3x2/IE
  • country-flag-icons/react/3x2/IL
  • country-flag-icons/react/3x2/IM
  • country-flag-icons/react/3x2/IN
  • country-flag-icons/react/3x2/IO
  • country-flag-icons/react/3x2/IQ
  • country-flag-icons/react/3x2/IR
  • country-flag-icons/react/3x2/IS
  • country-flag-icons/react/3x2/IT
  • country-flag-icons/react/3x2/JE
  • country-flag-icons/react/3x2/JM
  • country-flag-icons/react/3x2/JO
  • country-flag-icons/react/3x2/JP
  • country-flag-icons/react/3x2/KE
  • country-flag-icons/react/3x2/KG
  • country-flag-icons/react/3x2/KH
  • country-flag-icons/react/3x2/KI
  • country-flag-icons/react/3x2/KM
  • country-flag-icons/react/3x2/KN
  • country-flag-icons/react/3x2/KP
  • country-flag-icons/react/3x2/KR
  • country-flag-icons/react/3x2/KW
  • country-flag-icons/react/3x2/KY
  • country-flag-icons/react/3x2/KZ
  • country-flag-icons/react/3x2/LA
  • country-flag-icons/react/3x2/LB
  • country-flag-icons/react/3x2/LC
  • country-flag-icons/react/3x2/LI
  • country-flag-icons/react/3x2/LK
  • country-flag-icons/react/3x2/LR
  • country-flag-icons/react/3x2/LS
  • country-flag-icons/react/3x2/LT
  • country-flag-icons/react/3x2/LU
  • country-flag-icons/react/3x2/LV
  • country-flag-icons/react/3x2/LY
  • country-flag-icons/react/3x2/MA
  • country-flag-icons/react/3x2/MC
  • country-flag-icons/react/3x2/MD
  • country-flag-icons/react/3x2/ME
  • country-flag-icons/react/3x2/MF
  • country-flag-icons/react/3x2/MG
  • country-flag-icons/react/3x2/MH
  • country-flag-icons/react/3x2/MK
  • country-flag-icons/react/3x2/ML
  • country-flag-icons/react/3x2/MM
  • country-flag-icons/react/3x2/MN
  • country-flag-icons/react/3x2/MO
  • country-flag-icons/react/3x2/MP
  • country-flag-icons/react/3x2/MQ
  • country-flag-icons/react/3x2/MR
  • country-flag-icons/react/3x2/MS
  • country-flag-icons/react/3x2/MT
  • country-flag-icons/react/3x2/MU
  • country-flag-icons/react/3x2/MV
  • country-flag-icons/react/3x2/MW
  • country-flag-icons/react/3x2/MX
  • country-flag-icons/react/3x2/MY
  • country-flag-icons/react/3x2/MZ
  • country-flag-icons/react/3x2/NA
  • country-flag-icons/react/3x2/NC
  • country-flag-icons/react/3x2/NE
  • country-flag-icons/react/3x2/NF
  • country-flag-icons/react/3x2/NG
  • country-flag-icons/react/3x2/NI
  • country-flag-icons/react/3x2/NL
  • country-flag-icons/react/3x2/NO
  • country-flag-icons/react/3x2/NP
  • country-flag-icons/react/3x2/NR
  • country-flag-icons/react/3x2/NU
  • country-flag-icons/react/3x2/NZ
  • country-flag-icons/react/3x2/OM
  • country-flag-icons/react/3x2/PA
  • country-flag-icons/react/3x2/PE
  • country-flag-icons/react/3x2/PF
  • country-flag-icons/react/3x2/PG
  • country-flag-icons/react/3x2/PH
  • country-flag-icons/react/3x2/PK
  • country-flag-icons/react/3x2/PL
  • country-flag-icons/react/3x2/PM
  • country-flag-icons/react/3x2/PN
  • country-flag-icons/react/3x2/PR
  • country-flag-icons/react/3x2/PS
  • country-flag-icons/react/3x2/PT
  • country-flag-icons/react/3x2/PW
  • country-flag-icons/react/3x2/PY
  • country-flag-icons/react/3x2/QA
  • country-flag-icons/react/3x2/RE
  • country-flag-icons/react/3x2/RO
  • country-flag-icons/react/3x2/RS
  • country-flag-icons/react/3x2/RU
  • country-flag-icons/react/3x2/RW
  • country-flag-icons/react/3x2/SA
  • country-flag-icons/react/3x2/SB
  • country-flag-icons/react/3x2/SC
  • country-flag-icons/react/3x2/SD
  • country-flag-icons/react/3x2/SE
  • country-flag-icons/react/3x2/SG
  • country-flag-icons/react/3x2/SH
  • country-flag-icons/react/3x2/SI
  • country-flag-icons/react/3x2/SJ
  • country-flag-icons/react/3x2/SK
  • country-flag-icons/react/3x2/SL
  • country-flag-icons/react/3x2/SM
  • country-flag-icons/react/3x2/SN
  • country-flag-icons/react/3x2/SO
  • country-flag-icons/react/3x2/SR
  • country-flag-icons/react/3x2/SS
  • country-flag-icons/react/3x2/ST
  • country-flag-icons/react/3x2/SV
  • country-flag-icons/react/3x2/SX
  • country-flag-icons/react/3x2/SY
  • country-flag-icons/react/3x2/SZ
  • country-flag-icons/react/3x2/TA
  • country-flag-icons/react/3x2/TC
  • country-flag-icons/react/3x2/TD
  • country-flag-icons/react/3x2/TF
  • country-flag-icons/react/3x2/TG
  • country-flag-icons/react/3x2/TH
  • country-flag-icons/react/3x2/TJ
  • country-flag-icons/react/3x2/TK
  • country-flag-icons/react/3x2/TL
  • country-flag-icons/react/3x2/TM
  • country-flag-icons/react/3x2/TN
  • country-flag-icons/react/3x2/TO
  • country-flag-icons/react/3x2/TR
  • country-flag-icons/react/3x2/TT
  • country-flag-icons/react/3x2/TV
  • country-flag-icons/react/3x2/TW
  • country-flag-icons/react/3x2/TZ
  • country-flag-icons/react/3x2/UA
  • country-flag-icons/react/3x2/UG
  • country-flag-icons/react/3x2/UM
  • country-flag-icons/react/3x2/US
  • country-flag-icons/react/3x2/UY
  • country-flag-icons/react/3x2/UZ
  • country-flag-icons/react/3x2/VA
  • country-flag-icons/react/3x2/VC
  • country-flag-icons/react/3x2/VE
  • country-flag-icons/react/3x2/VG
  • country-flag-icons/react/3x2/VI
  • country-flag-icons/react/3x2/VN
  • country-flag-icons/react/3x2/VU
  • country-flag-icons/react/3x2/WF
  • country-flag-icons/react/3x2/WS
  • country-flag-icons/react/3x2/XK
  • country-flag-icons/react/3x2/YE
  • country-flag-icons/react/3x2/YT
  • country-flag-icons/react/3x2/ZA
  • country-flag-icons/react/3x2/ZM
  • country-flag-icons/react/3x2/ZW
  • country-flag-icons/string/1x1
  • country-flag-icons/string/1x1/AC
  • country-flag-icons/string/1x1/AD
  • country-flag-icons/string/1x1/AE
  • country-flag-icons/string/1x1/AF
  • country-flag-icons/string/1x1/AG
  • country-flag-icons/string/1x1/AI
  • country-flag-icons/string/1x1/AL
  • country-flag-icons/string/1x1/AM
  • country-flag-icons/string/1x1/AO
  • country-flag-icons/string/1x1/AQ
  • country-flag-icons/string/1x1/AR
  • country-flag-icons/string/1x1/AS
  • country-flag-icons/string/1x1/AT
  • country-flag-icons/string/1x1/AU
  • country-flag-icons/string/1x1/AW
  • country-flag-icons/string/1x1/AX
  • country-flag-icons/string/1x1/AZ
  • country-flag-icons/string/1x1/BA
  • country-flag-icons/string/1x1/BB
  • country-flag-icons/string/1x1/BD
  • country-flag-icons/string/1x1/BE
  • country-flag-icons/string/1x1/BF
  • country-flag-icons/string/1x1/BG
  • country-flag-icons/string/1x1/BH
  • country-flag-icons/string/1x1/BI
  • country-flag-icons/string/1x1/BJ
  • country-flag-icons/string/1x1/BL
  • country-flag-icons/string/1x1/BM
  • country-flag-icons/string/1x1/BN
  • country-flag-icons/string/1x1/BO
  • country-flag-icons/string/1x1/BQ
  • country-flag-icons/string/1x1/BR
  • country-flag-icons/string/1x1/BS
  • country-flag-icons/string/1x1/BT
  • country-flag-icons/string/1x1/BV
  • country-flag-icons/string/1x1/BW
  • country-flag-icons/string/1x1/BY
  • country-flag-icons/string/1x1/BZ
  • country-flag-icons/string/1x1/CA
  • country-flag-icons/string/1x1/CC
  • country-flag-icons/string/1x1/CD
  • country-flag-icons/string/1x1/CF
  • country-flag-icons/string/1x1/CG
  • country-flag-icons/string/1x1/CH
  • country-flag-icons/string/1x1/CI
  • country-flag-icons/string/1x1/CK
  • country-flag-icons/string/1x1/CL
  • country-flag-icons/string/1x1/CM
  • country-flag-icons/string/1x1/CN
  • country-flag-icons/string/1x1/CO
  • country-flag-icons/string/1x1/CR
  • country-flag-icons/string/1x1/CU
  • country-flag-icons/string/1x1/CV
  • country-flag-icons/string/1x1/CW
  • country-flag-icons/string/1x1/CX
  • country-flag-icons/string/1x1/CY
  • country-flag-icons/string/1x1/CZ
  • country-flag-icons/string/1x1/DE
  • country-flag-icons/string/1x1/DJ
  • country-flag-icons/string/1x1/DK
  • country-flag-icons/string/1x1/DM
  • country-flag-icons/string/1x1/DO
  • country-flag-icons/string/1x1/DZ
  • country-flag-icons/string/1x1/EC
  • country-flag-icons/string/1x1/EE
  • country-flag-icons/string/1x1/EG
  • country-flag-icons/string/1x1/EH
  • country-flag-icons/string/1x1/ER
  • country-flag-icons/string/1x1/ES
  • country-flag-icons/string/1x1/ET
  • country-flag-icons/string/1x1/EU
  • country-flag-icons/string/1x1/FI
  • country-flag-icons/string/1x1/FJ
  • country-flag-icons/string/1x1/FK
  • country-flag-icons/string/1x1/FM
  • country-flag-icons/string/1x1/FO
  • country-flag-icons/string/1x1/FR
  • country-flag-icons/string/1x1/GA
  • country-flag-icons/string/1x1/GB
  • country-flag-icons/string/1x1/GD
  • country-flag-icons/string/1x1/GE
  • country-flag-icons/string/1x1/GF
  • country-flag-icons/string/1x1/GG
  • country-flag-icons/string/1x1/GH
  • country-flag-icons/string/1x1/GI
  • country-flag-icons/string/1x1/GL
  • country-flag-icons/string/1x1/GM
  • country-flag-icons/string/1x1/GN
  • country-flag-icons/string/1x1/GP
  • country-flag-icons/string/1x1/GQ
  • country-flag-icons/string/1x1/GR
  • country-flag-icons/string/1x1/GS
  • country-flag-icons/string/1x1/GT
  • country-flag-icons/string/1x1/GU
  • country-flag-icons/string/1x1/GW
  • country-flag-icons/string/1x1/GY
  • country-flag-icons/string/1x1/HK
  • country-flag-icons/string/1x1/HM
  • country-flag-icons/string/1x1/HN
  • country-flag-icons/string/1x1/HR
  • country-flag-icons/string/1x1/HT
  • country-flag-icons/string/1x1/HU
  • country-flag-icons/string/1x1/IC
  • country-flag-icons/string/1x1/ID
  • country-flag-icons/string/1x1/IE
  • country-flag-icons/string/1x1/IL
  • country-flag-icons/string/1x1/IM
  • country-flag-icons/string/1x1/IN
  • country-flag-icons/string/1x1/IO
  • country-flag-icons/string/1x1/IQ
  • country-flag-icons/string/1x1/IR
  • country-flag-icons/string/1x1/IS
  • country-flag-icons/string/1x1/IT
  • country-flag-icons/string/1x1/JE
  • country-flag-icons/string/1x1/JM
  • country-flag-icons/string/1x1/JO
  • country-flag-icons/string/1x1/JP
  • country-flag-icons/string/1x1/KE
  • country-flag-icons/string/1x1/KG
  • country-flag-icons/string/1x1/KH
  • country-flag-icons/string/1x1/KI
  • country-flag-icons/string/1x1/KM
  • country-flag-icons/string/1x1/KN
  • country-flag-icons/string/1x1/KP
  • country-flag-icons/string/1x1/KR
  • country-flag-icons/string/1x1/KW
  • country-flag-icons/string/1x1/KY
  • country-flag-icons/string/1x1/KZ
  • country-flag-icons/string/1x1/LA
  • country-flag-icons/string/1x1/LB
  • country-flag-icons/string/1x1/LC
  • country-flag-icons/string/1x1/LI
  • country-flag-icons/string/1x1/LK
  • country-flag-icons/string/1x1/LR
  • country-flag-icons/string/1x1/LS
  • country-flag-icons/string/1x1/LT
  • country-flag-icons/string/1x1/LU
  • country-flag-icons/string/1x1/LV
  • country-flag-icons/string/1x1/LY
  • country-flag-icons/string/1x1/MA
  • country-flag-icons/string/1x1/MC
  • country-flag-icons/string/1x1/MD
  • country-flag-icons/string/1x1/ME
  • country-flag-icons/string/1x1/MF
  • country-flag-icons/string/1x1/MG
  • country-flag-icons/string/1x1/MH
  • country-flag-icons/string/1x1/MK
  • country-flag-icons/string/1x1/ML
  • country-flag-icons/string/1x1/MM
  • country-flag-icons/string/1x1/MN
  • country-flag-icons/string/1x1/MO
  • country-flag-icons/string/1x1/MP
  • country-flag-icons/string/1x1/MQ
  • country-flag-icons/string/1x1/MR
  • country-flag-icons/string/1x1/MS
  • country-flag-icons/string/1x1/MT
  • country-flag-icons/string/1x1/MU
  • country-flag-icons/string/1x1/MV
  • country-flag-icons/string/1x1/MW
  • country-flag-icons/string/1x1/MX
  • country-flag-icons/string/1x1/MY
  • country-flag-icons/string/1x1/MZ
  • country-flag-icons/string/1x1/NA
  • country-flag-icons/string/1x1/NC
  • country-flag-icons/string/1x1/NE
  • country-flag-icons/string/1x1/NF
  • country-flag-icons/string/1x1/NG
  • country-flag-icons/string/1x1/NI
  • country-flag-icons/string/1x1/NL
  • country-flag-icons/string/1x1/NO
  • country-flag-icons/string/1x1/NP
  • country-flag-icons/string/1x1/NR
  • country-flag-icons/string/1x1/NU
  • country-flag-icons/string/1x1/NZ
  • country-flag-icons/string/1x1/OM
  • country-flag-icons/string/1x1/PA
  • country-flag-icons/string/1x1/PE
  • country-flag-icons/string/1x1/PF
  • country-flag-icons/string/1x1/PG
  • country-flag-icons/string/1x1/PH
  • country-flag-icons/string/1x1/PK
  • country-flag-icons/string/1x1/PL
  • country-flag-icons/string/1x1/PM
  • country-flag-icons/string/1x1/PN
  • country-flag-icons/string/1x1/PR
  • country-flag-icons/string/1x1/PS
  • country-flag-icons/string/1x1/PT
  • country-flag-icons/string/1x1/PW
  • country-flag-icons/string/1x1/PY
  • country-flag-icons/string/1x1/QA
  • country-flag-icons/string/1x1/RE
  • country-flag-icons/string/1x1/RO
  • country-flag-icons/string/1x1/RS
  • country-flag-icons/string/1x1/RU
  • country-flag-icons/string/1x1/RW
  • country-flag-icons/string/1x1/SA
  • country-flag-icons/string/1x1/SB
  • country-flag-icons/string/1x1/SC
  • country-flag-icons/string/1x1/SD
  • country-flag-icons/string/1x1/SE
  • country-flag-icons/string/1x1/SG
  • country-flag-icons/string/1x1/SH
  • country-flag-icons/string/1x1/SI
  • country-flag-icons/string/1x1/SJ
  • country-flag-icons/string/1x1/SK
  • country-flag-icons/string/1x1/SL
  • country-flag-icons/string/1x1/SM
  • country-flag-icons/string/1x1/SN
  • country-flag-icons/string/1x1/SO
  • country-flag-icons/string/1x1/SR
  • country-flag-icons/string/1x1/SS
  • country-flag-icons/string/1x1/ST
  • country-flag-icons/string/1x1/SV
  • country-flag-icons/string/1x1/SX
  • country-flag-icons/string/1x1/SY
  • country-flag-icons/string/1x1/SZ
  • country-flag-icons/string/1x1/TA
  • country-flag-icons/string/1x1/TC
  • country-flag-icons/string/1x1/TD
  • country-flag-icons/string/1x1/TF
  • country-flag-icons/string/1x1/TG
  • country-flag-icons/string/1x1/TH
  • country-flag-icons/string/1x1/TJ
  • country-flag-icons/string/1x1/TK
  • country-flag-icons/string/1x1/TL
  • country-flag-icons/string/1x1/TM
  • country-flag-icons/string/1x1/TN
  • country-flag-icons/string/1x1/TO
  • country-flag-icons/string/1x1/TR
  • country-flag-icons/string/1x1/TT
  • country-flag-icons/string/1x1/TV
  • country-flag-icons/string/1x1/TW
  • country-flag-icons/string/1x1/TZ
  • country-flag-icons/string/1x1/UA
  • country-flag-icons/string/1x1/UG
  • country-flag-icons/string/1x1/UM
  • country-flag-icons/string/1x1/US
  • country-flag-icons/string/1x1/UY
  • country-flag-icons/string/1x1/UZ
  • country-flag-icons/string/1x1/VA
  • country-flag-icons/string/1x1/VC
  • country-flag-icons/string/1x1/VE
  • country-flag-icons/string/1x1/VG
  • country-flag-icons/string/1x1/VI
  • country-flag-icons/string/1x1/VN
  • country-flag-icons/string/1x1/VU
  • country-flag-icons/string/1x1/WF
  • country-flag-icons/string/1x1/WS
  • country-flag-icons/string/1x1/XK
  • country-flag-icons/string/1x1/YE
  • country-flag-icons/string/1x1/YT
  • country-flag-icons/string/1x1/ZA
  • country-flag-icons/string/1x1/ZM
  • country-flag-icons/string/1x1/ZW
  • country-flag-icons/string/3x2
  • country-flag-icons/string/3x2/AC
  • country-flag-icons/string/3x2/AD
  • country-flag-icons/string/3x2/AE
  • country-flag-icons/string/3x2/AF
  • country-flag-icons/string/3x2/AG
  • country-flag-icons/string/3x2/AI
  • country-flag-icons/string/3x2/AL
  • country-flag-icons/string/3x2/AM
  • country-flag-icons/string/3x2/AO
  • country-flag-icons/string/3x2/AQ
  • country-flag-icons/string/3x2/AR
  • country-flag-icons/string/3x2/AS
  • country-flag-icons/string/3x2/AT
  • country-flag-icons/string/3x2/AU
  • country-flag-icons/string/3x2/AW
  • country-flag-icons/string/3x2/AX
  • country-flag-icons/string/3x2/AZ
  • country-flag-icons/string/3x2/BA
  • country-flag-icons/string/3x2/BB
  • country-flag-icons/string/3x2/BD
  • country-flag-icons/string/3x2/BE
  • country-flag-icons/string/3x2/BF
  • country-flag-icons/string/3x2/BG
  • country-flag-icons/string/3x2/BH
  • country-flag-icons/string/3x2/BI
  • country-flag-icons/string/3x2/BJ
  • country-flag-icons/string/3x2/BL
  • country-flag-icons/string/3x2/BM
  • country-flag-icons/string/3x2/BN
  • country-flag-icons/string/3x2/BO
  • country-flag-icons/string/3x2/BQ
  • country-flag-icons/string/3x2/BR
  • country-flag-icons/string/3x2/BS
  • country-flag-icons/string/3x2/BT
  • country-flag-icons/string/3x2/BV
  • country-flag-icons/string/3x2/BW
  • country-flag-icons/string/3x2/BY
  • country-flag-icons/string/3x2/BZ
  • country-flag-icons/string/3x2/CA
  • country-flag-icons/string/3x2/CC
  • country-flag-icons/string/3x2/CD
  • country-flag-icons/string/3x2/CF
  • country-flag-icons/string/3x2/CG
  • country-flag-icons/string/3x2/CH
  • country-flag-icons/string/3x2/CI
  • country-flag-icons/string/3x2/CK
  • country-flag-icons/string/3x2/CL
  • country-flag-icons/string/3x2/CM
  • country-flag-icons/string/3x2/CN
  • country-flag-icons/string/3x2/CO
  • country-flag-icons/string/3x2/CR
  • country-flag-icons/string/3x2/CU
  • country-flag-icons/string/3x2/CV
  • country-flag-icons/string/3x2/CW
  • country-flag-icons/string/3x2/CX
  • country-flag-icons/string/3x2/CY
  • country-flag-icons/string/3x2/CZ
  • country-flag-icons/string/3x2/DE
  • country-flag-icons/string/3x2/DJ
  • country-flag-icons/string/3x2/DK
  • country-flag-icons/string/3x2/DM
  • country-flag-icons/string/3x2/DO
  • country-flag-icons/string/3x2/DZ
  • country-flag-icons/string/3x2/EC
  • country-flag-icons/string/3x2/EE
  • country-flag-icons/string/3x2/EG
  • country-flag-icons/string/3x2/EH
  • country-flag-icons/string/3x2/ER
  • country-flag-icons/string/3x2/ES
  • country-flag-icons/string/3x2/ET
  • country-flag-icons/string/3x2/EU
  • country-flag-icons/string/3x2/FI
  • country-flag-icons/string/3x2/FJ
  • country-flag-icons/string/3x2/FK
  • country-flag-icons/string/3x2/FM
  • country-flag-icons/string/3x2/FO
  • country-flag-icons/string/3x2/FR
  • country-flag-icons/string/3x2/GA
  • country-flag-icons/string/3x2/GB
  • country-flag-icons/string/3x2/GD
  • country-flag-icons/string/3x2/GE
  • country-flag-icons/string/3x2/GF
  • country-flag-icons/string/3x2/GG
  • country-flag-icons/string/3x2/GH
  • country-flag-icons/string/3x2/GI
  • country-flag-icons/string/3x2/GL
  • country-flag-icons/string/3x2/GM
  • country-flag-icons/string/3x2/GN
  • country-flag-icons/string/3x2/GP
  • country-flag-icons/string/3x2/GQ
  • country-flag-icons/string/3x2/GR
  • country-flag-icons/string/3x2/GS
  • country-flag-icons/string/3x2/GT
  • country-flag-icons/string/3x2/GU
  • country-flag-icons/string/3x2/GW
  • country-flag-icons/string/3x2/GY
  • country-flag-icons/string/3x2/HK
  • country-flag-icons/string/3x2/HM
  • country-flag-icons/string/3x2/HN
  • country-flag-icons/string/3x2/HR
  • country-flag-icons/string/3x2/HT
  • country-flag-icons/string/3x2/HU
  • country-flag-icons/string/3x2/IC
  • country-flag-icons/string/3x2/ID
  • country-flag-icons/string/3x2/IE
  • country-flag-icons/string/3x2/IL
  • country-flag-icons/string/3x2/IM
  • country-flag-icons/string/3x2/IN
  • country-flag-icons/string/3x2/IO
  • country-flag-icons/string/3x2/IQ
  • country-flag-icons/string/3x2/IR
  • country-flag-icons/string/3x2/IS
  • country-flag-icons/string/3x2/IT
  • country-flag-icons/string/3x2/JE
  • country-flag-icons/string/3x2/JM
  • country-flag-icons/string/3x2/JO
  • country-flag-icons/string/3x2/JP
  • country-flag-icons/string/3x2/KE
  • country-flag-icons/string/3x2/KG
  • country-flag-icons/string/3x2/KH
  • country-flag-icons/string/3x2/KI
  • country-flag-icons/string/3x2/KM
  • country-flag-icons/string/3x2/KN
  • country-flag-icons/string/3x2/KP
  • country-flag-icons/string/3x2/KR
  • country-flag-icons/string/3x2/KW
  • country-flag-icons/string/3x2/KY
  • country-flag-icons/string/3x2/KZ
  • country-flag-icons/string/3x2/LA
  • country-flag-icons/string/3x2/LB
  • country-flag-icons/string/3x2/LC
  • country-flag-icons/string/3x2/LI
  • country-flag-icons/string/3x2/LK
  • country-flag-icons/string/3x2/LR
  • country-flag-icons/string/3x2/LS
  • country-flag-icons/string/3x2/LT
  • country-flag-icons/string/3x2/LU
  • country-flag-icons/string/3x2/LV
  • country-flag-icons/string/3x2/LY
  • country-flag-icons/string/3x2/MA
  • country-flag-icons/string/3x2/MC
  • country-flag-icons/string/3x2/MD
  • country-flag-icons/string/3x2/ME
  • country-flag-icons/string/3x2/MF
  • country-flag-icons/string/3x2/MG
  • country-flag-icons/string/3x2/MH
  • country-flag-icons/string/3x2/MK
  • country-flag-icons/string/3x2/ML
  • country-flag-icons/string/3x2/MM
  • country-flag-icons/string/3x2/MN
  • country-flag-icons/string/3x2/MO
  • country-flag-icons/string/3x2/MP
  • country-flag-icons/string/3x2/MQ
  • country-flag-icons/string/3x2/MR
  • country-flag-icons/string/3x2/MS
  • country-flag-icons/string/3x2/MT
  • country-flag-icons/string/3x2/MU
  • country-flag-icons/string/3x2/MV
  • country-flag-icons/string/3x2/MW
  • country-flag-icons/string/3x2/MX
  • country-flag-icons/string/3x2/MY
  • country-flag-icons/string/3x2/MZ
  • country-flag-icons/string/3x2/NA
  • country-flag-icons/string/3x2/NC
  • country-flag-icons/string/3x2/NE
  • country-flag-icons/string/3x2/NF
  • country-flag-icons/string/3x2/NG
  • country-flag-icons/string/3x2/NI
  • country-flag-icons/string/3x2/NL
  • country-flag-icons/string/3x2/NO
  • country-flag-icons/string/3x2/NP
  • country-flag-icons/string/3x2/NR
  • country-flag-icons/string/3x2/NU
  • country-flag-icons/string/3x2/NZ
  • country-flag-icons/string/3x2/OM
  • country-flag-icons/string/3x2/PA
  • country-flag-icons/string/3x2/PE
  • country-flag-icons/string/3x2/PF
  • country-flag-icons/string/3x2/PG
  • country-flag-icons/string/3x2/PH
  • country-flag-icons/string/3x2/PK
  • country-flag-icons/string/3x2/PL
  • country-flag-icons/string/3x2/PM
  • country-flag-icons/string/3x2/PN
  • country-flag-icons/string/3x2/PR
  • country-flag-icons/string/3x2/PS
  • country-flag-icons/string/3x2/PT
  • country-flag-icons/string/3x2/PW
  • country-flag-icons/string/3x2/PY
  • country-flag-icons/string/3x2/QA
  • country-flag-icons/string/3x2/RE
  • country-flag-icons/string/3x2/RO
  • country-flag-icons/string/3x2/RS
  • country-flag-icons/string/3x2/RU
  • country-flag-icons/string/3x2/RW
  • country-flag-icons/string/3x2/SA
  • country-flag-icons/string/3x2/SB
  • country-flag-icons/string/3x2/SC
  • country-flag-icons/string/3x2/SD
  • country-flag-icons/string/3x2/SE
  • country-flag-icons/string/3x2/SG
  • country-flag-icons/string/3x2/SH
  • country-flag-icons/string/3x2/SI
  • country-flag-icons/string/3x2/SJ
  • country-flag-icons/string/3x2/SK
  • country-flag-icons/string/3x2/SL
  • country-flag-icons/string/3x2/SM
  • country-flag-icons/string/3x2/SN
  • country-flag-icons/string/3x2/SO
  • country-flag-icons/string/3x2/SR
  • country-flag-icons/string/3x2/SS
  • country-flag-icons/string/3x2/ST
  • country-flag-icons/string/3x2/SV
  • country-flag-icons/string/3x2/SX
  • country-flag-icons/string/3x2/SY
  • country-flag-icons/string/3x2/SZ
  • country-flag-icons/string/3x2/TA
  • country-flag-icons/string/3x2/TC
  • country-flag-icons/string/3x2/TD
  • country-flag-icons/string/3x2/TF
  • country-flag-icons/string/3x2/TG
  • country-flag-icons/string/3x2/TH
  • country-flag-icons/string/3x2/TJ
  • country-flag-icons/string/3x2/TK
  • country-flag-icons/string/3x2/TL
  • country-flag-icons/string/3x2/TM
  • country-flag-icons/string/3x2/TN
  • country-flag-icons/string/3x2/TO
  • country-flag-icons/string/3x2/TR
  • country-flag-icons/string/3x2/TT
  • country-flag-icons/string/3x2/TV
  • country-flag-icons/string/3x2/TW
  • country-flag-icons/string/3x2/TZ
  • country-flag-icons/string/3x2/UA
  • country-flag-icons/string/3x2/UG
  • country-flag-icons/string/3x2/UM
  • country-flag-icons/string/3x2/US
  • country-flag-icons/string/3x2/UY
  • country-flag-icons/string/3x2/UZ
  • country-flag-icons/string/3x2/VA
  • country-flag-icons/string/3x2/VC
  • country-flag-icons/string/3x2/VE
  • country-flag-icons/string/3x2/VG
  • country-flag-icons/string/3x2/VI
  • country-flag-icons/string/3x2/VN
  • country-flag-icons/string/3x2/VU
  • country-flag-icons/string/3x2/WF
  • country-flag-icons/string/3x2/WS
  • country-flag-icons/string/3x2/XK
  • country-flag-icons/string/3x2/YE
  • country-flag-icons/string/3x2/YT
  • country-flag-icons/string/3x2/ZA
  • country-flag-icons/string/3x2/ZM
  • country-flag-icons/string/3x2/ZW
  • country-flag-icons/unicode

Readme

country-flag-icons

npm version npm downloads

Vector country flag icons in 3:2 aspect ratio.

  • Optimized for small size on screen (little detail, minimalism).
  • Small file size.
  • Comes with React components for all flags (exported from /react subpackage).

See 3:2 flags

Install

npm install country-flag-icons --save

API

hasFlag(country: string): boolean

Tells whether there's a flag for a country.

import { hasFlag } from 'country-flag-icons'

hasFlag('US') === true
hasFlag('ZZ') === false

countries: string[]

The list of supported countries.

import { countries } from 'country-flag-icons'

countries.includes('US') === true
countries.includes('ZZ') === false

Web

Flags can be linked directly from this library's gitlab pages website, or from a github pages mirror, which seems a tiny bit faster.

<img
  alt="United States"
  src="http://purecatamphetamine.github.io/country-flag-icons/3x2/US.svg"/>

Flags can also be used in the form of CSS classes imported from country-flag-icons/3x2/flags.css where all flag icons are inlined as background-image data URLs. CSS flag icon height can be set via --CountryFlagIcon-height CSS variable.

What if my project doesn't use CSS variables?

In that case, the default flag icon height is 1em, and to change it, just set a font-size:

/* Set flag icon height to 24px. */
[class*=' flag:'], [class^='flag:'] {
  font-size: 24px;
}

Unicode

Unicode flag icons are available under the /unicode export.

import getUnicodeFlagIcon from 'country-flag-icons/unicode'

getUnicodeFlagIcon('US') === 'πŸ‡ΊπŸ‡Έ'
getUnicodeFlagIcon('ZZ') === 'πŸ‡ΏπŸ‡Ώ'

Unicode flag icons ("Regional Indicator Symbols") were introduced in 2010 in Unicode version 6.0.

Older operating systems might not support Unicode flags, either rendering "missing" (rectangle) characters (if their system doesn't support country flags), or displaying two-letter country codes instead of emoji flag images. For example, Windows 10 currently (01.01.2020) doesn't support Unicode country flags, and displays two-letter country codes instead of emoji flag images.

React

React components for all flags are available at /react/3x2 export.

import { US } from 'country-flag-icons/react/3x2'

<US title="United States" className="..."/>

Or directly, if your bundler doesn't support tree shaking:

import US from 'country-flag-icons/react/3x2/US'

<US title="United States" className="..."/>

Vue

There's an experimental component for Vue 3.

String

All flags can also be imported as strings:

import { US } from 'country-flag-icons/string/3x2'

console.log(US) // > '<svg xmlns="http://www.w3.org/2000/svg" ...</svg>'

Or directly, if your bundler doesn't support tree shaking:

import US from 'country-flag-icons/string/3x2/US'

console.log(US) // > '<svg xmlns="http://www.w3.org/2000/svg" ...'

Criteria for inclusion

See Criteria for inclusion section on the ISO-3166-1 standard Wikipedia page.

This library includes the flags for all countries, territories, or areas of geographical interest that have an officially assigned code in the ISO-3166-1 standard.

Additionally, this library includes a European Union (EU) flag because it's part of the "exceptional reservations" of the ISO-3166-1 standard and there have been requests to do so.

So, the full list is all of the 249 officially assigned ISO-3166-1 codes, plus:

  • AC β€” Ascension Island. Exceptional reservation. Has it's own phone numbering plan.
  • TA β€” Tristan da Cunha. Exceptional reservation. Has it's own phone numbering plan.
  • IC β€” Canary Islands. Exceptional reservation. Doesn't have its own phone numbering plan.
  • EU β€” European Union. Exceptional reservation. Doesn't have its own phone numbering plan.
  • XK β€” Kosovo. Disputed territory. Not an officially assigned code. Has it's own phone numbering plan.

GitHub

On March 9th, 2020, GitHub, Inc. silently banned my account (erasing all my repos, issues and comments) without any notice or explanation. Because of that, all source codes had to be promptly moved to GitLab. The GitHub repo is now only used as a backup (you can star the repo there too), and the primary repo is now the GitLab one. Issues can be reported in any repo.

Alternatives

Credits

I used Google image search for flag references, and various country flag packs (including FlagKit / flagpack) for design ideas. Sometimes there was no need to re-draw a flag β€” usually in cases when a flag is just a set of colored stripes and there already is an SVG version of it somewhere at Wikipedia or some other free flag pack, so in those cases I simply copied those flags (because they look the same in every flag pack).

Some countries officially use their "mother" country flag (those used to be colonies). For example, BV (Bouvet Island) and SJ (Svalbard and Jan Mayen) use the flag of Norway; GP (Guadeloupe) and RE (RΓ©union) use the flag of France.

CSS flag icons feature has been submitted by @mindplay-dk.