SmoothMotion is a Kotlin library for Jetpack Compose that makes animations and transitions effortless.
It provides pre-built animations for common UI interactions and utility functions for complex effects — so you can focus on building beautiful UIs faster.
- 🎬 Ready-to-use loading & progress animations
- ⚡ Built for Jetpack Compose — clean & modern API
- 🎨 Customizable colors, sizes, and speeds
- 🪶 Lightweight, no unnecessary dependencies
- 🔧 Utility functions for advanced motion
SmoothMotion.mp4
Add the JitPack repository to your settings.gradle.kts
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
google()
mavenCentral()
maven { url = uri("https://jitpack.io") }
}
}dependencies {
implementation ("com.github.abdullahalhakimi:SmoothMotion:1.0.1")
}DropCircleProgress(
modifier = Modifier.size(90.dp),
backgroundColor = Color.Gray.copy(alpha = 0.2f),
color = MaterialTheme.colorScheme.primary,
)CircledDotsProgress(
modifier = Modifier.size(90.dp),
backgroundColor = Color.Gray.copy(alpha = 0.2f),
color = MaterialTheme.colorScheme.primary,
)RotatingCircleProgress(
modifier = Modifier.size(90.dp),
color = MaterialTheme.colorScheme.primary
)RotatingFilledCircleProgress(
modifier = Modifier.size(90.dp),
color = MaterialTheme.colorScheme.primary
)LoadingDotsAnimation(
circleSize = 20.dp,
spaceBetween = 10.dp,
travelDistance = 15.dp,
circleColor = MaterialTheme.colorScheme.primary
)OutlinedLoadingDotsAnimation(
color = MaterialTheme.colorScheme.primary
)- Any IDE with SDK installed (ie. Android Studio, VSCode, IntelliJ, etc)
- A little knowledge of Kotlin and Jetpack Compose.
- A brain to think 🤓🤓
This project is licensed under the Apache License 2.0.