Salt UI is UI components based on Compose Multiplatform. The 1.0 version is derived from some UI components of Salt Player. Currently, Salt UI is used in Salt Player, Emo Scroll, Qinalt and other App to serve hundreds of thousands of users
// Replace <TAG> with the latest version
// e.g. implementation("io.github.moriafly:salt-ui:2.0.0")
implementation("io.github.moriafly:salt-ui:<TAG>")
Salt UI | Compose Multiplatform | Compose |
---|---|---|
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 |
@Composable
fun App() {
SaltTheme(
configs = saltConfigs()
) {
// ...
}
}