Zum Hauptinhalt springen
tsecurity.de LIVE
Echtzeit-Radar & Feeds
Alle RSS Feeds
👥 Community & Social
IT Security NachrichtenDrohnen-Sicherheit: LUGN eröffnet 24/7-Kontrollzentrum | Protector(20.09.2026 um 15:50 Uhr)
IT Security NachrichtenHackerangriff auf die GUTcert; Kundendaten abgeflossen - BornCity(20.09.2026 um 18:00 Uhr)
IT Security NachrichtenThe Brain Is Actually Two Completely Separate Organs(20.09.2026 um 18:04 Uhr)
IT NachrichtenWhat's the 30-degree rule for TVs?(20.09.2026 um 18:30 Uhr)
IT NachrichtenTrump now says he wants to form an ‘AI Force’(20.09.2026 um 17:39 Uhr)
IT NachrichtenPhilips Hue: Nutzer müssen heftigen Preisschock verdauen(20.09.2026 um 18:12 Uhr)
IT NachrichtenEs wird Zeit, PayPal zu kündigen(20.09.2026 um 18:18 Uhr)
IT Security NachrichtenDrohnen-Sicherheit: LUGN eröffnet 24/7-Kontrollzentrum | Protector(20.09.2026 um 15:50 Uhr)
IT Security NachrichtenHackerangriff auf die GUTcert; Kundendaten abgeflossen - BornCity(20.09.2026 um 18:00 Uhr)
IT Security NachrichtenThe Brain Is Actually Two Completely Separate Organs(20.09.2026 um 18:04 Uhr)
IT NachrichtenWhat's the 30-degree rule for TVs?(20.09.2026 um 18:30 Uhr)
IT NachrichtenTrump now says he wants to form an ‘AI Force’(20.09.2026 um 17:39 Uhr)
IT NachrichtenPhilips Hue: Nutzer müssen heftigen Preisschock verdauen(20.09.2026 um 18:12 Uhr)
IT NachrichtenEs wird Zeit, PayPal zu kündigen(20.09.2026 um 18:18 Uhr)
Intelligence View
⚡ tsecurity.de Intelligence

Introducing GeoIcons: 422 tree-shakable geographic icons

Reagiere als Erste:r — dein Feedback zählt!

GeoIcons is a library of geographic map icons for the web: 255 countries and 167 areas, 422 icons in total at the time of this post, built for React, Vue, Angular, and vanilla JS. More is on the way, including subdivisions and flags. Every icon is a named export, so your bundler keeps only the ones you import. Here are three of them, inheriting the current text color:

Key takeaways

  • 422 icons: 255 countries (ISO 3166) + 167 areas (regions, continents, landforms, subdivisions).
  • Tree-shakable by design. One import ships one icon, not the catalog.
  • Themed with currentColor and an adjustable strokeWidth. Accessible out of the box.
  • React, Vue, Angular, and vanilla JS. Free under GPLv3, commercial license available.

What ships in the box

The set covers 255 country icons, named by their ISO 3166 alpha-2 code, and 167 area icons for regions, continents, landforms, and subdivisions. Enough to build a country picker or label a map legend without a second asset library.

Every icon is a single SVG component. No sprite sheet to host and no font to load.

One import ships one icon

GeoIcons has no central registry and no <Icon name="us" /> string API. Each icon is its own named export, which is what lets bundlers drop everything you never reference:

import { Us, Fr, Jp } from '@geoicons/react/countries';

export function Legend() {
  return (
    <ul>
      <li><Us aria-label="United States" /> United States</li>
      <li><Fr aria-label="France" /> France</li>
      <li><Jp aria-label="Japan" /> Japan</li>
    </ul>
  );
}

Import three icons and your build includes three icons. The other 419 never touch your bundle. For the mechanics behind that, read why an icon library doesn't have to bloat your bundle.

Themeable with currentColor

