{"repo":"yammadev/flag-icons","free":true,"listed":false,"github":"https://github.com/yammadev/flag-icons","clone":"git clone https://github.com/yammadev/flag-icons.git","description":"A beautiful svg + png + sass + css collection of 261 flags.","language":"SCSS","stars":101,"topics":["svg","png","sass","css","icons","countries","grunt","npm"],"license":"MIT","category":"ui-components","readme_excerpt":"flag-icons A beautiful svg + png + sass + css collection of 261 flags by Yefferson Marín. Icons All sketch files were pulled from madebybowtie/FlagKit. Looking for brand icons? Check out yammadev/brand-icons. Author Yefferson Marín - (@yammadev) Instructions 1. Add the compiled css file to your html . 2. Download the svg (folder) icons in your path. 3. Use or tags adding the class flag-icons followed of the flag code (look Reference bellow for details) which is the ISO 3166-1-alpha-2 code for each one. The result is a rectangular flag, however, the square class can be used if a squared one is required: 4. You can also format the default size of the flag in a custom css file: Use a portion Simple 1. From svg folder get just the flags you need 2 Edit the library css/flag-icons.css by just leaving the classes for the selected flags. 3. Use as explained before. Building your own Requirements - NPM - SASS 1. In svg folder put just the files you need, and then edit sass/ variables.sass , where 'code' represents the name(s) of the desired flag(s). 2. Run in terminal: 3. It will generate: 4. Use as usual. Contribute Issues and pull requests are most than welcome. License Released under the MIT license. Reference Extras 8 flags: Flag Code Region :-------------: :-------------: ------------- CAF Africa CAS Asia CNA North America COC Oceania CSA South America EU European Union WW World LGBT Pride Countries 253 flags: Flag Code Region :-------------: :-------------: ------------- AD Ando","default_branch":null,"files":null,"tree":[],"storefront":"/r/yammadev","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/yammadev/flag-icons/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}