Icons
Iconsanimated
Wind
Gusts of wind drifting across the frame in sequence — for breezy weather or airflow.
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 WindGust() {
val t = rememberInfiniteTransition(label = "wind")
val color = LocalContentColor.current
Canvas(Modifier.size(40.dp)) {
repeat(3) { i ->
val x by t.animateFloat(-1f, 1f, infiniteRepeatable(tween(1400, delayMillis = i * 180, easing = EaseInOut), RepeatMode.Restart), label = "g$i")
val y = size.height * (0.35f + i * 0.18f)
drawLine(color.copy(alpha = 1f - kotlin.math.abs(x)), Offset(size.width * 0.2f + x * 6, y),
Offset(size.width * (0.7f + i * 0.05f) + x * 6, y), 2.dp.toPx(), StrokeCap.Round)
}
}
}