Shadcn Google Maps
A drop-in address autocomplete using Google's AutocompleteSuggestion, with session tokens and typed results.
- Category
- Libraries & Components
- Added
- Price
- Free
About
About Shadcn Google Maps
Shadcn Google Maps is an address autocomplete component. Instead of the legacy AutocompleteService that many snippets still use, it calls AutocompleteSuggestion, which the site says Google recommends for new integrations. It handles session tokens for billing and returns typed place results.
Add it with the shadcn CLI using the places-autocomplete.json registry URL, then import PlacesAutocomplete from your ui folder. Props include className, an optional countryCode such as US, IN or GB, a placeholder, and an onPlaceSelect callback that receives the chosen place. The site calls it accessible, customizable and open source, and offers a Copy llms.txt button. The GitHub project, gurbaaz27/shadcn-google-maps, has a few dozen stars. It suits checkout, onboarding and delivery forms that need Google address data.
Shadcn Google Maps features
6 features
- AutocompleteSuggestion from the Places API (New)
- Session tokens for billing
- Typed place results
- Optional country restriction
- onPlaceSelect callback
- Copy-paste friendly and customizable
Install Shadcn Google Maps
1 command
Terminal
$ npx shadcn@latest add https://shadcn-google-maps.vercel.app/r/places-autocomplete.jsonWhat you can build with Shadcn Google Maps
3 use cases
- Capturing a delivery address at checkout
- Restricting address search to one country
- Pre-filling city and postcode fields from a selected place
Libraries & Components
Similar to Shadcn Google Maps
More libraries & components like Shadcn Google Maps: the closest by what they do, then the most starred.
EmblorLibraryEmblor is an npm package that adds a tag input to shadcn/ui forms. It is accessible, customizable and ready to drop into a React form with a few props.
SearchAddressLibrarySearchAddress is a React component that suggests addresses as users type, using Nominatim from OpenStreetMap with shadcn/ui parts and lucide-react icons.
Shadcn Number ScrubberLibraryShadcn Number Scrubber is a draggable numeric input for React with configurable sensitivity, step sizes and min and max bounds, added via the shadcn CLI.
Shadcn Icon PickerLibraryShadcn Icon Picker lets users choose a Lucide icon from a virtualized list built with shadcn/ui and TanStack Virtual, with controlled and custom modes.
junwen-k/ui-xLibraryjunwen-k/ui-x adds components shadcn/ui lacks, including a Badge Group, imperative Confirmer dialog, Date Field and Dropzone. Accessible and open source.
shadcn/ui expansionsLibraryshadcn/ui expansions adds components the base set lacks: autosize textarea, datetime picker, multiple selector and infinite scroll. Copy and paste them.
Pricing
Ship it with Pro
The directory is free. Pro adds 6,000+ blocks, 14 premium templates and the MCP server, so your AI editor installs them for you.
4.9/5 out of 5 · 150+ reviewsfrom 150+ founders and developers.
- Secure checkout via Stripe
- Code lives in your repo
- Keep what you've shipped if you cancel
- License terms
FAQ
Frequently asked questions
What Shadcn Google Maps is, how to install it, its license and its alternatives.
The site says it uses AutocompleteSuggestion rather than the legacy AutocompleteService, since Google recommends it for new integrations.
Yes. Pass the optional countryCode prop, for example US, IN or GB.
A drop-in address autocomplete using Google's AutocompleteSuggestion, with session tokens and typed results.
Shadcn Google Maps lists AutocompleteSuggestion from the Places API (New), Session tokens for billing, Typed place results, Optional country restriction, onPlaceSelect callback and Copy-paste friendly and customizable.
The directory lists these uses for Shadcn Google Maps: Capturing a delivery address at checkout, Restricting address search to one country and Pre-filling city and postcode fields from a selected place.
The directory does not name a maker for Shadcn Google Maps. Its site is https://shadcn-google-maps.vercel.app/.
Shadcn Google Maps was added to the directory on May 18, 2026.
Shadcn Google Maps is in Libraries & Components. Component libraries and standalone components built on shadcn/ui, covering the data tables, pickers, editors and charts the core set leaves out.
Components, Maps, Inputs, shadcn CLI, Accessible, Customizable, Open source and React. Each tag has a page listing the other resources that carry it.
Yes. Shadcn Google Maps's page has a Live tab beside the screenshot that loads its site in a frame.
Shadcn Google Maps lists this command: `npx shadcn@latest add https://shadcn-google-maps.vercel.app/r/places-autocomplete.json`.
Yes, according to its listing: Shadcn Google Maps installs with `npx shadcn@latest add https://shadcn-google-maps.vercel.app/r/places-autocomplete.json`.
The directory links no repository for Shadcn Google Maps. Its site is https://shadcn-google-maps.vercel.app/.
The directory links no separate docs for Shadcn Google Maps; start from its site at https://shadcn-google-maps.vercel.app/.
The directory records no license for Shadcn Google Maps. Check its repository or site before you use it.
The directory records no price for Shadcn Google Maps. Its site, https://shadcn-google-maps.vercel.app/, is where its pricing, if any, is stated.
No. Shadcn Google Maps is made by its own maker and listed here as a link. A shadcn.io Pro plan covers shadcn.io's own blocks, templates and tools.
Other resources in Libraries & Components, newest first: Emblor, SearchAddress, Shadcn Number Scrubber and Shadcn Icon Picker. Their pages are linked under Similar to Shadcn Google Maps.
Open its category, Libraries & Components, or one of its tags (Components, Maps and Inputs): each page lists the resources that share it.
4.9 out of 5 from 150+ developers
Found your stack? Ship it.
6,000+ blocks, premium templates and MCP in every Pro plan. The directory stays free.
Get Pro


