Skip to content

Shadcn Address Autocomplete

An address autocomplete field for Next.js that pulls suggestions from the Google Places API.

shadcn-address-autocomplete.vercel.app

Shadcn Address Autocomplete website screenshot
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-autocomplete

What 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

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.

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