Mapcn
Free, open-source React map components on MapLibre GL — Tailwind + shadcn/ui compatible, theme-aware, zero-config defaults.
Author: AnmolSaini16 (not Vercel — viral repost attribution was wrong). Repo 9,895★, 573 forks, MIT, default branch main, no tagged release; docs at mapcn.dev. The repo HEAD reviewed on 2026-06-30 was dcca957d9c347620dc3e7c1f923f3af532914396 from 2026-06-28. Source: GitHub AnmolSaini16/mapcn, 2026-06-30
Install & components
npx shadcn add @mapcn/map # registry path per mapcn.dev
Composable primitives: Map, Marker, Route, Controls — MapLibre GL under the hood (no Mapbox token). Respects light/dark via design tokens. Source: mapcn.dev/docs, 2026-06-13
The local Tom Dörr and RoundtableSpace artifacts both show the same README/product positioning: "Free & open-source, ready-to-use, customizable map components for React. Zero config. One command setup." The image highlights theme awareness, shadcn/ui compatibility, MapLibre GL, composability, markers/popups, routes, and controls. Keep those artifacts as product-positioning evidence, not source authority for authorship; the Vercel OSS badge is sponsorship/support evidence, not ownership. Source: X/@tom_doerr visual artifact, 2026-04-16; Source: X/@RoundtableSpace visual artifact, 2026-05-07
| Feature | Detail |
|---|---|
| Map engine | MapLibre GL (open-source) |
| Styling | Tailwind + shadcn patterns |
| Theme | Light/dark aware |
| Config | Zero-config for basic map |
Versioning caveat
The npm package name mapcn@0.0.1 is not the project authority; npm describes it as a package-name reservation/squatting artifact. Use the GitHub repo, docs, and shadcn registry command as the versioning and install source. Source: npm registry, 2026-06-30
Stack fit (Kevin)
- Dedalus website / admin — maps for office/events/offsites dashboards without Mapbox billing.
- shadcn monorepos — listed in Shadcn Registry Directory (Top Blocks); fits existing
cn()+ token stack. - Not for 3D/geo viz — use MapLibre directly or deck.gl when you need layers beyond mapcn components.
Timeline
- 2026-06-30 | Deep-reviewed the Tom Dörr visual artifact and refreshed versioning: GitHub
mainatdcca957d9c347620dc3e7c1f923f3af532914396, no releases, 9,895 stars. Confirmedmapcn@0.0.1on npm is not the install authority. Source: GitHub; npm; X/@tom_doerr, 2026-06-30 - 2026-04-16 | @tom_doerr share — zero-config Tailwind map components. Source: X/@tom_doerr, 2026-04-16
- 2026-05-07 | @RoundtableSpace inaccurate "Vercel open sourced mapcn" post. Source: X/@RoundtableSpace, 2026-05-07
- 2026-06-13 | Quality remediation: install snippet, component table, Dedalus use case. Source: mapcn.dev, 2026-06-13