Install from Maven Central
Add implementation("com.santi020k:lumen-compose:4.0.0") to the application module.
Check requirements, install the package, and configure your first native screen. Learn how with Lumen for Android / Compose.
Get started
Install com.santi020k:lumen-compose:4.0.0 for Android apps. Add com.santi020k:lumen-compose-wear:4.0.0 only to a Wear OS module, then wrap content in the appropriate Lumen theme.
Add implementation("com.santi020k:lumen-compose:4.0.0") to the application module.
For a watch target, add implementation("com.santi020k:lumen-compose-wear:4.0.0") to the Wear module. Keep it out of phone and tablet modules that do not render Wear UI.
Wrap application content in LumenTheme. It follows the system appearance by default and keeps Lumen and Material 3 content aligned.
Sync Gradle, then run an emulator, a connected Android device, or build a debug APK.
// app/build.gradle.kts
repositories {
mavenCentral()
}
dependencies {
implementation("com.santi020k:lumen-compose:4.0.0")
}// wear/build.gradle.kts
repositories {
mavenCentral()
}
dependencies {
implementation("com.santi020k:lumen-compose-wear:4.0.0")
}import com.santi020k.lumen.LumenTheme
LumenTheme {
LumenSurface {
LumenText("Welcome", variant = LumenTextVariant.Title)
LumenButton(onClick = ::continueFlow) {
Text("Continue")
}
}
}