Lightweight, clean and beautifully-designed map with Next.js, Mapbox, shadcn ui, and Tailwind. Customizable and extensible component design.
next-maps-demo.mp4
- Next.js (App Router)
- Tailwind CSS
- shadcn/ui
- Mapbox GL JS
- Mapbox Searchbox API
- 📍 Mapbox GL interactive map
- 🔎 Mapbox Searchbox API
- 🎨 Clean UI with shadcn/ui
- ⚡ Responsive & fast
- 📱 Mobile-friendly layout
First, install dependencies and start the development server:
git clone https://github.com/AnmolSaini16/next-maps.git
cd your-repo
npm install
npm run devNEXT_PUBLIC_MAPBOX_TOKEN=your_mapbox_access_token
NEXT_PUBLIC_MAPBOX_SESSION_TOKEN=your_uuidv4_session_tokenDeploy on Vercel in seconds.
Contributions are welcome! If you’d like to improve this project, feel free to fork it and open a pull request.
If you find this project useful, consider supporting me:




