/miuix

A UI Library for Kotlin MultiPlatform.

Primary LanguageKotlinApache License 2.0Apache-2.0

Miuix

Miuix is a shared UI component based on Compose Multiplatform.

Now Supported: Android / Desktop(JVM) / iOS / WasmJs / Js / macOS.

Start

kotlin {
    sourceSets {
        commonMain.dependencies {
            implementation("top.yukonga.miuix.kmp:miuix:<version>")
            // Other dependencies...
        }
        // Other sourceSets...
    }
    // Other configurations...
}

Maven Central

Usage

@Composable
fun App() {
   MiuixTheme(
        colorScheme = if (isSystemInDarkTheme()) darkColorScheme() else lightColorScheme()
    ) {
       // Other content...
    }
}

Screenshot

demo