Skip to content

Installation

Add the ChromaDial dependency to your build.gradle.kts:

dependencies {
implementation("com.sinasamaki:chromadial:<version>")
}

For Kotlin Multiplatform projects, add the dependency to your common source set:

kotlin {
sourceSets {
commonMain.dependencies {
implementation("com.sinasamaki:chromadial:<version>")
}
}
}

Once installed, import the Dial component:

import com.sinasamaki.chroma.dial.Dial
import com.sinasamaki.chroma.dial.DialState
import com.sinasamaki.chroma.dial.RadiusMode

Now that you have ChromaDial installed, learn how to use it: