Mapcn Svelte screenshot

Mapcn Svelte

Author Avatar Theme by Mariuslang
Updated: 3 Jan 2026
86 Stars

Beautiful shadcn-svelte map components.

Categories

Overview

If youโ€™re looking for an intuitive and powerful mapping solution for your Svelte applications, this port of mapcn by Anmol is definitely worth your attention. This Svelte adaptation of the original React library offers a seamless integration of sophisticated map components while preserving the rich functionality that developers have come to love. With the added benefits of Svelte’s reactive paradigms, building interactive maps has never been easier.

The flexibility and customization options available through this library allow developers to create complex and visually appealing user interfaces effortlessly. Whether you’re working on a simple map or a detailed mapping application, the features included in this library cater to a wide range of mapping needs while ensuring a solid developer experience.

Features

  • ๐ŸŽจ Theme-aware: Automatically adapts to both light and dark modes to ensure your maps visually align with your application’s theme.
  • ๐ŸŽฏ Zero config: Get started immediately with sensible defaults, eliminating the hassle of extensive configuration.
  • ๐Ÿ“ฆ shadcn-svelte compatible: Leverages the same patterns and styling conventions, enhancing integration with your existing Svelte ecosystem.
  • ๐Ÿ—บ๏ธ MapLibre GL powered: Harness the robust capabilities of MapLibre, giving you full access to dynamic mapping features.
  • ๐Ÿงฉ Composable: Create intricate map UIs effortlessly using simple, declarative components that make your code clean and maintainable.
  • ๐Ÿ“ Markers & Popups: A rich system that includes customizable markers with popups, tooltips, and labels to deliver interactive experiences.
  • ๐Ÿ›ค๏ธ Routes: Easily draw routes and paths on your maps, adding an extra layer of functionality for users.
  • ๐ŸŽฎ Controls: Provides intuitive UI controls for zoom, compass, locate, and fullscreen for a complete mapping experience.
  • โšก Svelte 5: Built using Svelte 5’s runes, ensuring optimal reactivity for a seamless user experience.