A curated collection of all country flags in SVG format with CSS for easy web integration.
flag-icons is an open-source CSS and SVG library that provides a curated collection of all country flags for web developers. It solves the problem of sourcing and styling national flags by offering ready-to-use, scalable SVG assets with accompanying CSS classes for easy integration into websites and applications.
Frontend developers and web designers who need to display country flags in user interfaces, such as for language selectors, location indicators, or internationalized content.
Developers choose flag-icons for its comprehensive, high-quality SVG flag collection, simple CSS-based integration, and customization options via SASS, eliminating the need to manually handle flag assets and styling.
:flags: A curated collection of all country flags in SVG — plus the CSS for easier integration
Includes high-quality SVG flags for every country based on ISO 3166-1-alpha-2 codes, eliminating the need to source assets individually.
Provides ready-to-use classes like .fi-gr for easy inline implementation, handling background styling automatically without manual CSS work.
Allows selective inclusion of specific countries and path overrides through SASS variables, as shown in the README, reducing bundle size.
Can be loaded directly from a CDN for quick setup without local installation, simplifying deployment.
Flags are implemented as CSS background images, which lack built-in alt text for screen readers, requiring additional HTML attributes for accessibility.
To include only specific flags, developers must use SASS and rebuild the CSS, adding complexity compared to drop-in solutions.
Relies on background properties, making it harder to apply advanced CSS effects or animations without overriding default styles.
Material Design icons by Google (Material Symbols)
Generate custom icon webfonts from the comfort of the command line.
Icon font library for iOS. Currently supports Font-Awesome, Foundation icons, Zocial, and ionicons.
A minimal set of icons in raster, vector and font formats — free for public use.
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.