Skip to content
S

Svelte Mapbox

MapBox Map and Autocomplete components for Svelte (or Vanilla JS)

by beyonkFree

#3343in Utilities
0In stores

Description

svelte-mapbox is a set of Mapbox map and geocoding autocomplete components for Svelte. It also works in vanilla JavaScript. The map is the c…

Highlights

  • Mapbox map container and marker components for Svelte
  • Geocoding autocomplete component
  • Custom marker pins and popups
  • Reactive center and zoom properties
  • SvelteKit and SSR ready

Ratings & Reviews

No ratings yet

Be the first to rate Svelte Mapbox.

People also visit

M

mapbox-web-integration-patterns

Official integration patterns for Mapbox GL JS across popular web frameworks

AI Skills
Get
F

Flutter Maplibre

Permissive and performant vector and raster maps

Utilities
Launch
S

@svelte-plugins/datepicker

A simple datepicker component designed for Svelte

UI Libraries
Launch
J

@jis3r/icons

beautifully crafted, moving icons. for svelte

UI Libraries
Launch
V

@vue-leaflet/vue-leaflet

Vue 3 components for Leaflet (1.x) maps

UI Libraries
Launch
I

@icons-pack/svelte-simple-icons

This package provides the Simple Icons packaged as a set of Svelte components

UI Libraries
Launch

Svelte Mapbox FAQ

What is svelte-mapbox?

A set of Svelte components for Mapbox maps, markers and geocoding autocomplete, which also work in vanilla JavaScript.

Does it work with SvelteKit?

Yes. The README says it is SvelteKit ready and SSR ready.

Does the geocoder add weight?

Yes. The README says the geocoder adds about 0.5 MB to the bundle and slows the build when bundled.

How do I customize markers?

Use the color property for standard pins, or the default slot for a custom pin. Popups can be turned off or replaced with a custom element.

What are the best Svelte Mapbox alternatives?

Popular alternatives to Svelte Mapbox include Flutter Maplibre and Motion Core. See all Svelte Mapbox alternatives

Developer Stuff

Badges