Skip to content
项目

关于

Calf 是一个基于 Compose Multiplatform 的库,可让你轻松创建自适应 UI 并访问平台特定 API(自适应 UI、文件选择器、WebView、权限等)。

网站与应用开发

这些数字如何统计

实测星标增长

24小时
+1
7天
0
15天
+3
1个月
+7

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

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

Artifact Description Platforms Version
calf-ui Adaptive UI components Android, iOS, Desktop, Web(Js, Wasm) Maven Central
calf-file-picker Native File Picker wrapper Android, iOS, Desktop, Web(Js, Wasm) Maven Central
calf-webview WebView component Android, iOS, Desktop, Web(Js, Wasm) Maven Central
calf-permissions API that allows you to handle permissions Android, iOS Maven Central
calf-geo API that allows you to access geolocation Coming soon... 🚧 🚧 Coming soon... 🚧 🚧
calf-navigation Native navigation wrapper Coming soon... 🚧 🚧 Coming soon... 🚧 🚧
calf-map Native Maps wrapper Coming soon... 🚧 🚧 Coming soon... 🚧 🚧
calf-media Video/Audio player Coming soon... 🚧 🚧 Coming soon... 🚧 🚧
calf-notification Notification manager Coming soon... 🚧 🚧 Coming soon... 🚧 🚧
calf-cupertino-icons Cross-platform Cupertino icons Android, 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 version Compose version Calf version
2.4.20 1.12.0 0.14.0
2.4.10 1.11.1 0.13.0
2.3.20 1.10.3 0.12.0
2.3.20 1.10.3 0.11.0
2.3.20 1.10.3 0.10.0
2.2.21 1.9.2 0.9.0
2.1.21 1.8.0 0.8.0
2.1.10 1.7.3 0.7.1
2.1.0 1.7.3 0.7.0
2.0.21 1.7.0 0.6.1
2.0.10 1.6.11 0.5.5
1.9.22 1.6.0 0.4.1
1.9.21 1.5.11 0.3.1
1.9.20 1.5.10 0.2.0
1.9.0 1.5.0 0.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 :heart:.

Code of Conduct

Find this library useful? :heart:

Support it by joining stargazers for this repository. :star:
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.

探索相关项目

加载中…