{"id":36425931,"url":"https://github.com/ch4rl3x/speeddialfloatingactionbutton","last_synced_at":"2026-01-11T18:00:16.345Z","repository":{"id":54561220,"uuid":"354822332","full_name":"ch4rl3x/SpeedDialFloatingActionButton","owner":"ch4rl3x","description":"Jetpack Compose SpeedDial / Multi Selection - FloatingActionButton (FAB) (Material 2 + 3)","archived":false,"fork":false,"pushed_at":"2025-03-30T09:16:21.000Z","size":831,"stargazers_count":34,"open_issues_count":1,"forks_count":3,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-30T10:23:23.988Z","etag":null,"topics":["android","android-library","floating-action-button","floatingactionbutton","jetpack-compose","jetpackcompose","material","material3","speeddial"],"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/ch4rl3x.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-04-05T12:09:49.000Z","updated_at":"2025-03-30T09:16:25.000Z","dependencies_parsed_at":"2025-03-30T10:32:17.647Z","dependency_job_id":null,"html_url":"https://github.com/ch4rl3x/SpeedDialFloatingActionButton","commit_stats":null,"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"purl":"pkg:github/ch4rl3x/SpeedDialFloatingActionButton","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ch4rl3x%2FSpeedDialFloatingActionButton","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ch4rl3x%2FSpeedDialFloatingActionButton/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ch4rl3x%2FSpeedDialFloatingActionButton/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ch4rl3x%2FSpeedDialFloatingActionButton/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ch4rl3x","download_url":"https://codeload.github.com/ch4rl3x/SpeedDialFloatingActionButton/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ch4rl3x%2FSpeedDialFloatingActionButton/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28316889,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-11T14:58:17.114Z","status":"ssl_error","status_checked_at":"2026-01-11T14:55:53.580Z","response_time":60,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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","floating-action-button","floatingactionbutton","jetpack-compose","jetpackcompose","material","material3","speeddial"],"created_at":"2026-01-11T18:00:15.720Z","updated_at":"2026-01-11T18:00:16.232Z","avatar_url":"https://github.com/ch4rl3x.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SpeedDialFloatingActionButton\n## Current Compose Version: 1.3.1\nCompose MultiSelection / SpeedDial - FloatingActionButton\n\nUsable docked in BottomAppBar\n\n\u003ca href=\"https://github.com/ch4rl3x/SpeedDialFloatingActionButton/actions?query=workflow%3ALint\"\u003e\u003cimg src=\"https://github.com/ch4rl3x/SpeedDialFloatingActionButton/workflows/Lint/badge.svg\" alt=\"Lint\"\u003e\u003c/a\u003e\n\u003ca href=\"https://github.com/ch4rl3x/SpeedDialFloatingActionButton/actions?query=workflow%3AKtlint\"\u003e\u003cimg src=\"https://github.com/ch4rl3x/SpeedDialFloatingActionButton/workflows/Ktlint/badge.svg\" alt=\"Ktlint\"\u003e\u003c/a\u003e\n\n\u003ca href=\"https://www.codefactor.io/repository/github/ch4rl3x/SpeedDialFloatingActionButton\"\u003e\u003cimg src=\"https://www.codefactor.io/repository/github/ch4rl3x/SpeedDialFloatingActionButton/badge\" alt=\"CodeFactor\" /\u003e\u003c/a\u003e\n\u003ca href=\"https://repo1.maven.org/maven2/de/charlex/compose/speeddial/\"\u003e\u003cimg src=\"https://img.shields.io/maven-central/v/de.charlex.compose/speeddial\" alt=\"Maven Central\" /\u003e\u003c/a\u003e\n\u003ca href=\"https://repo1.maven.org/maven2/de/charlex/compose/speeddial-bottomappbar-material3/\"\u003e\u003cimg src=\"https://img.shields.io/maven-central/v/de.charlex.compose/speeddial-bottomappbar-material3\" alt=\"Maven Central\" /\u003e\u003c/a\u003e\n\n\n\n\n\n# How to use it?\n\n## Material 3\n\nAdd actual SpeedDialFloatingActionButton for Material 3 BottomAppBar library:\n\n```groovy\ndependencies {\n    implementation 'de.charlex.compose:speeddial-bottomappbar-material3:1.1.1'\n}\n```\n\n```kotlin\nval fabState = rememberSpeedDialFloatingActionButtonState()\n\nScaffold(\n    bottomBar = {\n        BottomAppBar(\n            ...\n            floatingActionButton = {\n                BottomAppBarSpeedDialFloatinActionButton(\n                    state = fabState\n                ) {\n                    Icon(Icons.Default.Add, contentDescription = null)\n                }\n            }\n            ...\n        )\n    },\n    floatingActionButton = {\n        SubSpeedDialFloatingActionButtons(\n            state = fabState,\n            items = listOf(\n                FloatingActionButtonItem(\n                    icon = Icons.Default.Person,\n                    label = \"Person\"\n                ) {\n                    //TODO onClick\n                },\n                FloatingActionButtonItem(\n                    icon = Icons.Default.Home,\n                    label = \"Home\"\n                ) {\n                    //TODO onClick\n                }\n            )\n        )\n    }\n) {\n    //Content\n}\n```\n\n### Docked in BottomAppBar with labels\n![BottomAppBarSpeedDialFloatingActionButton demonstration](https://github.com/ch4rl3x/SpeedDialFloatingActionButton/blob/main/art/speeddial_bottomappbar-material3.gif)\n\n## Material 2\n\n### Add to your project\n\nAdd actual SpeedDialFloatingActionButton library:\n\n```groovy\ndependencies {\n    implementation 'de.charlex.compose:speeddial:1.1.1'\n}\n```\n\nUse it instead of a normal FloatingActionButton\n\n```kotlin\nSpeedDialFloatingActionButton(\n    modifier = Modifier,\n    initialExpanded = false,\n    animationDuration = 300,\n    animationDelayPerSelection = 100,\n    showLabels = true,\n    fabBackgroundColor = MaterialTheme.colors.secondary,\n    fabContentColor = contentColorFor(fabBackgroundColor),\n    speedDialBackgroundColor = MaterialTheme.colors.secondaryVariant,\n    speedDialContentColor = contentColorFor(speedDialBackgroundColor),\n    speedDialData = listOf(\n        SpeedDialData(\n            label = \"Test 1\",\n            painter = painterResource(id = R.drawable.ic_add_white_24dp)\n        ) {\n          //TODO onClick\n        },\n        SpeedDialData(\n            label = \"Test 2\",\n            painter = painterResource(id = R.drawable.ic_add_white_24dp)\n        ) {\n            //TODO onClick\n        },\n        SpeedDialData(\n            label = \"Test 3\",\n            painterResource = R.drawable.ic_add_white_24dp\n        ) {\n            //TODO onClick\n        },\n        SpeedDialData(\n            label = \"Test 4\",\n            painterResource = R.drawable.ic_add_white_24dp\n        ) {\n            //TODO onClick\n        }\n    )\n)\n```\n\n### Docked in BottomAppBar with labels\n![SpeedDialFloatingActionButton demonstration](https://github.com/ch4rl3x/SpeedDialFloatingActionButton/blob/main/art/expand_labeled_docked.gif)\n\n\n\nThat's it!\n\nLicense\n--------\n\n    Copyright 2020 Alexander Karkossa\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","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fch4rl3x%2Fspeeddialfloatingactionbutton","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fch4rl3x%2Fspeeddialfloatingactionbutton","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fch4rl3x%2Fspeeddialfloatingactionbutton/lists"}