Flags.Icons 1.2.4

There is a newer version of this package available.
See the version list below for details.
dotnet add package Flags.Icons --version 1.2.4
                    
NuGet\Install-Package Flags.Icons -Version 1.2.4
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Flags.Icons" Version="1.2.4" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Flags.Icons" Version="1.2.4" />
                    
Directory.Packages.props
<PackageReference Include="Flags.Icons" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Flags.Icons --version 1.2.4
                    
#r "nuget: Flags.Icons, 1.2.4"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Flags.Icons@1.2.4
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Flags.Icons&version=1.2.4
                    
Install as a Cake Addin
#tool nuget:?package=Flags.Icons&version=1.2.4
                    
Install as a Cake Tool

Flags.Icons

Flags.Icons License: MIT

Flags.Icons demo

Country flag icons from madebybowtie/FlagKit, packaged as drop-in controls for Avalonia, Eto.Forms, .NET MAUI, Aprillz.MewUI, Uno Platform, Windows Forms, WinUI 3 and WPF. ~1020 assets across 255 country codes ship as embedded resources in the core Flags.Icons package — no runtime download, no file-system access.

Install

dotnet add package Flags.Icons.Avalonia    # or .Eto / .MAUI / .MewUI / .Uno / .WinForms / .WinUi / .WPF

Every platform package transitively pulls in Flags.Icons core.

Usage

FlagKind members encode the country code, scale (for PNGs), and format — USSVG, US2xPNG, GB_ENG2xPNG, etc.

<flag:FlagIcon Kind="USSVG" Width="48" Height="36" />
var flag = new FlagIcon { Kind = FlagKind.USSVG };

Per-stack XAML namespaces and code-first usage examples in the full README on GitHub →

Source: MIT. Flag assets retain FlagKit's MIT license.

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • .NETStandard 2.0

    • No dependencies.

NuGet packages (8)

Showing the top 5 NuGet packages that depend on Flags.Icons:

Package Downloads
Flags.Icons.Eto

Eto.Forms control that displays flag icons from 4 bundled sources (Twemoji emoji, Circle, Square, Lipis). Eto-specific implementation of Flags.Icons. SVGs are rasterized to PNG at runtime via Svg.Skia.

Flags.Icons.WinForms

Windows Forms control that displays flag icons from 4 bundled sources (Twemoji emoji, Circle, Square, Lipis). WinForms-specific implementation of Flags.Icons. SVGs are rasterized to PNG at runtime via Svg.Skia.

Flags.Icons.Avalonia

Avalonia control that displays flag icons from 4 bundled sources (Twemoji emoji, Circle, Square, Lipis). Avalonia-specific implementation of Flags.Icons.

Flags.Icons.MewUI

Aprillz.MewUI helpers that display flag icons from 4 bundled sources (Twemoji emoji, Circle, Square, Lipis). MewUI-specific implementation of Flags.Icons. SVGs are rasterized to PNG at runtime via Svg.Skia.

Flags.Icons.WPF

WPF control that displays flag icons from 4 bundled sources (Twemoji emoji, Circle, Square, Lipis). WPF-specific implementation of Flags.Icons.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
3.1.1 214 6/3/2026
3.1.0 211 6/1/2026
3.0.0 224 5/28/2026
2.0.0 209 5/25/2026
1.3.0 187 5/25/2026
1.2.4 200 5/25/2026
1.2.3 196 5/24/2026