Skip to main content

πŸ—ΊοΈ Welcome to SVG World Maps

Build beautiful, interactive, and lightweight SVG maps in seconds. No heavy dependencies, no complex build stepsβ€”just pure, framework-agnostic JavaScript.

Whether you are building a global dashboard in React, a localized landing page in Vue, or a simple vanilla JS project, svg-world-maps gives you the tools to visualize geographic data effortlessly.


⚑ Quick Start​

Get a map on your screen in three simple steps:

npm install svg-world-maps
That's it!

You now have a fully scalable, interactive SVG map. No extra CSS or JS required.


🌟 Why Choose SVG World Maps?​

🌍 35+ Maps

From the entire world down to specific countries and regions (USA, Germany, Iran, Canada, and more).

πŸͺΆ Zero Dependencies

Pure SVG output. No runtime overhead, no bloated node_modules, just clean markup.

πŸ‘† Interactive by Default

Built-in tooltips, region labels, and data-code / data-name attributes for easy click handling.

πŸ“¦ Tiny Bundles

Optional maps system ensures you only bundle the specific countries you actually need.


🧭 Explore the Documentation​

Not sure where to go next? Choose your path:

ResourceDescription
πŸš€ Getting StartedThe complete guide to installation, basic usage, and framework integration.
πŸ—ΊοΈ Optional MapsHow to add specific country maps (like usa or germany) using npx add-map to keep your bundle small.

πŸ’‘ Need Help?​

We are here to support you! If you run into issues or have ideas for new features:

  • πŸ› Report a Bug: Found something broken? Let us know.
  • πŸ’¬ GitHub Discussions: Ask questions, share your implementations, or request new country maps.
  • ⭐ Star on GitHub: Support the project and stay updated on new releases.
Ready to build?

Jump straight into the action: Read the Getting Started guide β†’