{"id":19734160,"url":"https://github.com/devmike01/pagestepindicator-compose","last_synced_at":"2025-10-30T13:47:03.809Z","repository":{"id":65374806,"uuid":"544871071","full_name":"devmike01/PageStepIndicator-Compose","owner":"devmike01","description":null,"archived":false,"fork":false,"pushed_at":"2023-04-13T19:43:57.000Z","size":446,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-10T18:24:51.846Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/devmike01.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2022-10-03T11:32:05.000Z","updated_at":"2023-01-01T18:56:55.000Z","dependencies_parsed_at":"2023-05-12T01:15:34.611Z","dependency_job_id":null,"html_url":"https://github.com/devmike01/PageStepIndicator-Compose","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devmike01%2FPageStepIndicator-Compose","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devmike01%2FPageStepIndicator-Compose/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devmike01%2FPageStepIndicator-Compose/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devmike01%2FPageStepIndicator-Compose/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/devmike01","download_url":"https://codeload.github.com/devmike01/PageStepIndicator-Compose/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241059043,"owners_count":19902301,"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":[],"created_at":"2024-11-12T00:35:43.927Z","updated_at":"2025-10-30T13:46:58.753Z","avatar_url":"https://github.com/devmike01.png","language":"Kotlin","readme":"# PageStepIndicator-Compose\nA page step indicator for Android jetpack compose. If your project doesn't yet support Compose,\ncheckout the [other page stepper](https://github.com/devmike01/PageStepIndicator) for `XML` layouts.\n\n[![](https://jitpack.io/v/devmike01/PageStepIndicator-Compose.svg)](https://jitpack.io/#devmike01/PageStepIndicator-Compose)\n\n### Preview\n!\u003cimg src=\"https://github.com/devmike01/PageStepIndicator-Compose/blob/choir/media/pageindicator_anim.gif\" width=\"240\" height=\"400\"\u003e\n\n### How To Use\n- Add it to your root build.gradle at the end of repositories:\n\n```groovy\nallprojects {\n\t\trepositories {\n\t\t\tmaven { url 'https://jitpack.io' }\n\t\t}\n\t}\n```\n- ##### Add the dependency\n\n##### Groovy\n```groovy\ndependencies {\n    implementation 'com.github.devmike01:PageStepIndicator-Compose:alpha01'\n}\n```\n##### Kotlin DSL(Android Only)\n```kotlin\ndependencies {\n    implementation(\"com.github.devmike01:PageStepIndicator-Compose:1.0.1-alpha\")\n}\n```\n\nThat's all you need to use the library.\n\n### Available APIs\nCompiling...\n\n### Sample\n\n```java\nval indicatorState = rememberIndicatorPropertyState(\n    IndicatorProperty(labels = listOf(IndicatorLabel(\"Rice\"),\n        IndicatorLabel(\"Beans\"), IndicatorLabel(\"Soda and Wine\"),\n        IndicatorLabel(\"Soda\"), IndicatorLabel(\"Beans and Rice\")))\n)\n\nval pageState = rememberPagerState()\n\nPageStepIndicator(\n    stepColor= IndicatorColor(\n        strokeActiveColor = android.graphics.Color.YELLOW,\n        activeColor = android.graphics.Color.GREEN,\n        inActiveColor = android.graphics.Color.YELLOW\n    ),\n    propertyState =indicatorState,\n    indicatorState = rememberIndicatorState(),\n    pagerState = pageState){ indicatorState, pagerState -\u003e\n    HorizontalPager(count = 5, state = pagerState) {\n        Column(modifier = Modifier\n            .fillMaxWidth()\n            .fillMaxHeight(),\n        horizontalAlignment = Alignment.CenterHorizontally) {\n            Box(modifier = Modifier.fillMaxWidth(fraction = 0.9f)\n                .fillMaxHeight()\n                .background(Color.Blue.copy(red = (pagerState.currentPage*0.2).toFloat())))\n        }\n\n    }\n}\n```\n\nLicense\n-------\n\n    Copyright 2023 Oladipupo Gbenga\n\n    Licensed under the Apache License, Version 2.0 (the \"License\");\n    you may not use this file except in compliance with the License.\n    You may obtain a copy of the License at\n\n       http://www.apache.org/licenses/LICENSE-2.0\n\n    Unless required by applicable law or agreed to in writing, software\n    distributed under the License is distributed on an \"AS IS\" BASIS,\n    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n    See the License for the specific language governing permissions and\n    limitations under the License.\n\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevmike01%2Fpagestepindicator-compose","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdevmike01%2Fpagestepindicator-compose","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevmike01%2Fpagestepindicator-compose/lists"}