awesome-repositories.com
Blog
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectAboutHow we rankPressMCP server
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
hampusborgos avatar

hampusborgos/country-flags

0
View on GitHub↗
3,774 stars·1,016 forks·JavaScript·2 views

Country Flags

This project is a library of national flag assets provided in SVG and PNG formats. These assets are indexed by standard two-letter ISO country codes to enable programmatic retrieval and mapping.

The library includes a set of scalable vector graphics based on official national laws and regulations, alongside pre-rendered raster exports in multiple widths. It utilizes a mapping system to link flags to their respective ISO country codes or relate those codes to country names.

The collection covers visual indicators for web localization and data visualization, providing a system for adding accurate national flag images to websites or applications using standard ISO codes.

Features

  • Country Flag Icons - Provides a comprehensive collection of standardized national flag icons in SVG and PNG formats.
  • ISO-Code-Based Indexing - Organizes flag assets using standard two-letter ISO country codes for constant-time retrieval.
  • Asset-to-Code Mappings - Maps two-letter ISO country codes to corresponding national flag files for programmatic retrieval.
  • ISO Country Mappings - Links country names and ISO codes to their corresponding official flag assets.
  • SVG Asset Libraries - Stores primary flag designs as scalable vector graphics to ensure lossless quality across all display sizes.
  • Vector Asset Packs - Provides a set of scalable vector graphics representing world flags based on official national regulations.
  • Raster Image Exports - Generates fixed-width PNG raster images from SVG vector sources to optimize client-side rendering.
  • Multi-Format Image Exports - Provides assets in both SVG vector and multiple PNG raster formats to meet different display requirements.
  • Frontend UI Localization - Provides visual country indicators to support region and language selection in web user interfaces.
  • Static Asset Distributions - Provides a predictable file structure for serving flag images and mapping files via direct URLs.

Star history

Star history chart for hampusborgos/country-flagsStar history chart for hampusborgos/country-flags

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Start searching with AI

Frequently asked questions

What does hampusborgos/country-flags do?

This project is a library of national flag assets provided in SVG and PNG formats. These assets are indexed by standard two-letter ISO country codes to enable programmatic retrieval and mapping.

What are the main features of hampusborgos/country-flags?

The main features of hampusborgos/country-flags are: Country Flag Icons, ISO-Code-Based Indexing, Asset-to-Code Mappings, ISO Country Mappings, SVG Asset Libraries, Vector Asset Packs, Raster Image Exports, Multi-Format Image Exports.

What are some open-source alternatives to hampusborgos/country-flags?

Open-source alternatives to hampusborgos/country-flags include: lipis/flag-icon-css — This project is a CSS flag icon library and UI component set providing scalable national flag graphics for web… github/octicons — Octicons is a library of handcrafted scalable vector graphics and a standardized design system icon set. It provides a… icons8/flat-color-icons — Flat Color Icons is a comprehensive library of scalable vector graphics and flat-style illustrations designed to… tsayen/dom-to-image — dom-to-image is a programmatic tool for capturing the visual state of HTML elements as downloadable images or raw… microsoft/fluentui-emoji — This project is an open-source library of emoji graphics designed for consistent use across digital interfaces. It… atlemo/subtlepatterns — SubtlePatterns is a repeating background pattern library and graphic design asset collection. It provides a set of…

Open-source alternatives to Country Flags

Similar open-source projects, ranked by how many features they share with Country Flags.
  • lipis/flag-icon-csslipis avatar

    lipis/flag-icon-css

    12,232View on GitHub↗

    This project is a CSS flag icon library and UI component set providing scalable national flag graphics for web interfaces. It delivers a collection of vector-based flags implemented as CSS classes to ensure visual consistency across different screen sizes and resolutions. The library uses ISO-3166-1-alpha-2 naming to map CSS class identifiers directly to international standard two-letter country codes. This allows for predictable asset lookup and the integration of regional visual identifiers to support web interface localization. The system covers CSS-based iconography, utilizing SVG backgr

    HTML
    View on GitHub↗12,232
  • github/octiconsgithub avatar

    github/octicons

    8,704View on GitHub↗

    Octicons is a library of handcrafted scalable vector graphics and a standardized design system icon set. It provides a collection of optimized SVG files and visual symbols intended for use in web interfaces to maintain a unified identity across digital product layouts. The library encapsulates vector graphics within framework wrappers to programmatically manage styling and accessibility properties. It employs a design-system-driven specification and an SVG-based asset pipeline to ensure consistent rendering and high clarity across different screen resolutions. The project covers SVG asset ma

    JavaScript
    View on GitHub↗8,704
  • icons8/flat-color-iconsicons8 avatar

    icons8/flat-color-icons

    2,203View on GitHub↗

    Flat Color Icons is a comprehensive library of scalable vector graphics and flat-style illustrations designed to maintain visual consistency across digital and print platforms. The collection provides high-quality symbols and icons in standard formats, enabling developers and designers to integrate professional visual assets into web, mobile, and desktop interfaces. The project distinguishes itself by offering a wide range of customization and integration capabilities, including an online editor for modifying colors and rearranging graphic components. It supports dynamic workflows through URL

    HTMLicon-packicon-seticons
    View on GitHub↗2,203
  • tsayen/dom-to-imagetsayen avatar

    tsayen/dom-to-image

    10,777View on GitHub↗

    dom-to-image is a programmatic tool for capturing the visual state of HTML elements as downloadable images or raw image data. It functions as a DOM to image converter that renders specific nodes as base64 data URLs, binary blobs, or pixel arrays. The library transforms HTML elements into raster or vector images by utilizing the HTML5 canvas API. It can retrieve raw byte arrays of a DOM node for low-level image manipulation as an RGBA pixel data extractor. The project covers web content rasterization and the generation of dynamic screenshots from live HTML content. It handles the conversion o

    JavaScriptcanvascssdom
    View on GitHub↗10,777
  • See all 30 alternatives to Country Flags→