MohamedRejeb/Calf

Calf is a library that allows you to easily create adaptive UIs and access platform specific APIs with Compose Multiplatform (Adaptive UI, File Picker, WebView, Permissions...).

Kotlin

1,741

921 commits

updated Sep 20, 2026

See the code

README

Calf - Compose Adaptive Look & Feel

Calf is a library that allows you to easily create adaptive UIs and access platform specific APIs from your Compose Multiplatform apps.

Kotlin Compose MohamedRejeb Apache-2.0 BuildPassing Maven Central

Calf thumbnail

Calf stands for Compose Adaptive Look & Feel

Artifacts

ArtifactDescriptionPlatformsVersion
calf-uiAdaptive UI componentsAndroid, iOS, Desktop, Web(Js, Wasm)Maven Central
calf-file-pickerNative File Picker wrapperAndroid, iOS, Desktop, Web(Js, Wasm)Maven Central
calf-webviewWebView componentAndroid, iOS, Desktop, Web(Js, Wasm)Maven Central
calf-permissionsAPI that allows you to handle permissionsAndroid, iOSMaven Central
calf-geoAPI that allows you to access geolocationComing soon... 🚧 🚧Coming soon... 🚧 🚧
calf-navigationNative navigation wrapperComing soon... 🚧 🚧Coming soon... 🚧 🚧
calf-mapNative Maps wrapperComing soon... 🚧 🚧Coming soon... 🚧 🚧
calf-mediaVideo/Audio playerComing soon... 🚧 🚧Coming soon... 🚧 🚧
calf-notificationNotification managerComing soon... 🚧 🚧Coming soon... 🚧 🚧
calf-cupertino-iconsCross-platform Cupertino iconsAndroid, iOS, Desktop, Web(Js, Wasm)Maven Central

The main focus for now is Android and iOS, but more Desktop components are coming that allows you to create adaptive UIs for Desktop as well (Windows, macOS, Linux)


Support Palestine

Web Demo

You can try the web demo here

Compatibility

Maven Central

Kotlin versionCompose versionCalf version
2.4.201.12.00.14.0
2.4.101.11.10.13.0
2.3.201.10.30.12.0
2.3.201.10.30.11.0
2.3.201.10.30.10.0
2.2.211.9.20.9.0
2.1.211.8.00.8.0
2.1.101.7.30.7.1
2.1.01.7.30.7.0
2.0.211.7.00.6.1
2.0.101.6.110.5.5
1.9.221.6.00.4.1
1.9.211.5.110.3.1
1.9.201.5.100.2.0
1.9.01.5.00.1.1

Android: Calf 0.14.0+ is built on Compose Multiplatform 1.12, whose Android artifacts require compileSdk = 37 (Android Gradle Plugin 9.4 is the first release that supports it). Calf's Android minSdk stays 23.

Documentation

For more information, check the documentation:

Contribution

If you've found an error in this sample, please file an issue.
Feel free to help out by sending a pull request ❀️.

Code of Conduct

Find this library useful? ❀️

Support it by joining stargazers for this repository. ⭐
Also, follow me on GitHub for more libraries! 🀩

You can always

πŸ™ Credits

Special thanks to:

License

Copyright 2023 Mohamed Rejeb

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.
android
compose
compose-desktop
compose-ios
compose-library
compose-multiplatform
compose-multiplatform-library
compose-ui
desktop
ios
jetpack-compose
kotlin
kotlin-multiplatform

MohamedRejeb/Calf

Calf is a library that allows you to easily create adaptive UIs and access platform specific APIs with Compose Multiplatform (Adaptive UI, File Picker, WebView, Permissions...).

Kotlin

1,741

921 commits

updated Sep 20, 2026

See the code

README

Calf - Compose Adaptive Look & Feel

Calf is a library that allows you to easily create adaptive UIs and access platform specific APIs from your Compose Multiplatform apps.

Kotlin Compose MohamedRejeb Apache-2.0 BuildPassing Maven Central

Calf thumbnail

Calf stands for Compose Adaptive Look & Feel

Artifacts

ArtifactDescriptionPlatformsVersion
calf-uiAdaptive UI componentsAndroid, iOS, Desktop, Web(Js, Wasm)Maven Central
calf-file-pickerNative File Picker wrapperAndroid, iOS, Desktop, Web(Js, Wasm)Maven Central
calf-webviewWebView componentAndroid, iOS, Desktop, Web(Js, Wasm)Maven Central
calf-permissionsAPI that allows you to handle permissionsAndroid, iOSMaven Central
calf-geoAPI that allows you to access geolocationComing soon... 🚧 🚧Coming soon... 🚧 🚧
calf-navigationNative navigation wrapperComing soon... 🚧 🚧Coming soon... 🚧 🚧
calf-mapNative Maps wrapperComing soon... 🚧 🚧Coming soon... 🚧 🚧
calf-mediaVideo/Audio playerComing soon... 🚧 🚧Coming soon... 🚧 🚧
calf-notificationNotification managerComing soon... 🚧 🚧Coming soon... 🚧 🚧
calf-cupertino-iconsCross-platform Cupertino iconsAndroid, iOS, Desktop, Web(Js, Wasm)Maven Central

The main focus for now is Android and iOS, but more Desktop components are coming that allows you to create adaptive UIs for Desktop as well (Windows, macOS, Linux)


Support Palestine

Web Demo

You can try the web demo here

Compatibility

Maven Central

Kotlin versionCompose versionCalf version
2.4.201.12.00.14.0
2.4.101.11.10.13.0
2.3.201.10.30.12.0
2.3.201.10.30.11.0
2.3.201.10.30.10.0
2.2.211.9.20.9.0
2.1.211.8.00.8.0
2.1.101.7.30.7.1
2.1.01.7.30.7.0
2.0.211.7.00.6.1
2.0.101.6.110.5.5
1.9.221.6.00.4.1
1.9.211.5.110.3.1
1.9.201.5.100.2.0
1.9.01.5.00.1.1

Android: Calf 0.14.0+ is built on Compose Multiplatform 1.12, whose Android artifacts require compileSdk = 37 (Android Gradle Plugin 9.4 is the first release that supports it). Calf's Android minSdk stays 23.

Documentation

For more information, check the documentation:

Contribution

If you've found an error in this sample, please file an issue.
Feel free to help out by sending a pull request ❀️.

Code of Conduct

Find this library useful? ❀️

Support it by joining stargazers for this repository. ⭐
Also, follow me on GitHub for more libraries! 🀩

You can always

πŸ™ Credits

Special thanks to:

License

Copyright 2023 Mohamed Rejeb

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.
android
compose
compose-desktop
compose-ios
compose-library
compose-multiplatform
compose-multiplatform-library
compose-ui
desktop
ios
jetpack-compose
kotlin
kotlin-multiplatform

Significant stargazers

Mitchell Syer

46 followers Β· starred Aug 2023

Jared Burrows

507 followers Β· starred Oct 2026

Fankes yooni

886 followers Β· starred Aug 2023

SnowCharm

42 followers Β· starred Jan 2024