lipis/flag-icons

:flags: A curated collection of all country flags in SVG — plus the CSS for easier integration

View on GitHub ↗Jump to charts ↓

Summary Information

Updated 59 minutes ago
Added to GitGenius on September 4th, 2026
Created on September 25th, 2013
Open Issues & Pull Requests: 43 (+0)
GitHub issues: Enabled
Number of forks: 1,953
Total Stargazers: 12,369 (-1)
Total Subscribers: 154 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 4.7 days
Mean response time: 64.8 days
90th percentile: 288.0 days
Tracked items: 59

How this project is maintained

Around half of the issues opened in the past year never receive a reply. 100% of open issues come from outside the core team, so the backlog reflects real-world use rather than internal planning. Only 7% of issues opened in the past year have been closed. Three people close 84% of everything that gets resolved.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 24
New in 7 days: 1
Closed in 7 days: 0
Avg open age: 406 days
Stale 30+ days: 22
Stale 90+ days: 18

Recent activity

Opened in 7 days: 1
Closed in 7 days: 0
Comments in 7 days: 0
Events in 7 days: 0

Top labels

  • flag-request (8)
  • bug (4)
  • enhancement (4)
  • wrong-flag (3)
  • 3rd-party (2)
  • documentation (1)

Detailed Description

flag-icons is a curated collection of country flags in SVG format with accompanying CSS for straightforward integration into web projects.

The project solves the problem of obtaining and displaying country flags consistently across applications. It provides all country flags as individual SVG files organized by ISO 3166-1-alpha-2 country codes, paired with pre-built CSS classes that handle the styling and layout. Developers can use flags inline with text by applying simple class names, or as background images on any HTML element. The tool supports both rectangular and squared flag variants and offers multiple integration methods including direct download, npm installation, or CDN delivery.

The collection suits projects that need reliable, standardized country flag imagery without building custom assets. It works well for applications displaying country selection dropdowns, location indicators, or international content. The project can be customized by removing unwanted countries from the build configuration before compilation, allowing developers to reduce file size if only a subset of flags is needed. The tool provides CSS, SASS, and CDN-based approaches, giving flexibility in how it integrates with different build pipelines and project structures.

Development activity shows consistent maintenance with regular updates to the flag collection and build tooling. The project accepts contributions and maintains clear documentation for both end users and developers who want to extend or modify it. Build infrastructure is straightforward, with simple commands for compilation and local development serving.