Icons paint with currentColor, so they follow the text color of whatever wraps them. Change weight with strokeWidth, or fill them solid. No CSS overrides, no per-icon color props to thread through your components:

// Default, colored, heavier stroke, filled
<Ng />
<Ng stroke="#2563eb" />
<Ng strokeWidth={1.5} />
<Ng fill="currentColor" />

Because color is inherited, the same icon works in light mode, dark mode, and on a colored button without any extra styling.

Accessible by default

Icons are decorative unless you say otherwise. Add a label and the icon becomes meaningful to screen readers:

<Us aria-label="United States" />

Under the hood each icon namespaces its <title> id with React's useId(), so rendering the same icon twice on a page never produces duplicate ids.

Four frameworks, one icon set

The same icons ship for every major framework, imported the same way:

import { Us } from '@geoicons/react/countries';   // React
import { Us } from '@geoicons/vue/countries';     // Vue
import { Us } from '@geoicons/angular/countries'; // Angular
import { Us } from '@geoicons/vanilla/countries'; // Vanilla JS

@geoicons/core holds the shared pieces the framework packages build on.

Naming you can guess

Countries use their ISO 3166 alpha-2 code in PascalCase: Us, Fr, Jp, De, Br. Areas use a slug in PascalCase, such as EuropeanUnionEu. If you know the country code, you know the import name, so autocomplete does most of the work.

Licensing

GeoIcons is dual-licensed. It is free under GPLv3 for open-source and GPL-compatible projects, and a commercial license covers everything else. Icons render the same either way. An unlicensed commercial use logs an offline console warning and nothing else, so nothing breaks at runtime.

Get started

Install the package for your framework and import your first icon:

npm i @geoicons/react
import { Us } from '@geoicons/react/countries';

export default function App() {
  return <Us aria-label="United States" />;
}

Full API, styling, and accessibility docs live in the docs, or browse all 422 icons to find what you need.

Ähnliche Beiträge
🔍 Verwandte News

Auch interessante Nachrichten Introducing GeoIcons: 422 tree-shakable geographic icons

Thematisch verwandte Begriffe: Introducing, GeoIcons, treeshakable, geographic · 6 Treffer

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Zum Aktualisieren ziehen
ZERO-DAY CVE-2026-93956 | A flaw has been found in olivier-ls PHP-FTS up to 1.1.2. Affected by thi…
Advisory →
TTS Reader • tsecurity.de Voice
tsecurity.de Icon
tsecurity.de App
Offline-Lesen, Eilmeldungen & 0ms Ladezeit

Installiere tsecurity.de direkt auf deinen Home-Bildschirm für das ultimative Vollbild-Magazinerlebnis ohne Browser-Leisten.

Nächster Beitrag
Themen-Radar & Intelligence Matrix
Echtzeit-Taxonomie nach Angriffsvektoren & Plattformen
Community Radar & Live Chat
Sentinel Bot online • Live-Stream
Dein Cluster: Security Explorer
Match:
lädt…
Verbindung zum Community-Stream wird aufgebaut...
Bearbeitungsmodus — Senden überschreibt deine Nachricht
Community-Puls — was gerade passiert
lädt…
Aktivitäten deiner Analysten
lädt…
Neues Thema oder Eilmeldung einreichen

Reiche interessante Links, Zero-Days oder Debatten ein. Die Community entscheidet per Upvote über die Veröffentlichung.

Heiß diskutierte Einreichungen
🔖 Gespeicherte Artikel
📂 Keine gespeicherten Artikel vorhanden.
Zurück Ziehen Vor
Links: vorheriger Artikel Rechts: nächster Artikel unten: schließen
News NIS-2 Frühwarnung Tier-1 Intel ⏱️ 3 Min vor 10 Min
Artikeldaten werden geladen...

Zurück: vorheriger Vor: nächster
↗ Original-Quelle
Social Reaktionen Deine Reaktion zählt
Einstufung & Relevanz-Poll 0 Stimmen
In sozialen Netzwerken teilen 1-Klick