An open API service indexing awesome lists of open source software.

https://github.com/globalartinc/round-flags

A collection of 300+ minimal rounded SVG country flags
https://github.com/globalartinc/round-flags

circle circular countries country country-flags design flags icon-pack icons minimal minimalistic round svg svg-icons svgo

Last synced: 6 months ago
JSON representation

A collection of 300+ minimal rounded SVG country flags

Awesome Lists containing this project

README

          

# round-flags

A collection of circular SVG country flags.

## Usage

```
https://GlobalArtInc.github.io/round-flags/flags/xx.svg
```
(Where `xx` is the [ISO 3166-1 alpha-2 code](https://www.iso.org/obp/ui/#search/code/) of a country).

For example, the following code:
```html








```

...produces this:









To view all the available flags, check [the gallery](https://GlobalArtInc.github.io/round-flags/all-flags.html).

### NPM

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

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

## Contributing

To contribute, you need to have [svgo](https://github.com/svg/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:

```sh
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](LICENSE).