Lightweight, interactive and customizable map built with Next.js App Router, styled with Tailwind CSS, and powered by Mapbox GL JS. UI components via shadcn/ui.
next-maps-demo.mp4
-
Next.js (App Router)
-
Tailwind CSS
-
shadcn/ui
-
Mapbox GL JS
-
Mapbox Searchbox API
-
Geist font (via next/font)
-
📍 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.
