Icons
Iconsanimated
Fingerprint
Concentric fingerprint ridges that trace themselves in, resolving into an auth prompt.
Installation
caveui components are copy-paste Jetpack Compose built entirely on Material 3 — there's no caveui dependency to add. Make sure Material 3 is on your classpath (it ships with the Compose BOM), then copy the Usage snippet below into your project.
kotlin
// build.gradle.kts (module)
dependencies {
implementation(platform("androidx.compose:compose-bom:2025.06.00"))
implementation("androidx.compose.material3:material3")
}Usage
kotlin
@Composable
fun FingerprintScan(progress: Float) { // 0f..1f
val color = MaterialTheme.colorScheme.primary
Canvas(Modifier.size(40.dp)) {
val s = Stroke(2.dp.toPx(), cap = StrokeCap.Round)
listOf(0.9f, 0.65f, 0.4f).forEachIndexed { i, r ->
val p = ((progress - i * 0.15f) / 0.55f).coerceIn(0f, 1f)
drawArc(color, 200f, 200f * p, false, style = s,
topLeft = center - Offset(size.width * r / 2, size.height * r / 2),
size = Size(size.width * r, size.height * r))
}
}
}