Use cases

GeoIcons ships 802 outlines for countries, regions, and states. Install them as framework packages or download plain image files.

NeedGuideBest for
Tree-shakable UI componentsReact Map IconsReact and Next.js apps
Direct file exportsSVG Map IconsFigma and static HTML
Pairing with UI icon setsOpen Source Map IconsMatching Lucide or Heroicons
Cross-OS region indicatorsFlag Icons AlternativeReplacing broken flag emojis
Code-to-icon mappingISO Country CodesMapping alpha-2 and numeric codes

React map icons

Import icons from @geoicons/react in React or Next.js projects. You size and recolor each inline SVG with props, and your bundler drops unused icons from the build.

See React Map Icons for Server Components, state imports, and runtime lookups.

SVG and PNG downloads

You can grab vector or raster outlines without an npm install. Open an icon page to adjust stroke weight and color, or download an SVG or PNG up to 512px.

Check SVG Map Icons for design tools and plain HTML workflows.

Pairing with open source UI icon sets

Lucide and Heroicons ship globes and map pins, while GeoIcons draws places like Kenya and Ontario. Both use a 24×24 viewBox and currentColor strokes, so you can mix them in the same toolbar under GPLv3 or a commercial license.

Read Open Source Map Icons to see how the grid and stroke weights align.

Replacing flag emojis

Windows renders flag emojis as two-letter codes such as US or DE, while macOS and Android draw conflicting artwork. Use map outlines to keep your interface consistent across operating systems.

Read Flag Icons Alternative for UI patterns and tradeoffs.

Looking up ISO country codes

Country exports match two-letter ISO 3166-1 alpha-2 codes alongside full-name aliases. If your data uses alpha-3 or numeric codes, search the ISO Country Codes table to find the matching export and jump to its icon page.