Indonesia
Region Picker
Province, regency or city, district, then village, each narrowing the next. Kepmendagri 2025 data (83,762 villages) ships with it, no API, split per province.
src/components/ui/region-picker.tsxBehavior from @ui-sdk/react/combobox
Full address
Memuat
Down to regency or city
Memuat
Import
tsx
import { RegionPicker } from "@/components/ui/region-picker";Guidelines
- Store the region code (
32.73.01.1001), not the name: names change, codes stay. - Use
depth={2}for city-to-city shipping, and4only when a full address is really needed. - A province's data loads when it's picked, so the page never downloads all 2 MB at once.