Skip to content

A collection of 300+ minimal rounded SVG country flags

License

Notifications You must be signed in to change notification settings

DanielleWeustenenk/round-flags

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

round-flags

A collection of circular SVG country flags.

Usage

https://globalartlimited.github.io/round-flags/flags/xx.svg

(Where xx is the ISO 3166-1 alpha-2 code of a country).

For example, the following code:

<img src="https://globalartlimited.github.io/round-flags/flags/br.svg" width="48">
<img src="https://globalartlimited.github.io/round-flags/flags/cn.svg" width="48">
<img src="https://globalartlimited.github.io/round-flags/flags/gb.svg" width="48">
<img src="https://globalartlimited.github.io/round-flags/flags/id.svg" width="48">
<img src="https://globalartlimited.github.io/round-flags/flags/in.svg" width="48">
<img src="https://globalartlimited.github.io/round-flags/flags/ng.svg" width="48">
<img src="https://globalartlimited.github.io/round-flags/flags/ru.svg" width="48">
<img src="https://globalartlimited.github.io/round-flags/flags/us.svg" width="48">

...produces this:

To view all the available flags, check the gallery.

NPM

If you want to install this package as dependency, you can install it from this GitHub repository:

npm install --save https://github.com/GlobalArtLimited/round-flags

Contributing

To contribute, you need to have svgo installed (version 1.2.0 or newer).

First, edit the relevant SVG files in the flags/ directory.

Then run svgo to optimize the SVG files:

svgo ./flags --recursive --config=svgo.yml

Then commit the changes, and submit them as a pull request.

License

This project is released under the MIT license.

About

A collection of 300+ minimal rounded SVG country flags

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • CSS 100.0%