Description
@react-google-maps/api is a set of React components and hooks for the Google Maps JavaScript API. It lets you build interactive maps with markers, overlays, directions and other features using React patterns, through hooks such as useJsApiLoader and useGoogleMap. The package includes full TypeScript definitions, is compatible with React 19, and is tree-shakeable, so only the parts you use are bundled, which the README puts at about 12 kB gzipped. It also works with server-rendering frameworks such as Next.js and Remix. The README is clear that version 3 and later is commercial software, and that licensing information and pricing are on its documentation site. It says that open-source users should look at the community-supported versions in the GitHub repository. To use the library you need Node.js 18 or newer, Bun for development, and a Google Maps API key from the Google Cloud Console. The project has a Slack channel for help, GitHub issues for bugs and feature requests, and a sponsorship option.…
Highlights
- React components and hooks for Google Maps
- Markers, overlays and directions
- TypeScript definitions and tree shaking
- Works with Next.js and Remix
Ratings & Reviews
No ratings yet
Be the first to rate @react-google-maps/api.
People also visit
@react-google-maps/api FAQ
What does @react-google-maps/api do?
It provides React components and hooks for building interactive maps with the Google Maps JavaScript API.
Is version 3 free?
No. The README says version 3 and later is commercial software, with licensing and pricing on the documentation site. Open-source users are pointed to community-supported versions.
What do I need to use it?
Node.js 18 or newer, and a Google Maps API key from the Google Cloud Console.
Does it work with React 19?
Yes. The README says it is compatible with React 19.
Does it support server rendering?
Yes. The README says it works with Next.js, Remix and other frameworks.
What are the best @react-google-maps/api alternatives?
Popular alternatives to @react-google-maps/api include react-google-maps, google-map-react and google-map-react. See all @react-google-maps/api alternatives


















