Skip to content
Agents tracked: 378 Downloads (7d): 244M down 5.7% GitHub stars: 8.4M VS Code installs: 151M Releases (7d): 407 Agent status: 1 with issues Updated Oct 10, 2026

React Leaflet

React components for Leaflet maps enabling interactive mapping in React applications.

3D and graphics npm Hippocratic-2.1

Used in agent projects
121
1.0% of 12,697 public repos built with AI coding agents
Rank in 3d and graphics
#5 of 19
by use in those projects
Downloads
3.7M
npm, last 7 days, react-leaflet
GitHub stars
5,603
last push Dec 31, 2025

How React Leaflet is used

React Leaflet is a dependency in 121 of the 12,697 public GitHub projects set up for AI coding agents that we scanned (1.0%), #5 of 19 in 3d and graphics. The most used alternative there is React Three Fiber. Projects that use it most often also use Leaflet (93.4%), Lucide React (80.2%), clsx (70.2%).

Often used with React Leaflet

Leaflet93.4% of React Leaflet projects · 74.1× more than average
Lucide React80.2% of React Leaflet projects · 4.0× more than average
clsx70.2% of React Leaflet projects · 4.0× more than average
Tailwind Merge69.4% of React Leaflet projects · 4.1× more than average
Class Variance Authority65.3% of React Leaflet projects · 4.6× more than average
Radix UI59.5% of React Leaflet projects · 5.0× more than average
Tailwind CSS90.1% of React Leaflet projects · 2.6× more than average
React97.5% of React Leaflet projects · 2.2× more than average

By coding agent

Claude Code1.1% of projects set up for it
Cursor1.3% of projects set up for it
GitHub Copilot0.9% of projects set up for it
Devin Desktop2.2% of projects set up for it
OpenAI Codex1.3% of projects set up for it

Share of public repos configured for each agent that list React Leaflet as a dependency.

Install

Packagenpm install react-leaflet
Main stacksNext.js (62), TypeScript / JavaScript (56), PHP (2), Python (1)
Example projectsPoly-Haven/polyhaven.com, thereactfoundation/react.foundation, databayt/hogwarts, 7ttp/Staking-nasdaq

Alternatives to React Leaflet

All 3d and graphics

Tool Used in agent projectsDownloads / wk GitHub starsLicense
React Three Fiber npm
React renderer for Three.js enabling 3D graphics with component patterns.
2,360 (18.6%) 6M 32.8K MIT
Three.js npm
JavaScript 3D library for creating interactive 3D graphics in browsers.
2,329 (18.3%) 20.1M 116K MIT
maath npm
Math utilities library for 3D graphics and animations in Three.js and React Three Fiber.
176 (1.4%) 4.6M — MIT
Leaflet npm
Lightweight JavaScript library for creating mobile-friendly interactive maps.
160 (1.3%) 8M 45.7K BSD-2-Clause
Postprocessing npm
Post-processing effects library for Three.js rendering advanced visual effects.
109 (0.9%) 977K 2,874 Zlib
r3f-perf npm
Performance monitoring tool for React Three Fiber applications.
78 (0.6%) 31.1K 781 MIT
three-stdlib npm
Stand-alone collection of Three.js examples and utilities.
78 (0.6%) 4.3M 861 MIT
OGL npm
Lightweight WebGL library for 3D graphics rendering with minimal overhead.
66 (0.5%) 658K 4,668 Unlicense
Is React Leaflet right for your project? Ask AgentGid →