kotlin-multiplatform-image-loading
Installation
SKILL.md
When to Use This Skill
Use when:
- Loading images from a URL in a Compose Multiplatform screen
- Showing a placeholder while the image loads and an error state when it fails
- Displaying circular avatars, rounded thumbnails, or full-bleed hero images
- Tuning memory/disk cache size for image-heavy screens
- Loading local bundled images from
Resalongside network images
Trigger keywords: image loading, Coil, Coil 3, AsyncImage, coil-compose, network image, load image from URL, image placeholder, image error state, circular image, avatar image, image cache, disk cache, SubcomposeAsyncImage, ImageLoader KMP, Kamel, image loading KMP.
Freshness rule: Coil 3 became KMP-ready in 3.x — verify the version in libs.versions.toml
lists io.coil-kt.coil3 (not io.coil-kt). Coil 3 APIs differ significantly from Coil 2.
Recheck the Coil 3 migration guide before
upgrading. iOS target requires the Kotlin/Native memory model.