GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com โ€” GitHub - HatScripts/circle-flags: A collection of 400+ minimal circular SVG country, state and language flags

BranchesTags
Open more actions menu

Latest commit

 

History

387 Commits
387 Commits

Folders and files

NameName
Last commit message
Last commit date
.github
.github
 
 
_layouts
_layouts
 
 
flags
flags
 
 
.gitattributes
.gitattributes
 
 
.gitignore
.gitignore
 
 
LICENSE.md
LICENSE.md
 
 
README.md
README.md
 
 
_config.yml
_config.yml
 
 
favicon.ico
favicon.ico
 
 
gallery.css
gallery.css
 
 
gallery.md
gallery.md
 
 
logo.svg
logo.svg
 
 
og-image.png
og-image.png
 
 
package.json
package.json
 
 
svgo.config.js
svgo.config.js
 
 

Repository files navigation

circle-flags circle-flags animated logo

A collection of circular SVG country flags.

Usage

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

...produces this:

To view all the available flags, check the gallery.

React

If you're using React, you may want to try the react-circle-flags package.

React Native / Expo

If you're using React Native / Expo, you may want to try the react-native-circle-flags package.

SolidJS

If you're using SolidJS, you may want to try the solid-circle-flags package.

NPM

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

npm install --save https://github.com/HatScripts/circle-flags

๐Ÿ“œ Userscripts

  • Google Translate: Filter & Flags - Filters languages and shows country flags on Google Translate
  • Wiktionary: Filter & Flags - Filters languages and shows country flags on Wiktionary

๐Ÿš€ Contributing

To contribute, you need to have the latest version of svgo installed.

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

Then run svgo to optimize the SVG files:

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

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

๐ŸŽจ The color palette

Submitted flags should conform to the following color palette.
Try to match the flag's original colors with the nearest color from the palette.

  • #eeeeee: white
  • #acabb1: gray
  • #333333: black
  • #a2001d: dark red
  • #d80027: red
  • #ff9811: orange
  • #ffda44: yellow
  • #6da544: green
  • #496e2d: dark green
  • #338af3: light blue
  • #0052b4: blue

Special cases:

  • #002266: dark blue (only two usages: Chad, to differentiate from Romania; and True South (Antarctica))
  • #4a1f63: purple (only one usage: Balearic Islands)
  • #751a46: dark pink (only one usage: Qatar)

๐Ÿงพ License

This project is released under the MIT license.

About

A collection of 400+ minimal circular SVG country, state and language flags

hatscripts.github.io/circle-flags

Topics

circlecircularcountriescountrycountry-flagsdesignflagsicon-packiconslanguagesminimalminimalistminimalisticreactroundstatessvgsvg-filessvg-iconssvgo

Resources

Readme
MIT license
Activity

Stars

1.6k stars

Watchers

10 watching

Forks

336 forks
Report repository

Releases

Sponsor this project

Packages

Used by

Contributors

Languages

You are visitor 01402503 โ€” GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800ร—600. No cookies required.