Giter Site home page Giter Site logo

globalartinc / round-flags Goto Github PK

View Code? Open in Web Editor NEW
8.0 1.0 3.0 3.92 MB

A collection of 300+ minimal rounded SVG country flags

License: MIT License

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

round-flags's Introduction

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 of a country).

For example, the following code:

<img src="https://GlobalArtInc.github.io/round-flags/flags/br.svg" width="48">
<img src="https://GlobalArtInc.github.io/round-flags/flags/cn.svg" width="48">
<img src="https://GlobalArtInc.github.io/round-flags/flags/gb.svg" width="48">
<img src="https://GlobalArtInc.github.io/round-flags/flags/id.svg" width="48">
<img src="https://GlobalArtInc.github.io/round-flags/flags/in.svg" width="48">
<img src="https://GlobalArtInc.github.io/round-flags/flags/ng.svg" width="48">
<img src="https://GlobalArtInc.github.io/round-flags/flags/ru.svg" width="48">
<img src="https://GlobalArtInc.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/GlobalArtInc/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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.