Loadify is a lightweight, powerful image loading library built natively in Kotlin for Jetpack Compose.
It supports all modern image typesβGIF, SVG, WebP, Vector, Bitmap, Lottieβand offers unmatched performance and customization with zero dependencies like Coil, Picasso, or Glide.
β
Load from URL, Drawable, Bitmap, Uri
β
Full support for GIFs (via AnimatedImageDrawable
)
β
Render SVGs, WebP, Vector Drawables
β
Play Lottie Animations (from raw res or remote URL)
β
Built-in Caching: memory & disk
β
Image Transformations: Circle Crop, Blur
β
Customize headers, placeholders, and error states
β
Full loading state lifecycle: onLoading
, onSuccess
, onError
β
MIT Licensed & 100% Kotlin
// build.gradle (Kotlin DSL)
dependencies {
implementation("com.quadlogixs.loadify:loadify:0.1.1")
}
repositories {
mavenCentral()
}
Loadify(
data = "https://example.com/image.jpg",
modifier = Modifier.size(100.dp),
placeholder = { CircularProgressIndicator() },
onLoadSuccess = { println("Loaded!") },
onLoadError = { println("Failed") }
)
Format | Source | β Supported |
---|---|---|
PNG, JPG, BMP | URL, Drawable | β |
WebP | URL, Drawable | β |
SVG | URL | β |
GIF | URL, Drawable | β |
Lottie JSON | RawRes, URL | β |
Bitmap | Instance | β |
Uri | From content picker | β |
Loadify(
data = "https://example.com/image.webp",
modifier = Modifier.size(120.dp),
circleCrop = true,
blurRadius = 10,
colorFilter = ColorFilter.tint(Color.Red),
headers = mapOf("Authorization" to "Bearer token123"),
contentScale = ContentScale.Fit,
onLoading = { /* show loader */ },
onLoadSuccess = { /* success */ },
onLoadError = { /* error */ },
lottieOptions = LottieOptions(
isPlaying = true,
iterations = LottieConstants.IterateForever,
speed = 1.2f,
renderMode = RenderMode.AUTOMATIC
)
)
Loadify(data = R.drawable.ic_vector)
Loadify(data = R.drawable.animated_gif)
Loadify(data = "https://example.com/cat.gif")
Loadify(data = "https://example.com/image.svg")
Loadify(data = R.raw.loading_animation)
Loadify(data = "https://example.com/lottie.json")
Loadify(data = selectedImageUri)
- βοΈ Vector Drawable
- βοΈ WebP
- βοΈ Lottie (Raw & URL)
- βοΈ GIF (Drawable & Remote)
- βοΈ Bitmap
- βοΈ URI (Picker)
- βοΈ SVG from Web
- βοΈ PNG / JPG
Run the sample project inside the sample/
module to preview all features live.
MIT License
Copyright (c) 2025 Kamran
Kamran (@kambrain)
π GitHub
π§ mkami.kamran786@gmail.com
If you like Loadify, consider giving it a βοΈ on GitHub β it helps more devs discover modern, dependency-free Compose tools!