https://github.com/apteryxxyz/flags
A curated collection of over 200 4:3 flag icons for every country (and many territories) as SVGs, as well as in PNG and WEBP formats, both of which are in 6 different sizes.
https://github.com/apteryxxyz/flags
128 256 32 320 64 flags png svg webp
Last synced: 11 months ago
JSON representation
A curated collection of over 200 4:3 flag icons for every country (and many territories) as SVGs, as well as in PNG and WEBP formats, both of which are in 6 different sizes.
- Host: GitHub
- URL: https://github.com/apteryxxyz/flags
- Owner: apteryxxyz
- Created: 2022-10-28T03:43:49.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-10-28T17:36:10.000Z (over 3 years ago)
- Last Synced: 2025-04-08T14:42:00.298Z (about 1 year ago)
- Topics: 128, 256, 32, 320, 64, flags, png, svg, webp
- Language: JavaScript
- Homepage: https://flags.apteryx.xyz
- Size: 12.2 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# π¦πΊ π³πΏ Flag Icons π¬π§ πΊπΈ
Welcome to my curated collection of over 200 4:3 flag icons for every country (and many territories) as SVGs, as well as in PNG and WEBP formats, both of which are in 6 different sizes.
To use them in your code, simply set your images sources to the flags URL at `flags.apteryx.xyz`. Such as:
### βοΈ SVG
```
https://flags.apteryx.xyz/svg/.svg
```
### π· PNG and WEBP
```
https://flags.apteryx.xyz///.
```
- `format` must be either `webp` or `png`.
- `size` must be one of 32, 64, 128, 192, 256, or 320.
## π Examples
Say you wanted to use a PNG image of United States flag, with a height of 64 pixels:
```
https://flags.apteryx.xyz/png/64/us.png
```

Or maybe you wanted the New Zealand as a WEBP with a height of 128:
```
https://flags.apteryx.xyz/webp/128/nz.webp
```

Or maybe an SVG of the Hong Kong:
```
https://flags.apteryx.xyz/svg/hk.svg
```