{"id":21038732,"url":"https://github.com/ceribe/compose-overflow-menu","last_synced_at":"2025-04-12T14:33:01.914Z","repository":{"id":109464198,"uuid":"433992666","full_name":"ceribe/compose-overflow-menu","owner":"ceribe","description":"Easy to use overflow menu for Jetpack Compose","archived":false,"fork":false,"pushed_at":"2022-05-06T10:45:43.000Z","size":153,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-26T09:04:48.816Z","etag":null,"topics":["android","android-library","compose","jetpack","jetpack-android","jetpack-compose","jitpack","jitpack-android"],"latest_commit_sha":null,"homepage":"","language":"Kotlin","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ceribe.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":"2021-12-01T21:35:51.000Z","updated_at":"2024-02-29T15:33:20.000Z","dependencies_parsed_at":"2023-05-22T02:15:43.544Z","dependency_job_id":null,"html_url":"https://github.com/ceribe/compose-overflow-menu","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ceribe%2Fcompose-overflow-menu","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ceribe%2Fcompose-overflow-menu/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ceribe%2Fcompose-overflow-menu/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ceribe%2Fcompose-overflow-menu/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ceribe","download_url":"https://codeload.github.com/ceribe/compose-overflow-menu/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248581270,"owners_count":21128138,"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","android-library","compose","jetpack","jetpack-android","jetpack-compose","jitpack","jitpack-android"],"created_at":"2024-11-19T13:34:26.996Z","updated_at":"2025-04-12T14:33:01.887Z","avatar_url":"https://github.com/ceribe.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![](https://jitpack.io/v/ceribe/compose-overflow-menu.svg)](https://jitpack.io/#ceribe/compose-overflow-menu)\n\n# Overflow Menu\nAndroid library for Jetpack Compose providing an Overflow Menu via fast and easy to use DSL.\n\n\u003cimg src=\"art/Sample1.gif\" width=\"250\"/\u003e\n\n# How to add to project\n### Step 1. Add the JitPack repository to your build file\nAdd it in your root build.gradle at the end of repositories:\n```gradle\n  allprojects {\n     repositories {\n       ....\n       maven { url 'https://jitpack.io' }\n     }\n  }\n```\n### Step 2. Add the dependency\n```gradle\n  dependencies {\n       implementation 'com.github.ceribe:compose-overflow-menu:version'\n  }\n```\n\n# How to use\n```kotlin \nOverflowMenu {\n    shownIconsCount = 2 // How many icons will be shown on top app bar, rest will be hidden under overflow icon\n    icons {\n        icon {\n            imageVector = Icons.Filled.Edit\n            onClick = { context.toast(\"First Icon Clicked\") }\n        }\n        icon {\n            imageVector = Icons.Filled.Delete\n            onClick = { context.toast(\"Second Icon Clicked\") }\n        }\n        icon {\n            label = \"Third Example\"\n            onClick = { context.toast(\"Third Icon Clicked\") }\n        }\n    }\n    // Default values for icons. If icon does not have some parameter set it will use the one from defaults\n    defaults {\n        tint = Color.Red\n    }\n    // Parameters for overflow icon\n    overflowIcon {\n        tint = Color.Yellow\n    }\n}\n```\n### Possible icon parameters\n- onClick - Lambda called when this icon is clicked\n- modifier - Will be applied to Icon or DropdownMenuItem\n- enabled - Will be applied to Icon or DropdownMenuItem\n- imageVector - Will be applied to Icon\n- label - Label used when this icon is hidden\n- contentDescription - Will be applied to Icon\n- tint - Will be applied to Icon\n\n\nFor more examples check [here](https://github.com/ceribe/compose-overflow-menu/blob/master/sample/src/main/java/com/ceribe/compose/sample/MainActivity.kt)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fceribe%2Fcompose-overflow-menu","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fceribe%2Fcompose-overflow-menu","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fceribe%2Fcompose-overflow-menu/lists"}