Beautiful shadcn-svelte map components.
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.