# mapcn

> Copy-in React map components on MapLibre GL, themed with shadcn tokens: markers, popups, routes, arcs, clusters.

Source: https://tastebase.ehsanulsiam.workers.dev/browse/mapcn

free

Copy-in React map components on MapLibre GL, themed with shadcn tokens: markers, popups, routes, arcs, clusters.

by Anmol Saini[GitHub](https://github.com/AnmolSaini16/mapcn)

[visit](https://mapcn.dev/?utm_source=tastebase&utm_medium=referral&utm_content=detail-page)

[https://mapcn.dev](https://mapcn.dev/?utm_source=tastebase&utm_medium=referral&utm_content=detail-preview)

## Try these

no preview

### [Bklit UI](https://tastebase.ehsanulsiam.workers.dev/browse/bklit-ui)

Composable animated chart components on d3, Motion and Tailwind, from the shadcn registry, with a React Native port.

no preview

### [shadcn/ui](https://tastebase.ehsanulsiam.workers.dev/browse/shadcn-ui)

Copy-in React components on Tailwind, built on Base UI, Radix or React Aria, plus a registry CLI.

no preview

### [Lucide](https://tastebase.ehsanulsiam.workers.dev/browse/lucide)

Clean 24px stroke icons, one component per icon, the default set for shadcn/ui.

no preview

### [ASCII Magic Art](https://tastebase.ehsanulsiam.workers.dev/browse/ascii-magic-art)

734 ready-made animated ASCII scenes (landscapes, loaders, charts, mascots) as one web component or ES modules.

## For your agent

##### Install

`npx shadcn@latest add @mapcn/map`

##### Use it for

- an interactive map in a shadcn app: store locator, delivery tracking, office or event locations
- markers with popups and tooltips, routes and curved arcs between places
- a blank map canvas for data: choropleth, heatmap or clustered points on a dashboard
- a map with free tiles and no API key

##### Skip it when

- a choropleth beside other charts in a d3 chart set: bklit-ui ships one with the same look as its charts
- not React, or no Tailwind: use maplibre-gl directly
- you need Google Maps data (places search, Street View): use the Google Maps JS API

##### What's inside17 free

- Map
- Controls
- Markers
- Popups
- Routes
- Arcs
- GeoJSON
- Clusters
- Analytics Map
- Analytics Card
- Uptime Monitor
- Choropleth
- Heatmap
- Delivery Tracker
- Logistics Network
- Community Globe
- Store Locator

##### Facts

**Frameworks**
react

**Styling**
copy-in

**Weight**
large

**Accessibility**
ok

**Maturity**
stable

**License**
MIT

**Price**
Free

##### Pairs with

[shadcn/ui](https://tastebase.ehsanulsiam.workers.dev/browse/shadcn-ui)[Lucide](https://tastebase.ehsanulsiam.workers.dev/browse/lucide)

##### Alternatives

[Bklit UI](https://tastebase.ehsanulsiam.workers.dev/browse/bklit-ui)

```
import { Map, MapControls } from '@/components/ui/map'

<div className="h-80 overflow-hidden rounded-lg">
  <Map center={[-74.006, 40.7128]} zoom={11}>
    <MapControls />
  </Map>
</div>
```

https://www.mapcn.dev/blocks

Loading website

[Visit](https://mapcn.dev/?utm_source=tastebase&utm_medium=referral&utm_content=floating-pill)
