Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

compose-miuix-ui/miuix

Repository files navigation

Miuix

Miuix is a shared UI library for Compose Multiplatform.

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

This library is experimental, any API would be changed in the future without any notification.

License Maven Central

Web Example

JsCanvas Demo / WasmJs Demo

Start

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

Usage

@Composable
fun App() {
 MiuixTheme(
 colors = if (isSystemInDarkTheme()) darkColorScheme() else lightColorScheme()
 ) {
 Scaffold(
 topBar = {
 // TopBar
 },
 bottomBar = {
 // BottomBar
 },
 floatingActionButton = {
 // FloatingActionButton
 },
 ) {
 // Other Content...
 }
 }
}

Screenshot

screenshot

AltStyle によって変換されたページ (->オリジナル) /