Beautiful flag icons for usage in apps and on the web.
Just add FlagKit.xcassets to your target.
Add FlagKit to your Cartfile:
github "madebybowtie/FlagKit"
Add FlagKit to your Podfile:
pod 'FlagKit'
For OSX, just replace UIImage with NSImage below
Get an icon for your locale or a world flag:
UIImage(flagImageWithCountryCode: NSLocale.autoupdatingCurrentLocale().objectForKey(NSLocaleCountryCode) as! String)
UIImage(flagImageForSpecialFlag: .World)[UIImage flagImageWithCountryCode:[[NSLocale autoupdatingCurrentLocale] objectForKey:NSLocaleCountryCode]];If you are just adding FlagKit.xcassets to you target, you can simply use the standard UIImage/NSImage methods:
UIImage(named: NSLocale.autoupdatingCurrentLocale().objectForKey(NSLocaleCountryCode) as! String)[UIImage imageNamed:[[NSLocale autoupdatingCurrentLocale] objectForKey:NSLocaleCountryCode]];To be able to open the Sketch-file make sure you're running the latest version or the beta version Sketch Beta.
Have a question? Please open an issue!
This set currently includes the 206 flags below:
| Flag | Code | Region |
|---|---|---|
![]() |
EU | European Union |
![]() |
WW | World |
![]() |
CNA | North America |
![]() |
CSA | South America |
![]() |
CEU | Europe |
![]() |
CAF | Africa |
![]() |
CAS | Asia |
![]() |
COC | Oceania |
FlagKit is released under the MIT license. See LICENSE.














































































































































































































