{"id":"mapcn","name":"mapcn","url":"https://wunderlust.xyz/r/mapcn","category":"components","category_label":"UI components","tags":["react","open-source","free"],"short":"React map components built on MapLibre and installed with the shadcn CLI","what":"It includes markers, popups, routes and zoom controls, and adapts the map to light and dark themes. Default styles use CARTO basemaps with OpenStreetMap data.","uses":"A developer can add a map with markers and routes to a React app.","benefits":["Markers and routes","Map controls"],"caveats":["The code uses the MIT license. CARTO’s free commercial tier allows up to 1 million tile requests a month and requires visible attribution."],"links":{"official":"https://www.mapcn.dev/","github":"https://github.com/AnmolSaini16/mapcn"},"image":"https://wunderlust.xyz/media/mapcn-poster.jpg","video":"https://wunderlust.xyz/media/mapcn.webm","share_image":"https://wunderlust.xyz/og/r/mapcn.jpg","similar":["react-bits","shadcn-ui","magic-ui","ai-website-cloner-template","coss-ui","astryx"],"added_on":"2026-11-16","steal":"Switch map styling automatically with the interface’s light and dark themes","patterns":[],"why":"Theme switching keeps the map visually consistent with the rest of the interface.","avoid":"Keep attribution visible and monitor the number of tile requests.","pt":{"name":"mapcn","short":"Componentes de mapas React com MapLibre e instalação pela CLI shadcn","steal":"Alternar o estilo do mapa automaticamente entre os temas claro e escuro da interface","what":"Inclui marcadores, popups, rotas e controles de zoom, e adapta o mapa aos temas claro e escuro. Os estilos padrão usam mapas CARTO com dados OpenStreetMap.","uses":"Uma pessoa desenvolvedora pode adicionar um mapa com marcadores e rotas a um app React.","benefits":["Marcadores e rotas","Controles de mapa"],"caveats":["O código usa licença MIT. O nível grátis comercial da CARTO permite até 1 milhão de solicitações de tiles por mês e exige atribuição visível."],"why":"A mudança de tema mantém o mapa visualmente integrado ao restante da interface.","avoid":"Mantenha a atribuição visível e acompanhe o volume de solicitações de tiles.","intents":["adicionar marcadores no mapa","desenhar rotas no React"]},"kind":"library","sector":[],"tone":[],"intents":["add React map markers","draw routes on maps","install MapLibre map components","build map popup controls"],"schema_version":1}
