{"id":18616499,"url":"https://github.com/marcauberer/compose-number-picker","last_synced_at":"2025-06-24T20:05:54.707Z","repository":{"id":36969785,"uuid":"356726694","full_name":"marcauberer/compose-number-picker","owner":"marcauberer","description":"🔢 Jetpack Compose compatible number picker for Android","archived":false,"fork":false,"pushed_at":"2025-03-25T04:37:27.000Z","size":333,"stargazers_count":9,"open_issues_count":6,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-25T07:12:03.984Z","etag":null,"topics":["android","jetpack-compose","kotlin","library","number","picker"],"latest_commit_sha":null,"homepage":"","language":"Kotlin","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/marcauberer.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","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},"funding":{"github":["marcauberer"],"custom":"https://www.paypal.me/marcauberer"}},"created_at":"2021-04-11T00:02:21.000Z","updated_at":"2024-09-22T11:28:17.000Z","dependencies_parsed_at":"2023-02-18T03:01:35.863Z","dependency_job_id":"381bcf26-1f45-46fc-a494-12ace621fb91","html_url":"https://github.com/marcauberer/compose-number-picker","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marcauberer%2Fcompose-number-picker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marcauberer%2Fcompose-number-picker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marcauberer%2Fcompose-number-picker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marcauberer%2Fcompose-number-picker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/marcauberer","download_url":"https://codeload.github.com/marcauberer/compose-number-picker/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248325234,"owners_count":21084895,"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","jetpack-compose","kotlin","library","number","picker"],"created_at":"2024-11-07T03:35:24.203Z","updated_at":"2025-04-11T01:31:42.689Z","avatar_url":"https://github.com/marcauberer.png","language":"Kotlin","funding_links":["https://github.com/sponsors/marcauberer","https://www.paypal.me/marcauberer"],"categories":[],"sub_categories":[],"readme":"# Compose Number Picker Library for Android\n[![Maven Central](https://img.shields.io/maven-central/v/com.chillibits/composenumberpicker.svg?label=Maven%20Central)](https://search.maven.org/search?q=g:%22com.chillibits%22%20AND%20a:%22composenumberpicker%22)\n![GitHub release](https://img.shields.io/github/v/release/marcauberer/compose-number-picker?include_prereleases)\n![Android CI](https://github.com/marcauberer/compose-number-picker/workflows/Android%20CI/badge.svg)\n[![API](https://img.shields.io/badge/API-21%2B-red.svg?style=flat)](https://android-arsenal.com/api?level=21)\n[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square)](http://makeapullrequest.com)\n\nCompose Number Picker is a library, which provides a simple to use, lightweight number picker component for Jetpack Compose. It has support for horizontal and vertical orientation.\n\n## Try it\nIf you want to test the library, please visit the sample app on [Google Play](https://play.google.com/store/apps/details?id=com.chillibits.composenumberpickersample)!\n\n## Screenshots (Android 11)\n\u003cimg src=\"https://github.com/marcauberer/compose-number-picker/raw/main/media/screenshots/screen1.png\" width=\"205\" title=\"Screenshot 1\"\u003e \u003cimg src=\"https://github.com/marcauberer/compose-number-picker/raw/main/media/screenshots/screen2.png\" width=\"205\" title=\"Screenshot 2\"\u003e\n\n## Usage\nIf you haven't Jetpack Compose ready to go in your project, please refer to [this guide](https://developer.android.com/jetpack/compose/setup) to include Jetpack Compose into your project.\n\nThen include ComposeNumberPicker to your project:\n```groovy\nimplementation 'com.chillibits:composenumberpicker:1.1.2'\n```\n\nAs Compose Number Picker supports horizontal and vertical orientation, it provides two components for use:\n-   HorizontalNumberPicker [view component](./numberpicker/src/main/java/com/chillibits/composenumberpicker/HorizontalNumberPicker.kt)\n-   VerticalNumberPicker [view component](./numberpicker/src/main/java/com/chillibits/composenumberpicker/VerticalNumberPicker.kt)\n\nThis is like a `HorizontalNumberPicker` would look like in your Compose layout:\n```kotlin\nHorizontalNumberPicker(\n    min = 10,\n    max = 100,\n    default = 50,\n    modifier = Modifier.padding(10.dp),\n\tonValueChange = { value -\u003e\n\t\tToast.makeText(this@MainActivity, value.toString(), Toast.LENGTH_SHORT).show()\n\t}\n)\n```\nIf you need an example, please look into the [code](./app/src/main/java/com/chillibits/composenumberpickersample/MainActivity.kt#L35) of the demo app.\n\n## Supported languages\nHere are the currently supported languages for the demo app. The library itself is language independent.\n\n-   English\n-   German\n-   French\n\nNew translations are highly appreciated. If you want to translate the lib, please open a pr.\n\n## Contribute to the project\nIf you want to contribute to this project, please feel free to send us a pull request.\n\n## Credits\nThanks to all contributors and translators!\n\n© Marc Auberer 2021\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarcauberer%2Fcompose-number-picker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmarcauberer%2Fcompose-number-picker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarcauberer%2Fcompose-number-picker/lists"}