Skip to main content

Installation

You need two things: the core (components, theme, provider) and one skin (the look). Charts, navigation and test checks are optional.

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?​

SkinFeels likePick it when
MinimalNeutral, flat, understatedYou want a quiet base to brand heavily.
MaterialMaterial 3An Android-first or Google-style product.
CupertinoiOS, with Liquid Glass as an optionAn iOS-first product.
FluentFluent 2, with Acrylic and MicaA Windows or Microsoft-style product.
CarbonIBM CarbonDense, 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.