This is a fork of alexzhirkevich/compose-cupertino except its been updated to work with CMP 1.7+
Additionally this repo has automated builds to enable faster releases, to take advantage of new compose multiplatform features as they become available.
- Updated SwipeBox
- Fixed Cupertino Date Picker implementations to interact with scrolling correctly
- Disable content scaling on CupertinoBottomSheetScaffold (https://github.com/alexzhirkevich/compose-cupertino/issues/80)
- Using Dialogs instead of Popups for CupertinoDialogs (https://github.com/alexzhirkevich/compose-cupertino/issues/78)
This package is published to Maven Central Repository: cupertino-core on Maven Central
Depend on the latest version by declaring this in libs.versions.toml:
cupertino = "$latestVersion"
cupertino = { group = "io.github.schott12521", name = "cupertino", version.ref = "cupertino" }
cupertino-adaptive = { group = "io.github.schott12521", name = "cupertino-adaptive", version.ref = "cupertino" }
cupertino-decompose = { group = "io.github.schott12521", name = "cupertino-decompose", version.ref = "cupertino" }
cupertino-native = { group = "io.github.schott12521", name = "cupertino-native", version.ref = "cupertino" }
cupertino-icons-extended = { group = "io.github.schott12521", name = "cupertino-icons-extended", version.ref = "cupertino" }
This package is also available via GitHub packages.
Wanna see what the library feels like? The latest version builds and deploys the Kotlin/WasmJS target to github pages: https://schott12521.github.io/compose-cupertino/
Note: As of release 2.0.8, this forked library has been updated copyright headers to fully comply with the Apache 2.0 license copied from the original: https://github.com/alexzhirkevich/compose-cupertino/blob/master/LICENSE.txt
Contributions are always appreciated! Since builds to maven central go through GitHub Actions, we can get your changes in quickly.
Ensure that the copyright information is included in your file(s):
/*
* Copyright (c) 2023-2024. Compose Cupertino project and open source contributors.
* Copyright (c) 2025. Scott Lanoue.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
Ideally you set up Android Studio / IDE to handle copyright notices for you: https://stackoverflow.com/a/48718711/1730421
Note this repo is not officially supported in any capacity; changes will be applied upstream when applicable (example1, example2)