https://github.com/moriafly/saltui
UI Components for Compose Multiplatform (Android/Desktop/iOS).
https://github.com/moriafly/saltui
android compose-desktop compose-multiplatform desktop jetpack-compose ui ui-components
Last synced: about 2 months ago
JSON representation
UI Components for Compose Multiplatform (Android/Desktop/iOS).
- Host: GitHub
- URL: https://github.com/moriafly/saltui
- Owner: Moriafly
- License: apache-2.0
- Created: 2023-07-09T13:52:33.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2025-03-27T02:07:25.000Z (11 months ago)
- Last Synced: 2025-04-04T01:47:04.807Z (11 months ago)
- Topics: android, compose-desktop, compose-multiplatform, desktop, jetpack-compose, ui, ui-components
- Language: Kotlin
- Homepage:
- Size: 1.35 MB
- Stars: 273
- Watchers: 2
- Forks: 17
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
[](https://github.com/JetBrains/compose-multiplatform/releases/latest)[](https://search.maven.org/search?q=g:io.github.moriafly) [](https://www.codefactor.io/repository/github/moriafly/saltui/overview/main)
# Salt UI
Salt UI is UI components based on [Compose Multiplatform](https://github.com/JetBrains/compose-multiplatform). The 1.0 version is derived from some UI components of [Salt Player](https://github.com/Moriafly/SaltPlayerSource). Currently, Salt UI is used in Salt Player, Emo Scroll, Qinalt and other App to serve hundreds of thousands of users.
## Compatibility
| Salt UI | Compose Multiplatform | Jetpack Compose |
|----------------|-----------------------|-----------------|
| 2.8.1+ | 1.10.0-rc02 | 1.10.0 |
| 2.8.0+ | 1.10.0-rc01 | 1.10.0-rc01 |
| 2.8.0-rc02+ | 1.10.0-beta02 | 1.10.0-beta02 |
| 2.8.0-beta01+ | 1.10.0-beta01 | 1.10.0-beta01 |
| 2.8.0-alpha09+ | 1.10.0-alpha03 | 1.10.0-alpha05 |
| 2.8.0-alpha01+ | 1.10.0-alpha02 | 1.10.0-alpha04 |
| 2.7.0-alpha01+ | 1.10.0-alpha01 | 1.10.0-alpha02 |
| 2.6.0-beta02+ | 1.9.0-rc01 | 1.9.0 |
| 2.6.0-beta01+ | 1.9.0-beta03 | 1.9.0-rc01 |
| 2.5.0-alpha05+ | 1.8.2 | 1.8.2 |
| 2.4.0+ | 1.8.0 | 1.8.0 |
| 2.3.1+ | 1.7.3 | 1.7.6 |
| 2.3.0-alpha02+ | 1.7.1 | 1.7.5 |
| 2.2.0+ | 1.7.0 | 1.7.1 |
| 2.2.0-beta01+ | 1.7.0-rc01 | 1.7.0 |
| 2.2.0-alpha01+ | 1.7.0-beta02 | |
| 2.0.7+ | 1.7.0-alpha03 | |
| 2.0.4+ | 1.7.0-alpha02 | |
| < 2.0.4 | 1.6.11 | |
## Get started
Add dependency:
```kotlin
// Replace with the latest version
// e.g. implementation("io.github.moriafly:salt-ui:2.6.0-beta02")
implementation("io.github.moriafly:salt-ui:")
```
Simple start:
```kotlin
@Composable
fun App() {
SaltTheme(
configs = saltConfigs()
) {
// ...
}
}
```
See demo: [composeApp](https://github.com/Moriafly/SaltUI/tree/main/composeApp).
## Text Description and Translation Standards
See: [Salt UI Text Description and Translation Standards](https://moriafly.com/standards/tdts).
## Google Play
Salt UI performs operations related to internal ART APIs. Please refer to the following solution for publishing on the Google Play platform.
> Google Play doesn't allow apps to use hidden APIs, reporting library usage will cause your app to fail app review, you need to disable dependencies info reporting in build.gradle. Remember to update this library to latest version to be compatible with new Android version.
>
> Quoted from **AndroidHiddenApiBypass**
>
> ```kotlin
> android {
> dependenciesInfo {
> includeInApk = false
> includeInBundle = false
> }
> }
> ```
## License
See [LICENSE](LICENSE).
## Contribute
See [Contributor Covenant Code of Conduct](CODE_OF_CONDUCT.md).
## Thanks
- [AndroidHiddenApiBypass](https://github.com/LSPosed/AndroidHiddenApiBypass)
- [compose-native-look](https://github.com/ComposeNativeLook/compose-native-look)
- [compose-fluent-ui](https://github.com/compose-fluent/compose-fluent-ui)
- [haze](https://github.com/chrisbanes/haze)