SearchAddress
A React address search box with autocomplete, grouped results and OpenStreetMap geocoding.
- Category
- Libraries & Components
- 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 popoverWhat 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
Libraries & Components
Similar to SearchAddress
More libraries & components like SearchAddress: the closest by what they do, then the most starred.
Shadcn/ui + Downshift ComboboxLibraryCombobox for shadcn/ui driven by Downshift's useCombobox hook, giving you an autocomplete input with a list of suggestions. MIT licensed.
Time PickerLibraryTime Picker from OpenStatus is a React TimePickerInput for shadcn/ui. It handles keyboard input, 12-hour clocks and mobile keyboards with no dependency.
Cascader-ShadcnLibraryCascader-Shadcn adds an Ant Design-style cascading dropdown to shadcn/ui for hierarchical data, with click or hover expansion. Install it via the CLI.
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.
Async SelectLibraryAsync Select is a React select for shadcn/ui that fetches options as you type or preloads them. It composes Popover and Command with generic typing.
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 SearchAddress is, how to install it, its license and its alternatives.
It uses Nominatim from OpenStreetMap through leaflet-geosearch, which also supports other geocoding providers.
Add button, command and popover with the shadcn CLI, then install lucide-react and leaflet-geosearch and copy the component file into your project.
A React address search box with autocomplete, grouped results and OpenStreetMap geocoding.
SearchAddress lists Autocomplete suggestions as you type, Results grouped by address type, Popover list selectable by click or touch, Debounced search input and Multiple geocoding providers via leaflet-geosearch.
The directory lists these uses for SearchAddress: Adding address lookup to a shipping form, Letting users pick a location when creating an event and Replacing a paid geocoding API in a prototype.
SearchAddress is made by UretzkyZvi, at https://github.com/UretzkyZvi. Its site is https://github.com/UretzkyZvi/search-address.
SearchAddress was added to the directory on December 27, 2024.
SearchAddress 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, Search, Maps, Inputs, React, Copy and paste, Open source and MIT. Each tag has a page listing the other resources that carry it.
Yes. SearchAddress's page has a Live tab beside the screenshot that loads its site in a frame.
SearchAddress lists this command: `npx shadcn-ui@latest add button command popover`.
Yes, according to its listing: SearchAddress installs with `npx shadcn-ui@latest add button command popover`.
SearchAddress's repository is https://github.com/UretzkyZvi/search-address.
The directory links no separate docs for SearchAddress; start from its site at https://github.com/UretzkyZvi/search-address.
GitHub lists SearchAddress under the MIT license. Read the license file in its repository for the terms.
The directory records no price for SearchAddress. Its site, https://github.com/UretzkyZvi/search-address, is where its pricing, if any, is stated.
No. SearchAddress is made by UretzkyZvi 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: Shadcn/ui + Downshift Combobox, Time Picker, Cascader-Shadcn and Shadcn Google Maps. Their pages are linked under Similar to SearchAddress.
Open its category, Libraries & Components, or one of its tags (Components, Search 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




