Shadcn Address Autocomplete
An address autocomplete field for Next.js that pulls suggestions from the Google Places API.
- Category
- Libraries & Components
- Added
- GitHub stars
- 376
About
About Shadcn Address Autocomplete
Shadcn Address Autocomplete is an address field that fetches suggestions from the new Google Places API and renders them with shadcn/ui components. The project is a Next.js app styled with Tailwind CSS and validated with Zod. The hosted demo runs on mock data, so it shows the interaction without making real API calls.
To use it, clone the repository, install dependencies with pnpm, copy .env.example to .env and fill in your own keys, then start the dev server. Lift the component into your own project from there. The GitHub repository does not state a license, so check with the author before reusing it commercially. It suits forms for checkout, shipping or onboarding where Google's place data is the preferred source.
Shadcn Address Autocomplete features
5 features
- Google Places API (new) suggestions
- Built from shadcn/ui components
- Next.js and Tailwind CSS stack
- Zod validation
- Mock-data demo to try without keys
Install Shadcn Address Autocomplete
1 command
Terminal
$ git clone https://github.com/NiazMorshed2007/shadcn-address-autocompleteWhat you can build with Shadcn Address Autocomplete
3 use cases
- Collecting a shipping address with typeahead in a checkout
- Capturing a business location during onboarding
- Studying how to wire Places API results into a combobox
Libraries & Components
Similar to Shadcn Address Autocomplete
More libraries & components like Shadcn Address Autocomplete: the closest by what they do, then the most starred.
SearchAddressLibrarySearchAddress is a React component that suggests addresses as users type, using Nominatim from OpenStreetMap with shadcn/ui parts and lucide-react icons.
Shadcn Google MapsLibraryShadcn Google Maps is a Places autocomplete input for shadcn/ui built on Google's newer AutocompleteSuggestion API, with session tokens and typed results.
Date Range PickerLibraryDate Range Picker for shadcn offers multi-month views, typed dates, preset ranges and range comparison, built on Radix UI and Tailwind CSS. MIT licensed.
shadcn-image-cropperLibraryshadcn-image-cropper is a Next.js demo that crops an uploaded avatar with react-image-crop and shadcn/ui. Source code is on GitHub.
Calendar Date PickerLibraryCalendar Date Picker is an MIT-licensed Next.js component that combines the shadcn/ui calendar, popover and select with react-day-picker and date-fns.
Shadcn Phone Input (damianricobelli)LibraryThis Shadcn Phone Input formats numbers with libphonenumber-js and returns details through getPhoneData. Country data comes from an open database.
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 Address Autocomplete is, how to install it, its license and its alternatives.
No. The demo uses mock data, and the README says you must configure your own API keys for real use.
Clone the repository, run pnpm install, copy .env.example to .env and update the variables, then start it with pnpm run dev.
An address autocomplete field for Next.js that pulls suggestions from the Google Places API.
Shadcn Address Autocomplete lists Google Places API (new) suggestions, Built from shadcn/ui components, Next.js and Tailwind CSS stack, Zod validation and Mock-data demo to try without keys.
The directory lists these uses for Shadcn Address Autocomplete: Collecting a shipping address with typeahead in a checkout, Capturing a business location during onboarding and Studying how to wire Places API results into a combobox.
Shadcn Address Autocomplete is made by NiazMorshed2007, at https://github.com/NiazMorshed2007. Its site is https://github.com/NiazMorshed2007/shadcn-address-autocomplete.
Shadcn Address Autocomplete was added to the directory on December 27, 2024.
Shadcn Address Autocomplete 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, Inputs, Maps, Next.js, Tailwind CSS, Zod and Open source. Each tag has a page listing the other resources that carry it.
Yes. Shadcn Address Autocomplete's page has a Live tab beside the screenshot that loads its site in a frame.
Shadcn Address Autocomplete lists this command: `git clone https://github.com/NiazMorshed2007/shadcn-address-autocomplete`.
Yes, according to its listing: Shadcn Address Autocomplete installs with `git clone https://github.com/NiazMorshed2007/shadcn-address-autocomplete`.
Shadcn Address Autocomplete's repository is https://github.com/NiazMorshed2007/shadcn-address-autocomplete.
The directory links no separate docs for Shadcn Address Autocomplete; start from its site at https://github.com/NiazMorshed2007/shadcn-address-autocomplete.
The directory records no license for Shadcn Address Autocomplete. Check its repository or site before you use it.
The directory records no price for Shadcn Address Autocomplete. Its site, https://github.com/NiazMorshed2007/shadcn-address-autocomplete, is where its pricing, if any, is stated.
No. Shadcn Address Autocomplete is made by NiazMorshed2007 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: SearchAddress, Shadcn Google Maps, Date Range Picker and shadcn-image-cropper. Their pages are linked under Similar to Shadcn Address Autocomplete.
Open its category, Libraries & Components, or one of its tags (Components, Inputs and Maps): 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


