Description
Coil is an image loading library for Android and Compose Multiplatform, and its name stands for Coroutine Image Loader. It is designed to be fast, with memory and disk caching, downsampling of images to the size they are shown at, and automatic pausing and cancellation of requests that are no longer needed. It is lightweight, depending only on Kotlin, Coroutines and Okio, and it works with Google's R8 code shrinker. Its API uses Kotlin language features to keep usage simple with little boilerplate, and it is Kotlin-first, interoperating with Compose, Coroutines, Okio, OkHttp and Ktor. To load an image, you add the Compose library and a networking library, then call the AsyncImage composable. The README links the full documentation, and it lists translations of the README into Japanese, Korean, Russian, Swedish, Turkish, Chinese, Persian and Uzbek. The library is licensed under the Apache License 2.0, and the code is on GitHub under the coil-kt organisation. Coil suits Android apps that load images from the network or from local files and want a modern, coroutine-based API.…
Highlights
- Memory and disk caching
- Downsampling and request cancellation
- Depends only on Kotlin, Coroutines and Okio
- AsyncImage composable for Compose
- Works with OkHttp and Ktor
- Apache 2.0 licensed
Ratings & Reviews
No ratings yet
Be the first to rate Coil.
People also visit
Compose-Image
🚀🏞💪 Collection of Images, Modifiers, utility functions for Jetpack Compose…
Coil FAQ
What is Coil?
An image loading library for Android and Compose Multiplatform, built on Kotlin and Coroutines.
How do I load an image?
Add the Compose library and a networking library, then use the AsyncImage composable.
Does it cache images?
Yes. The README says Coil uses memory and disk caching, and downsamples images.
Which networking libraries work with it?
OkHttp and Ktor, and it interoperates with Coroutines and Okio.
What license is it under?
The Apache License 2.0.
Where is the documentation?
The README links the full documentation, and the README has translations in several languages.
What are the best Coil alternatives?
Popular alternatives to Coil include ImagePickerKMP, Compose-Image and Drag Select Compose. See all Coil alternatives






