Skip to content

SearchAddress

A React address search box with autocomplete, grouped results and OpenStreetMap geocoding.

search-address-ebon.vercel.app

SearchAddress website screenshot
Added
GitHub stars
171
License
MIT
Price
Free

About

About SearchAddress

SearchAddress is a single React component for finding places. It queries the Nominatim geocoding service from OpenStreetMap through leaflet-geosearch, shows suggestions in a popover as you type, and groups the results by address type so the right location is easier to spot. Input is debounced to cut down on requests. It is assembled from the shadcn/ui button, command and popover components plus lucide-react icons.

Installation is manual: add the three shadcn/ui components, install lucide-react and leaflet-geosearch, then copy the component file into your project. Because leaflet-geosearch supports several geocoding providers, you can point it elsewhere. The repository is MIT licensed, and its last push dates to May 2024. It fits checkout and signup forms that need address lookup without a Google API key.

SearchAddress features

5 features

  • Autocomplete suggestions as you type
  • Results grouped by address type
  • Popover list selectable by click or touch
  • Debounced search input
  • Multiple geocoding providers via leaflet-geosearch

Install SearchAddress

1 command

Terminal

$ npx shadcn-ui@latest add button command popover

What you can build with SearchAddress

3 use cases

  • Adding address lookup to a shipping form
  • Letting users pick a location when creating an event
  • Replacing a paid geocoding API in a prototype

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 SearchAddress 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