{"id":13610290,"url":"https://github.com/joelkanyi/kompose-country-code-picker","last_synced_at":"2026-02-23T17:30:08.211Z","repository":{"id":183153881,"uuid":"668574920","full_name":"joelkanyi/kompose-country-code-picker","owner":"joelkanyi","description":"Kompose Country Code Picker is a Jetpack Compose library based on Material 3 (M3) that provides a country code picker for Android apps.","archived":false,"fork":false,"pushed_at":"2025-04-08T02:24:44.000Z","size":3024,"stargazers_count":198,"open_issues_count":6,"forks_count":22,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-04-08T03:27:30.936Z","etag":null,"topics":["android","country-code-picker","jetpack-compose","material3"],"latest_commit_sha":null,"homepage":"https://joelkanyi.github.io/kompose-country-code-picker/","language":"Kotlin","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/joelkanyi.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-07-20T06:12:11.000Z","updated_at":"2025-04-03T05:38:56.000Z","dependencies_parsed_at":"2023-12-06T13:30:02.829Z","dependency_job_id":"4d41cdd3-5d34-46f1-a75b-53e4b22ce421","html_url":"https://github.com/joelkanyi/kompose-country-code-picker","commit_stats":null,"previous_names":["joelkanyi/komposecountrycodepicker"],"tags_count":31,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joelkanyi%2Fkompose-country-code-picker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joelkanyi%2Fkompose-country-code-picker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joelkanyi%2Fkompose-country-code-picker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joelkanyi%2Fkompose-country-code-picker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/joelkanyi","download_url":"https://codeload.github.com/joelkanyi/kompose-country-code-picker/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248641770,"owners_count":21138262,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["android","country-code-picker","jetpack-compose","material3"],"created_at":"2024-08-01T19:01:43.318Z","updated_at":"2026-02-23T17:30:08.205Z","avatar_url":"https://github.com/joelkanyi.png","language":"Kotlin","funding_links":[],"categories":["Kotlin"],"sub_categories":[],"readme":"[![Maven Central](https://img.shields.io/maven-central/v/io.github.joelkanyi/komposecountrycodepicker.svg)](https://search.maven.org/artifact/io.github.joelkanyi/komposecountrycodepicker)\n![Build](https://github.com/joelkanyi/kompose-country-code-picker/actions/workflows/build.yml/badge.svg)\n![Kotlin](https://img.shields.io/badge/Kotlin-Multiplatform-7F52FF?logo=kotlin\u0026logoColor=white)\n![Compose Multiplatform](https://img.shields.io/badge/Compose-Multiplatform-4285F4?logo=jetpackcompose\u0026logoColor=white)\n[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)\n\n# Kompose Country Code Picker\n\nA Compose Multiplatform country code picker built with Material 3.\n\n**Supported platforms:** Android · iOS · Desktop (JVM) · Web (JS) · Web (WasmJS)\n\nSee the [project's website](https://joelkanyi.github.io/kompose-country-code-picker/) for full documentation.\n\n## Preview\n\n| Android | iOS | Desktop | Web |\n|:-------:|:---:|:-------:|:---:|\n| \u003cimg src=\"docs/assets/android-picker.png\" width=\"200\"/\u003e | \u003cimg src=\"docs/assets/ios-picker.png\" width=\"200\"/\u003e | \u003cimg src=\"docs/assets/desktop-picker.png\" width=\"280\"/\u003e | \u003cimg src=\"docs/assets/web-picker.png\" width=\"280\"/\u003e |\n| \u003cimg src=\"docs/assets/android-dialog.png\" width=\"200\"/\u003e | \u003cimg src=\"docs/assets/ios-dialog.png\" width=\"200\"/\u003e | \u003cimg src=\"docs/assets/desktop-dialog.png\" width=\"280\"/\u003e | \u003cimg src=\"docs/assets/web-dialog.png\" width=\"280\"/\u003e |\n\n## Features\n\n- 250+ countries with flags, dialling codes, and localized names\n- Built-in phone number validation and formatting\n- Search with accent-normalized matching\n- Responsive dialog — full-screen on mobile, popup on desktop/web\n- 13 language translations\n- Customizable colors, shapes, and icons\n- Keyboard navigation support (Arrow keys, Enter, Escape) on desktop and web\n\n## Quick Start\n\nAdd the dependency to your `commonMain` source set:\n\n```kotlin\nkotlin {\n    sourceSets {\n        commonMain.dependencies {\n            implementation(\"io.github.joelkanyi:komposecountrycodepicker:\u003clatest-version\u003e\")\n        }\n    }\n}\n```\n\nUse the picker in your Composable:\n\n```kotlin\nvar phoneNumber by rememberSaveable { mutableStateOf(\"\") }\nval state = rememberKomposeCountryCodePickerState(\n    showCountryCode = true,\n    showCountryFlag = true,\n)\n\nKomposeCountryCodePicker(\n    modifier = Modifier.fillMaxWidth(),\n    text = phoneNumber,\n    onValueChange = { phoneNumber = it },\n    state = state,\n)\n```\n\n## Translations\n\nThis project includes translations for the following languages:\n\n- Arabic (ar)\n- German (de)\n- Spanish (es)\n- French (fr)\n- Hindi (hi)\n- Indonesian (in-rID)\n- Italian (it-IT)\n- Japanese (ja)\n- Dutch (nl)\n- Russian (ru-RU)\n- Swahili (sw)\n- Turkish (tr-TR)\n- Vietnamese (vi)\n\nIf your language is not included, or if you notice any errors in the current translations, please [open an issue](https://github.com/joelkanyi/kompose-country-code-picker/issues) on GitHub.\n\n## License\n\n```\nCopyright 2025 Joel Kanyi\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n   http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoelkanyi%2Fkompose-country-code-picker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjoelkanyi%2Fkompose-country-code-picker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoelkanyi%2Fkompose-country-code-picker/lists"}