CodeBrowser / npm / react-geolocated
react-geolocated@4.5.1
// React hook for using Geolocation API
$ npm install react-geolocated
downloads/wk
33,518
license
MIT
version
4.5.1
published
Jun 28, 2026
What is react-geolocated?
react-geolocated is a React hook that wraps the browser's Geolocation API, allowing you to easily access the user's current location coordinates and altitude within your React components. Use this package when you need to build location-aware features like maps, location-based services, or proximity detection without manually managing geolocation state and permissions.
Keywords
#react #reactjs #geolocation #hook #react-hook
Maintainers
no23reason