hampusborgos / country-flags Goto Github PK
View Code? Open in Web Editor NEWSVG and PNG renders of all countries' flags.
SVG and PNG renders of all countries' flags.
What is the license of this project?
Under what conditions can I use, modify, and share the flag images themselves?
https://en.wikipedia.org/wiki/Flag_of_Qatar
Current ratio of 18:75 is a significantly wider than the correct ratio of 11:28
There's no license for this project, which puts using them in a legally gray area.
I must be doing something dumb but got the error missing script: build-pngs
Here's what I did:
npm install -g svgexport imagemin-cli
npm run build-pngs -- 20:
I don't want to run this manually so how can I get this working?
Hi,
I have identified some missing flags: HM, BV & UM.
Good work, man, anyway :)
Hi,
First of all, this is a great resource mate, thank you so much.
I need to generate flags with the same dimensions but when I try that I've got contained flags which has transparent paddings vertically or horizontally. It is cool by the way but sometimes we need to force that flags to look as same as possible.
I achive that via Photoshop's batch actions but if you covered that in this repo, I believe someone definetely use it.
Thanks.
What is the intended license of this repo? Would you be willing to add a LICENSE file?
https://docs.github.com/en/free-pro-team@latest/github/creating-cloning-and-archiving-repositories/licensing-a-repository
For example, if you're happy to apply a permissive license, you could use Apache License 2.0:
https://github.com/google/new-project/blob/master/LICENSE
Please add flag for next countries/places:
Ascension Island
Antarctica
Caribbean Netherlands
Bouvet Island
Clipperton Island
Diego Garcia
Ceuta & Melilla
Western Sahara
French Guiana
Guadeloupe
Heard & McDonald Islands
Canary Islands
St. Martin
St. Pierre & Miquelon
Svalbard & Jan Mayen
Tristan da Cunha
U.S. Outlying Islands
Wallis & Futuna
Kosovo
Mayotte
sorry it is ok
With the White background. Some one?
I want to know if I can use this in commercial project.
Please remove tw.svg from your repository.
It's an international agreement that Taiwan Province in a part of China(PRC).
Taiwan Province, People's Republic of China
Thank you for your effort in opensource movement.
I was creating an index.js file so that I can actually import named files, but there is a problem importing at least one of the flags, just use this code to repro
import adFlagIcon from 'svg-country-flags/svg/ad.svg';
import aeFlagIcon from 'svg-country-flags/svg/ae.svg';
import afFlagIcon from 'svg-country-flags/svg/af.svg';
import agFlagIcon from 'svg-country-flags/svg/ag.svg';
import aiFlagIcon from 'svg-country-flags/svg/ai.svg';
import alFlagIcon from 'svg-country-flags/svg/al.svg';
import amFlagIcon from 'svg-country-flags/svg/am.svg';
import anFlagIcon from 'svg-country-flags/svg/an.svg';
import aoFlagIcon from 'svg-country-flags/svg/ao.svg';
import aqFlagIcon from 'svg-country-flags/svg/aq.svg';
import arFlagIcon from 'svg-country-flags/svg/ar.svg';
import asFlagIcon from 'svg-country-flags/svg/as.svg';
import atFlagIcon from 'svg-country-flags/svg/at.svg';
import auFlagIcon from 'svg-country-flags/svg/au.svg';
import awFlagIcon from 'svg-country-flags/svg/aw.svg';
import axFlagIcon from 'svg-country-flags/svg/ax.svg';
import azFlagIcon from 'svg-country-flags/svg/az.svg';
import baFlagIcon from 'svg-country-flags/svg/ba.svg';
import bbFlagIcon from 'svg-country-flags/svg/bb.svg';
import bdFlagIcon from 'svg-country-flags/svg/bd.svg';
import beFlagIcon from 'svg-country-flags/svg/be.svg';
import bfFlagIcon from 'svg-country-flags/svg/bf.svg';
import bgFlagIcon from 'svg-country-flags/svg/bg.svg';
import bhFlagIcon from 'svg-country-flags/svg/bh.svg';
import biFlagIcon from 'svg-country-flags/svg/bi.svg';
import bjFlagIcon from 'svg-country-flags/svg/bj.svg';
import blFlagIcon from 'svg-country-flags/svg/bl.svg';
import bmFlagIcon from 'svg-country-flags/svg/bm.svg';
import bnFlagIcon from 'svg-country-flags/svg/bn.svg';
import boFlagIcon from 'svg-country-flags/svg/bo.svg';
import bqFlagIcon from 'svg-country-flags/svg/bq.svg';
import brFlagIcon from 'svg-country-flags/svg/br.svg';
import bsFlagIcon from 'svg-country-flags/svg/bs.svg';
import btFlagIcon from 'svg-country-flags/svg/bt.svg';
import bvFlagIcon from 'svg-country-flags/svg/bv.svg';
import bwFlagIcon from 'svg-country-flags/svg/bw.svg';
import byFlagIcon from 'svg-country-flags/svg/by.svg';
import bzFlagIcon from 'svg-country-flags/svg/bz.svg';
import caFlagIcon from 'svg-country-flags/svg/ca.svg';
import ccFlagIcon from 'svg-country-flags/svg/cc.svg';
import cdFlagIcon from 'svg-country-flags/svg/cd.svg';
import cfFlagIcon from 'svg-country-flags/svg/cf.svg';
import cgFlagIcon from 'svg-country-flags/svg/cg.svg';
import chFlagIcon from 'svg-country-flags/svg/ch.svg';
import ciFlagIcon from 'svg-country-flags/svg/ci.svg';
import ckFlagIcon from 'svg-country-flags/svg/ck.svg';
import clFlagIcon from 'svg-country-flags/svg/cl.svg';
import cmFlagIcon from 'svg-country-flags/svg/cm.svg';
import cnFlagIcon from 'svg-country-flags/svg/cn.svg';
import coFlagIcon from 'svg-country-flags/svg/co.svg';
import crFlagIcon from 'svg-country-flags/svg/cr.svg';
import cuFlagIcon from 'svg-country-flags/svg/cu.svg';
import cvFlagIcon from 'svg-country-flags/svg/cv.svg';
import cwFlagIcon from 'svg-country-flags/svg/cw.svg';
import cxFlagIcon from 'svg-country-flags/svg/cx.svg';
import cyFlagIcon from 'svg-country-flags/svg/cy.svg';
import czFlagIcon from 'svg-country-flags/svg/cz.svg';
import deFlagIcon from 'svg-country-flags/svg/de.svg';
import djFlagIcon from 'svg-country-flags/svg/dj.svg';
import dkFlagIcon from 'svg-country-flags/svg/dk.svg';
import dmFlagIcon from 'svg-country-flags/svg/dm.svg';
import doFlagIcon from 'svg-country-flags/svg/do.svg';
import dzFlagIcon from 'svg-country-flags/svg/dz.svg';
import ecFlagIcon from 'svg-country-flags/svg/ec.svg';
import eeFlagIcon from 'svg-country-flags/svg/ee.svg';
import egFlagIcon from 'svg-country-flags/svg/eg.svg';
import ehFlagIcon from 'svg-country-flags/svg/eh.svg';
import erFlagIcon from 'svg-country-flags/svg/er.svg';
import esFlagIcon from 'svg-country-flags/svg/es.svg';
import etFlagIcon from 'svg-country-flags/svg/et.svg';
import euFlagIcon from 'svg-country-flags/svg/eu.svg';
import fiFlagIcon from 'svg-country-flags/svg/fi.svg';
import fjFlagIcon from 'svg-country-flags/svg/fj.svg';
import fkFlagIcon from 'svg-country-flags/svg/fk.svg';
import fmFlagIcon from 'svg-country-flags/svg/fm.svg';
import foFlagIcon from 'svg-country-flags/svg/fo.svg';
import frFlagIcon from 'svg-country-flags/svg/fr.svg';
import gaFlagIcon from 'svg-country-flags/svg/ga.svg';
import gbEngFlagIcon from 'svg-country-flags/svg/gb-eng.svg';
import gbNirFlagIcon from 'svg-country-flags/svg/gb-nir.svg';
import gbSctFlagIcon from 'svg-country-flags/svg/gb-sct.svg';
import gbWlsFlagIcon from 'svg-country-flags/svg/gb-wls.svg';
import gbFlagIcon from 'svg-country-flags/svg/gb.svg';
import gdFlagIcon from 'svg-country-flags/svg/gd.svg';
import geFlagIcon from 'svg-country-flags/svg/ge.svg';
import gfFlagIcon from 'svg-country-flags/svg/gf.svg';
import ggFlagIcon from 'svg-country-flags/svg/gg.svg';
import ghFlagIcon from 'svg-country-flags/svg/gh.svg';
import giFlagIcon from 'svg-country-flags/svg/gi.svg';
import glFlagIcon from 'svg-country-flags/svg/gl.svg';
import gmFlagIcon from 'svg-country-flags/svg/gm.svg';
import gnFlagIcon from 'svg-country-flags/svg/gn.svg';
import gpFlagIcon from 'svg-country-flags/svg/gp.svg';
import gqFlagIcon from 'svg-country-flags/svg/gq.svg';
import grFlagIcon from 'svg-country-flags/svg/gr.svg';
import gsFlagIcon from 'svg-country-flags/svg/gs.svg';
import gtFlagIcon from 'svg-country-flags/svg/gt.svg';
import guFlagIcon from 'svg-country-flags/svg/gu.svg';
import gwFlagIcon from 'svg-country-flags/svg/gw.svg';
import gyFlagIcon from 'svg-country-flags/svg/gy.svg';
import hkFlagIcon from 'svg-country-flags/svg/hk.svg';
import hmFlagIcon from 'svg-country-flags/svg/hm.svg';
import hnFlagIcon from 'svg-country-flags/svg/hn.svg';
import hrFlagIcon from 'svg-country-flags/svg/hr.svg';
import htFlagIcon from 'svg-country-flags/svg/ht.svg';
import huFlagIcon from 'svg-country-flags/svg/hu.svg';
import idFlagIcon from 'svg-country-flags/svg/id.svg';
import ieFlagIcon from 'svg-country-flags/svg/ie.svg';
import ilFlagIcon from 'svg-country-flags/svg/il.svg';
import imFlagIcon from 'svg-country-flags/svg/im.svg';
import inFlagIcon from 'svg-country-flags/svg/in.svg';
import ioFlagIcon from 'svg-country-flags/svg/io.svg';
import iqFlagIcon from 'svg-country-flags/svg/iq.svg';
import irFlagIcon from 'svg-country-flags/svg/ir.svg';
import isFlagIcon from 'svg-country-flags/svg/is.svg';
import itFlagIcon from 'svg-country-flags/svg/it.svg';
import jeFlagIcon from 'svg-country-flags/svg/je.svg';
import jmFlagIcon from 'svg-country-flags/svg/jm.svg';
import joFlagIcon from 'svg-country-flags/svg/jo.svg';
import jpFlagIcon from 'svg-country-flags/svg/jp.svg';
import keFlagIcon from 'svg-country-flags/svg/ke.svg';
import kgFlagIcon from 'svg-country-flags/svg/kg.svg';
import khFlagIcon from 'svg-country-flags/svg/kh.svg';
import kiFlagIcon from 'svg-country-flags/svg/ki.svg';
import kmFlagIcon from 'svg-country-flags/svg/km.svg';
import knFlagIcon from 'svg-country-flags/svg/kn.svg';
import kpFlagIcon from 'svg-country-flags/svg/kp.svg';
import krFlagIcon from 'svg-country-flags/svg/kr.svg';
import kwFlagIcon from 'svg-country-flags/svg/kw.svg';
import kyFlagIcon from 'svg-country-flags/svg/ky.svg';
import kzFlagIcon from 'svg-country-flags/svg/kz.svg';
import laFlagIcon from 'svg-country-flags/svg/la.svg';
import lbFlagIcon from 'svg-country-flags/svg/lb.svg';
import lcFlagIcon from 'svg-country-flags/svg/lc.svg';
import liFlagIcon from 'svg-country-flags/svg/li.svg';
import lkFlagIcon from 'svg-country-flags/svg/lk.svg';
import lrFlagIcon from 'svg-country-flags/svg/lr.svg';
import lsFlagIcon from 'svg-country-flags/svg/ls.svg';
import ltFlagIcon from 'svg-country-flags/svg/lt.svg';
import luFlagIcon from 'svg-country-flags/svg/lu.svg';
import lvFlagIcon from 'svg-country-flags/svg/lv.svg';
import lyFlagIcon from 'svg-country-flags/svg/ly.svg';
import maFlagIcon from 'svg-country-flags/svg/ma.svg';
import mcFlagIcon from 'svg-country-flags/svg/mc.svg';
import mdFlagIcon from 'svg-country-flags/svg/md.svg';
import meFlagIcon from 'svg-country-flags/svg/me.svg';
import mfFlagIcon from 'svg-country-flags/svg/mf.svg';
import mgFlagIcon from 'svg-country-flags/svg/mg.svg';
import mhFlagIcon from 'svg-country-flags/svg/mh.svg';
import mkFlagIcon from 'svg-country-flags/svg/mk.svg';
import mlFlagIcon from 'svg-country-flags/svg/ml.svg';
import mmFlagIcon from 'svg-country-flags/svg/mm.svg';
import mnFlagIcon from 'svg-country-flags/svg/mn.svg';
import moFlagIcon from 'svg-country-flags/svg/mo.svg';
import mpFlagIcon from 'svg-country-flags/svg/mp.svg';
import mqFlagIcon from 'svg-country-flags/svg/mq.svg';
import mrFlagIcon from 'svg-country-flags/svg/mr.svg';
import msFlagIcon from 'svg-country-flags/svg/ms.svg';
import mtFlagIcon from 'svg-country-flags/svg/mt.svg';
import muFlagIcon from 'svg-country-flags/svg/mu.svg';
import mvFlagIcon from 'svg-country-flags/svg/mv.svg';
import mwFlagIcon from 'svg-country-flags/svg/mw.svg';
import mxFlagIcon from 'svg-country-flags/svg/mx.svg';
import myFlagIcon from 'svg-country-flags/svg/my.svg';
import mzFlagIcon from 'svg-country-flags/svg/mz.svg';
import naFlagIcon from 'svg-country-flags/svg/na.svg';
import ncFlagIcon from 'svg-country-flags/svg/nc.svg';
import neFlagIcon from 'svg-country-flags/svg/ne.svg';
import nfFlagIcon from 'svg-country-flags/svg/nf.svg';
import ngFlagIcon from 'svg-country-flags/svg/ng.svg';
import niFlagIcon from 'svg-country-flags/svg/ni.svg';
import nlFlagIcon from 'svg-country-flags/svg/nl.svg';
import noFlagIcon from 'svg-country-flags/svg/no.svg';
import npFlagIcon from 'svg-country-flags/svg/np.svg';
import nrFlagIcon from 'svg-country-flags/svg/nr.svg';
import nuFlagIcon from 'svg-country-flags/svg/nu.svg';
import nzFlagIcon from 'svg-country-flags/svg/nz.svg';
import omFlagIcon from 'svg-country-flags/svg/om.svg';
import paFlagIcon from 'svg-country-flags/svg/pa.svg';
import peFlagIcon from 'svg-country-flags/svg/pe.svg';
import pfFlagIcon from 'svg-country-flags/svg/pf.svg';
import pgFlagIcon from 'svg-country-flags/svg/pg.svg';
import phFlagIcon from 'svg-country-flags/svg/ph.svg';
import pkFlagIcon from 'svg-country-flags/svg/pk.svg';
import plFlagIcon from 'svg-country-flags/svg/pl.svg';
import pmFlagIcon from 'svg-country-flags/svg/pm.svg';
import pnFlagIcon from 'svg-country-flags/svg/pn.svg';
import prFlagIcon from 'svg-country-flags/svg/pr.svg';
import psFlagIcon from 'svg-country-flags/svg/ps.svg';
import ptFlagIcon from 'svg-country-flags/svg/pt.svg';
import pwFlagIcon from 'svg-country-flags/svg/pw.svg';
import pyFlagIcon from 'svg-country-flags/svg/py.svg';
import qaFlagIcon from 'svg-country-flags/svg/qa.svg';
import reFlagIcon from 'svg-country-flags/svg/re.svg';
import roFlagIcon from 'svg-country-flags/svg/ro.svg';
import rsFlagIcon from 'svg-country-flags/svg/rs.svg';
import ruFlagIcon from 'svg-country-flags/svg/ru.svg';
import rwFlagIcon from 'svg-country-flags/svg/rw.svg';
import saFlagIcon from 'svg-country-flags/svg/sa.svg';
import sbFlagIcon from 'svg-country-flags/svg/sb.svg';
import scFlagIcon from 'svg-country-flags/svg/sc.svg';
import sdFlagIcon from 'svg-country-flags/svg/sd.svg';
import seFlagIcon from 'svg-country-flags/svg/se.svg';
import sgFlagIcon from 'svg-country-flags/svg/sg.svg';
import shFlagIcon from 'svg-country-flags/svg/sh.svg';
import siFlagIcon from 'svg-country-flags/svg/si.svg';
import sjFlagIcon from 'svg-country-flags/svg/sj.svg';
import skFlagIcon from 'svg-country-flags/svg/sk.svg';
import slFlagIcon from 'svg-country-flags/svg/sl.svg';
import smFlagIcon from 'svg-country-flags/svg/sm.svg';
import snFlagIcon from 'svg-country-flags/svg/sn.svg';
import soFlagIcon from 'svg-country-flags/svg/so.svg';
import srFlagIcon from 'svg-country-flags/svg/sr.svg';
import ssFlagIcon from 'svg-country-flags/svg/ss.svg';
import stFlagIcon from 'svg-country-flags/svg/st.svg';
import svFlagIcon from 'svg-country-flags/svg/sv.svg';
import sxFlagIcon from 'svg-country-flags/svg/sx.svg';
import syFlagIcon from 'svg-country-flags/svg/sy.svg';
import szFlagIcon from 'svg-country-flags/svg/sz.svg';
import tcFlagIcon from 'svg-country-flags/svg/tc.svg';
import tdFlagIcon from 'svg-country-flags/svg/td.svg';
import tfFlagIcon from 'svg-country-flags/svg/tf.svg';
import tgFlagIcon from 'svg-country-flags/svg/tg.svg';
import thFlagIcon from 'svg-country-flags/svg/th.svg';
import tjFlagIcon from 'svg-country-flags/svg/tj.svg';
import tkFlagIcon from 'svg-country-flags/svg/tk.svg';
import tlFlagIcon from 'svg-country-flags/svg/tl.svg';
import tmFlagIcon from 'svg-country-flags/svg/tm.svg';
import tnFlagIcon from 'svg-country-flags/svg/tn.svg';
import toFlagIcon from 'svg-country-flags/svg/to.svg';
import trFlagIcon from 'svg-country-flags/svg/tr.svg';
import ttFlagIcon from 'svg-country-flags/svg/tt.svg';
import tvFlagIcon from 'svg-country-flags/svg/tv.svg';
import twFlagIcon from 'svg-country-flags/svg/tw.svg';
import tzFlagIcon from 'svg-country-flags/svg/tz.svg';
import uaFlagIcon from 'svg-country-flags/svg/ua.svg';
import ugFlagIcon from 'svg-country-flags/svg/ug.svg';
import umFlagIcon from 'svg-country-flags/svg/um.svg';
import usFlagIcon from 'svg-country-flags/svg/us.svg';
import uyFlagIcon from 'svg-country-flags/svg/uy.svg';
import uzFlagIcon from 'svg-country-flags/svg/uz.svg';
import vaFlagIcon from 'svg-country-flags/svg/va.svg';
import vcFlagIcon from 'svg-country-flags/svg/vc.svg';
import veFlagIcon from 'svg-country-flags/svg/ve.svg';
import vgFlagIcon from 'svg-country-flags/svg/vg.svg';
import viFlagIcon from 'svg-country-flags/svg/vi.svg';
import vnFlagIcon from 'svg-country-flags/svg/vn.svg';
import vuFlagIcon from 'svg-country-flags/svg/vu.svg';
import wfFlagIcon from 'svg-country-flags/svg/wf.svg';
import wsFlagIcon from 'svg-country-flags/svg/ws.svg';
import xkFlagIcon from 'svg-country-flags/svg/xk.svg';
import yeFlagIcon from 'svg-country-flags/svg/ye.svg';
import ytFlagIcon from 'svg-country-flags/svg/yt.svg';
import zaFlagIcon from 'svg-country-flags/svg/za.svg';
import zmFlagIcon from 'svg-country-flags/svg/zm.svg';
import zwFlagIcon from 'svg-country-flags/svg/zw.svg';
Two words in El Salvador's flag are missing tildes.
It should be: REPÚBLICA DE EL SALVADOR EN LA AMÉRICA CENTRAL
Currently it's showing: REPUBLICA DE EL SALVADOR EN LA AMERICA CENTRAL
It makes IE11 proper rendering a nightmare.
It is an easy fix, you want a PR?
Angular menu loads each icon individually and if service worker is not enabled, that is one call per country to the backend. It is so slow.
I am wondering if it is possible to do something like mdi, where they allow a single svg file for all the icons.
This way, there would be a single call to the backend to fetch all the flags.
Something like:
npm install -g svgexport imagemin-cli
npm run build-pngs -- 200 --combined=true:
XK is a "user assigned" ISO 3166 code not designated by the standard, but used by the European Commission, Switzerland, the Deutsche Bundesbank and other organisations.
While it's not a country, and it does not have an ISO 3166 code, I think it would fit right in. Here's the SVG flag image from Wikipedia. It's country code should be "EU".
The recent TH and ZW png flag updates are much larger than the preceding ones.
I'm using countries.json
to get a list of all the flags. But EU hasn't been added.
The behaviour
using
npm run build-pngs -- :30
creates an empty folder with no images after converting SVG flags
The expected behaviour
folder is created and images are written to disk.
Hi,
this collection is great, could you add a license for them? It would make it more "secure" to use these.
How to reproduce:
npm run build-pngs -- 300:400
According to Wiki, ISO 3166-1 alpha-2, the Peru flag has a symbol in the center of the flag on the white background.
Thanks! Great work on these flags!!!
Hi, you mind adding Netherlands Antilles? It's not a country any more, but still has a country code (NA).
https://commons.wikimedia.org/wiki/File:Flag_of_the_Netherlands_Antilles_(1986%E2%80%932010).svg
To add an android vector drawable variation, can I just make a PR with the images or should I create a script?
generate sprite png for all images with css mapping.
The repository is very interesting but it seems that it should be improved by optimizing the png produced. I have tried https://tinypng.com/ on the biggest one from png250px and for all of them the optimized version is ~60% lighter without any difference being seen, even fullscreen on a desktop screen. Don't know what is the best way to apply that to all icons in the repository but that would be great.
Trying to install this package in a Vue component to be bundled with Laravel mix
var flags = require('svg-country-flags/scripts/build-pngs.js');
Getting
These dependencies were not found:
* child_process in ./node_modules/svg-country-flags/scripts/build-pngs.js
* fs in ./node_modules/svg-country-flags/scripts/build-pngs.js
To install them, you can run: npm install --save child_process fs
Installed these and still getting the same error.
This package looks great but I have no idea how to use it. If someone can tell me how it works I'd be happy to make a PR and add to the docs?
It would be great, if we can add a frame/border to the exported flags. Many of the flags use white color, so they are not properly shown when used on a white background. I know that I can do that via CSS, but I indent to use the flags on a another medium where this is not applicable.
Hey @hjnilsson
might be a stupid question, but what is the PD licence mentioned in the package.json?
Peter
I know, it's not as easy as that - you often have many languages spoken, etc..
I'm interested in the "main" language associated with each country.
So GB and US would both be "English" (as well as many others).
If you have a good source, I would be willing to make the JSON to merge into this git for others with the same problem.
Hi!
I've crossed them against the data at https://restcountries.eu/rest/v2/all to get a new collection of the flags named by its cioc, resulting in 203 flags.
I've forked your repo to https://github.com/rotoxl/country-flags to add 2 new folders, png100px_by_cioc and png250px_by_cioc, maybe you would like to add them to your repo.
Thank you very much for such a wonderful work. Good luck
The diagonal fringe on Saint Kitts and Nevis' flag is out of proportion.
The name of the place is "Antarctica," not "Antartica." That's because it's the place opposite the Arctic (not the "artic").
I know. Most people don't hear that extra 'c' in the name.
See Caribbean Netherlands on Wikipedia. This is their official flag.
The number of flags in the 1000px folder is one more than the 250px folder.
Is it me?
When I open the SVGs in Illustrator, they are all over the place.
Thanks
If you want to use scss classes: use this code:
// =============================================================================
// flags of the world classes
// =============================================================================
$flags: "AD",
"AE",
"AF",
"AG",
"AI",
"AL",
"AM",
"AN",
"AO",
"AQ",
"AR",
"AS",
"AT",
"AU",
"AW",
"AX",
"AZ",
"BA",
"BB",
"BD",
"BE",
"BF",
"BG",
"BH",
"BI",
"BJ",
"BL",
"BM",
"BN",
"BO",
"BQ",
"BR",
"BS",
"BT",
"BV",
"BW",
"BY",
"BZ",
"CA",
"CC",
"CD",
"CF",
"CG",
"CH",
"CI",
"CK",
"CL",
"CM",
"CN",
"CO",
"CR",
"CU",
"CV",
"CW",
"CX",
"CY",
"CZ",
"DE",
"DJ",
"DK",
"DM",
"DO",
"DZ",
"EC",
"EE",
"EG",
"EH",
"ER",
"ES",
"ET",
"EU",
"FI",
"FJ",
"FK",
"FM",
"FO",
"FR",
"GA",
"GB",
"GB",
"GB",
"GB",
"GB",
"GD",
"GE",
"GF",
"GG",
"GH",
"GI",
"GL",
"GM",
"GN",
"GP",
"GQ",
"GR",
"GS",
"GT",
"GU",
"GW",
"GY",
"HK",
"HM",
"HN",
"HR",
"HT",
"HU",
"ID",
"IE",
"IL",
"IM",
"IN",
"IO",
"IQ",
"IR",
"IS",
"IT",
"JE",
"JM",
"JO",
"JP",
"KE",
"KG",
"KH",
"KI",
"KM",
"KN",
"KP",
"KR",
"KW",
"KY",
"KZ",
"LA",
"LB",
"LC",
"LI",
"LK",
"LR",
"LS",
"LT",
"LU",
"LV",
"LY",
"MA",
"MC",
"MD",
"ME",
"MF",
"MG",
"MH",
"MK",
"ML",
"MM",
"MN",
"MO",
"MP",
"MQ",
"MR",
"MS",
"MT",
"MU",
"MV",
"MW",
"MX",
"MY",
"MZ",
"NA",
"NC",
"NE",
"NF",
"NG",
"NI",
"NL",
"NO",
"NP",
"NR",
"NU",
"NZ",
"OM",
"PA",
"PE",
"PF",
"PG",
"PH",
"PK",
"PL",
"PM",
"PN",
"PR",
"PS",
"PT",
"PW",
"PY",
"QA",
"RE",
"RO",
"RS",
"RU",
"RW",
"SA",
"SB",
"SC",
"SD",
"SE",
"SG",
"SH",
"SI",
"SJ",
"SK",
"SL",
"SM",
"SN",
"SO",
"SR",
"SS",
"ST",
"SV",
"SX",
"SY",
"SZ",
"TC",
"TD",
"TF",
"TG",
"TH",
"TJ",
"TK",
"TL",
"TM",
"TN",
"TO",
"TR",
"TT",
"TV",
"TW",
"TZ",
"UA",
"UG",
"UM",
"US",
"UY",
"UZ",
"VA",
"VC",
"VE",
"VG",
"VI",
"VN",
"VU",
"WF",
"XK",
"WS",
"YE",
"YT",
"ZA",
"ZM",
"ZW";
@each $flag in $flags {
$name: to-lower-case($flag);
.flag-#{$name} {
background: url('../../node_modules/svg-country-flags/svg/#{$name}.svg')
}
}
Can we please adjust the example to reflect the path changes in version [1.1.0] - 2018-12-24 ?
According to https://pub.dartlang.org/packages/country_icons#-changelog-tab-
I took awhile looking for the reason it is failing to load and trying to see the name, it would be great if we update the example.
Thank you for great library
It seems like the flag of Zimbwabwe is missing in png1000px and png250px (although it's present in png100px and Zimbwabwe is on the list in countries.json).
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.