Installation
You need two things: the core (components, theme, provider) and one skin (the look). Charts, navigation and test checks are optional.
- Kotlin
- Dart
Camouflage is on Maven Central. It targets Compose Multiplatform on Android, iOS, desktop (JVM) and web (wasmJs).
Requirements: Kotlin 2.x with the Compose Multiplatform plugin, JDK 17+.
Use the BOM so all Camouflage modules share a version, then add the core and a skin to commonMain:
shared/build.gradle.kts
kotlin {
sourceSets {
commonMain.dependencies {
implementation(project.dependencies.platform("com.srctool.camouflage:camouflage-bom:0.2.0"))
implementation("com.srctool.camouflage:camouflage-core")
implementation("com.srctool.camouflage:camouflage-skin-material") // or -minimal, -cupertino, -fluent, -carbon
}
}
}
Optional modules, all versioned by the BOM:
implementation("com.srctool.camouflage:camouflage-charts") // line, bar, pie and sparkline charts
implementation("com.srctool.camouflage:camouflage-navigation3") // dialog and bottom-sheet scenes for Navigation 3
testImplementation("com.srctool.camouflage:camouflage-skin-testing") // accessibility and layout checks
Which skin?
| Skin | Feels like | Pick it when |
|---|---|---|
| Minimal | Neutral, flat, understated | You want a quiet base to brand heavily. |
| Material | Material 3 | An Android-first or Google-style product. |
| Cupertino | iOS, with Liquid Glass as an option | An iOS-first product. |
| Fluent | Fluent 2, with Acrylic and Mica | A Windows or Microsoft-style product. |
| Carbon | IBM Carbon | Dense, enterprise, data-heavy screens. |
You can change the skin later with a one-line edit, so this choice is not permanent.
Next: the quick start.