Skip to content
appsgit

Shadcn Map

Shadcn Map is a free, open-source UI component library built with React, Next.js and Tailwind CSS. A map component for shadcn/ui. It has 342 GitHub stars and is released under the MIT license. A live demo is linked from this page.

github.com/tonghohin/shadcn-map (opens in a new tab)

Get started

Copy the files into a new folder with degit (no git history), or clone the repository with git.

Copy with degit
npx degit tonghohin/shadcn-map my-ui
cd my-ui
npm install   # then run the dev script from the README
Or clone with git
git clone --depth 1 https://github.com/tonghohin/shadcn-map.git my-ui

Sources: GitHub docs on template repositories, degit.

About Shadcn Map

A map component built with Leaflet and React Leaflet, designed to integrate with shadcn/ui. Base maps are rendered as vector tiles from OpenFreeMap with MapLibre GL, falling back to OpenStreetMap raster tiles when WebGL is not supported. No API key required.

Built with

  • React
  • Next.js
  • Tailwind CSS
  • shadcn/ui
  • TypeScript
GitHub preview card for tonghohin/shadcn-map
GitHub social preview of tonghohin/shadcn-map. Open the live demo for the real design.

FAQ

Shadcn Map FAQ

Still curious? Email info@appsgit.com.

What is Shadcn Map?

Shadcn Map is a free, open-source UI component library built with React, Next.js and Tailwind CSS. A map component for shadcn/ui. It has 342 GitHub stars and is released under the MIT license. A live demo is linked from this page.

How do I use Shadcn Map?

Copy the files into a new folder with npx degit tonghohin/shadcn-map my-ui (no git history), or fork the repository on GitHub. Then follow the README for the install and dev commands.

Can I use Shadcn Map for commercial projects?

Yes. Shadcn Map is released under the MIT license, a permissive license that allows commercial use as long as you keep the copyright and license notice. Third-party assets bundled with it (images, fonts, icons) may have their own terms.

Is Shadcn Map maintained?

The repository's most recent commit was on Oct 7, 2026. appsgit only lists templates from repositories with a commit in the last six months.