{"id":24482484,"url":"https://github.com/iamageo/magictablayout","last_synced_at":"2025-10-17T07:42:08.918Z","repository":{"id":138945514,"uuid":"524454652","full_name":"iamageo/MagicTabLayout","owner":"iamageo","description":"TabLayout implemented in Jetpack Compose 🚀","archived":false,"fork":false,"pushed_at":"2025-03-31T07:53:03.000Z","size":152,"stargazers_count":7,"open_issues_count":4,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-13T16:50:01.249Z","etag":null,"topics":["android","android-library","compose-tab-layout","efficient-tab-layout","jetpack-compose","jitpack","jitpack-library","kotlin","library","tab-layout"],"latest_commit_sha":null,"homepage":"","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/iamageo.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,"zenodo":null}},"created_at":"2022-08-13T16:44:17.000Z","updated_at":"2025-03-02T13:27:15.000Z","dependencies_parsed_at":"2024-02-12T17:29:05.767Z","dependency_job_id":"7cd5b1ec-c0bb-4752-b37d-1e8d7759ee53","html_url":"https://github.com/iamageo/MagicTabLayout","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/iamageo/MagicTabLayout","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iamageo%2FMagicTabLayout","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iamageo%2FMagicTabLayout/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iamageo%2FMagicTabLayout/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iamageo%2FMagicTabLayout/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/iamageo","download_url":"https://codeload.github.com/iamageo/MagicTabLayout/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iamageo%2FMagicTabLayout/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279304156,"owners_count":26143998,"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","status":"online","status_checked_at":"2025-10-17T02:00:07.504Z","response_time":56,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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","android-library","compose-tab-layout","efficient-tab-layout","jetpack-compose","jitpack","jitpack-library","kotlin","library","tab-layout"],"created_at":"2025-01-21T12:13:55.964Z","updated_at":"2025-10-17T07:42:08.875Z","avatar_url":"https://github.com/iamageo.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003eMagicTabLayout\u003c/h1\u003e\u003cbr/\u003e\n\u003cp align=\"center\"\u003e \nAn efficient TabLayout library implemented in Jetpack Compose 🚀\n\u003c/p\u003e\n\u003cbr/\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://opensource.org/licenses/Apache-2.0\"\u003e\u003cimg alt=\"License\" src=\"https://img.shields.io/badge/License-Apache%202.0-blue.svg\"/\u003e\u003c/a\u003e\n  \u003ca href=\"https://android-arsenal.com/api?level=21\"\u003e\u003cimg alt=\"API\" src=\"https://img.shields.io/badge/API-21%2B-brightgreen.svg?style=flat\"/\u003e\u003c/a\u003e\n  \u003cimg alt=\"repo size\" src=\"https://img.shields.io/github/repo-size/iamageo/MagicTabLayout\"/\u003e\n  \u003cbr/\u003e\n    \u003cimg alt=\"forks\" src=\"https://img.shields.io/github/forks/iamageo/MagicTabLayout?style=social\"/\u003e\n    \u003cimg alt=\"stars\" src=\"https://img.shields.io/github/stars/iamageo/MagicTabLayout?style=social\"/\u003e\n\n\n\u003c/p\u003e\n\n## Anatomy\n![banner_magic_tab_layout](https://user-images.githubusercontent.com/26925002/186786657-432fe672-0eb8-4502-af00-e0f2b6dd81eb.png)\n1. MagicTabLayout\n2. tabIndicatorColor (Optional, default value: blue)\n3. MagicTabItem\n4. MagicTabItem title\n\n## Including in your project\n[![](https://jitpack.io/v/iamageo/MagicTabLayout.svg)](https://jitpack.io/#iamageo/MagicTabLayout)\n\n### Gradle\nAdd below codes to your **root** `build.gradle` file (not your module build.gradle file).\n```gradle\nallprojects {\n  repositories {\n    ...\n    maven { url 'https://jitpack.io' }\n  }\n}\n```\nAnd add a dependency code to your **module**'s `build.gradle` file.\n```gradle\ndependencies {\n    implementation 'com.github.iamageo:MagicTabLayout:1.0.3'     \n}\n```\n\n## Basic Usage\nAdd in you Activity file.\n\n```kotlin\n/* specify your tabs */\nval tabs = listOf(\n    MagicTabItem(title = \"Home\") { TabItemTest(item = \"tab1\") },\n    MagicTabItem(title = \"Favorites\") { TabItemTest(item = \"tab2\") },\n    MagicTabItem(title = \"Settings\") { TabItemTest(item = \"tab3\") },\n)\n\nColumn() {\n    MagicTabLayout(\n        tabIndicatorColor = Color.Blue,\n        tabColor = Color.White,\n        tabList = tabs,\n    )\n}\n\n/* in this case TabItemTest contains bellow composable function, but you can pass your functions */\n@Composable\nfun TabItemTest(item: String) {\n    Column(\n        modifier = Modifier.fillMaxSize(),\n        verticalArrangement = Arrangement.Center,\n        horizontalAlignment = Alignment.CenterHorizontally\n    ) {\n        Text(\n            text = item,\n            color = Color.Black,\n        )\n    }\n}\n```\n\n## License\n```\n    Copyright 2022 Geovani Amaral\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","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiamageo%2Fmagictablayout","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fiamageo%2Fmagictablayout","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiamageo%2Fmagictablayout/lists"}