# wellyshen/use-places-autocomplete

😎 📍 React hook for Google Maps Places Autocomplete.

Repository: https://github.com/wellyshen/use-places-autocomplete
Canonical: https://ross.abutalabs.com/products/use-places-autocomplete
Homepage: https://use-places-autocomplete.netlify.app
Language: TypeScript
License: MIT
License Family: permissive
Topics: react, hook, places, autocomplete, places-autocomplete, google-places, google-places-api, google-maps, google-maps-api, google-place-autocomplete, geocoding, geocoding-api, typescript, use-places-autocomplete
Last push: 2025-04-02T14:39:17+00:00

## Health v2 (maintenance only)
Score: 29/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 14, release rhythm 8, longevity 100
- inputs: {"age_days": 2419, "days_push": 518, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1291, forks 68 (observed 2026-08-28T04:04:15.686078+00:00)

## What it is
A React hook that wraps the Google Maps Places Autocomplete API, letting developers build custom place-suggestion search bars and forms. It also provides geocoding utilities to convert place IDs into addresses and coordinates.

## Use cases
- add place autocomplete to a react search bar
- build a custom address input with google places suggestions
- geocode a place id to lat/lng in react
- implement location search dropdown in a react form
- integrate google maps places api without the default widget

## When to choose
- you use React and want full control over the autocomplete UI
- you need Google Places suggestions plus geocoding in one hook
- you want a lightweight, typed alternative to Google's default autocomplete widget

## When to avoid
- you don't use React
- you need autocomplete for providers other than Google Maps
- you need actively maintained software with dedicated maintainers

## Facets
- artifact type: library
- maturity: maintenance
- function: ui-components, form-handling, http-client
- domain: frontend, web-development
- platform: browser
- tags: react-hook, google-places-api, autocomplete, geocoding, typescript, maps, nodejs, web-server

## Member repositories
- wellyshen/use-places-autocomplete (main) score 29

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:15.686078+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T04:54:49.943331+00:00, confidence not recorded.
  - readme: https://github.com/wellyshen/use-places-autocomplete (fetched 2026-08-28T04:04:15.686078+00:00, sha e3cf6d7dcda9)
  - homepage: https://use-places-autocomplete.netlify.app (fetched 2026-08-29T12:11:41.043743+00:00, sha b5601bbffc41)
- Data as of 2026-08-30T08:39:29.467469+00:00.
