# AnmolSaini16/mapcn

Beautiful map components. 100% Free, Zero config, one command setup.

Repository: https://github.com/AnmolSaini16/mapcn
Canonical: https://ross.abutalabs.com/products/mapcn
Homepage: https://mapcn.dev
Language: TypeScript
License: MIT
License Family: permissive
Last push: 2026-08-16T15:48:15+00:00

## Health v2 (maintenance only)
Score: 60/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 98, release rhythm 35, longevity 17
- inputs: {"age_days": 248, "days_push": 17, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 11919, forks 698 (observed 2026-08-28T04:10:50.485870+00:00)

## What it is
mapcn is a free, open-source collection of copy-paste map components for React, built on MapLibre GL and styled with Tailwind CSS to match shadcn/ui conventions. Following the shadcn model, you copy the component code into your project and own it, with zero-config defaults, theming, markers, popups, routes, arcs, GeoJSON clusters, and map controls.

## Use cases
- add an interactive map to my react app
- shadcn ui map components
- show markers with popups and tooltips on a map
- draw routes and arcs on a map in react
- render geojson clusters on a web map
- customizable map components styled with tailwind
- dark mode aware map components
- free open-source alternative to google maps in react

## When to choose
- Your stack is React with Tailwind CSS and shadcn/ui and you want maps that match your design system and theme
- You want to own and customize the component code rather than depend on a heavy wrapper SDK with configuration lock-in
- You need MapLibre-based maps that work with any tile provider such as OpenStreetMap, CARTO, MapTiler, or Stadia Maps
- You want a one-command setup with sensible production-ready defaults for common map UIs

## When to avoid
- You are building with Vue, Svelte, Angular, or another non-React framework
- You need built-in geocoding, routing, or turn-by-turn navigation services - mapcn only provides rendering components
- Your commercial product relies on the default CARTO basemap, which requires a CARTO Enterprise license (or you must switch tile providers)
- You prefer a fully maintained npm dependency over copy-pasted source files living in your own codebase

## Facets
- artifact type: library
- maturity: active
- function: ui-components, geospatial
- domain: frontend, web-development
- platform: browser
- tags: react, maplibre, tailwind-css, shadcn-ui, copy-paste-components, web-maps, interactive-maps, markers, geojson, basemaps, maps, geospatial, nodejs

## Member repositories
- AnmolSaini16/mapcn (main) score 60

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:10:50.485870+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T17:15:12.530646+00:00, confidence not recorded.
  - readme: https://github.com/AnmolSaini16/mapcn (fetched 2026-08-28T04:10:50.485870+00:00, sha 381b47e8c896)
  - homepage: https://mapcn.dev (fetched 2026-08-29T08:13:16.443179+00:00, sha b45c75dfd188)
  - site_page: https://www.mapcn.dev/docs (fetched 2026-08-29T08:13:16.452731+00:00, sha 478bf00dd46e)
  - site_page: https://www.mapcn.dev/docs/basic-map (fetched 2026-08-29T08:13:16.454736+00:00, sha c120b4221c2a)
- Data as of 2026-08-30T08:39:29.467469+00:00.
