FlagSVG is a repository of country flags in SVG format. Hosted on GitHub, it provides a straightforward way to access flag icons for use in your projects. Simply reference the flag you need from our collection with a direct URL.
- Comprehensive Flag List: Browse and access a variety of country flags in SVG format.
- Easy Integration: Use simple URLs to include flags in your web projects.
- Open Access: Free to use and available through GitHub.
To use FlagSVG, you can directly embed flag SVGs into your project. Here’s how you can get a specific flag:
-
Identify the Flag Code: Find the code for the flag you need (e.g.,
US
for the United States). -
Embed the SVG: Use the URL pattern to get the flag SVG.
<img src="https://raw.githubusercontent.com/TheDanniCraft/FlagSVG/master/src/exported/<flag code>.svg" alt="Country Flag">
Replace
<flag code>
with the appropriate code for the flag you want.
This project is licensed under the CC0-1.0 License.