ValeryPonomarenko
compose-shimmer
Kotlin

Add a shimmer effect to the layout in Android Compose

Last updated May 20, 2026
99
Stars
3
Forks
0
Issues
0
Stars/day
Attention Score
15
Language breakdown
No language data available.
โ–ธ Files click to expand
README

Shimmer

Release

Library provides an easy way to a add shimmer effect in Android Compose project.

Installing

To download it from the jitpack, add these lines in your root build.gradle at the end of repositories:
allprojects {
    repositories {
        ...
        maven { url 'https://jitpack.io' }
    }
}

And then add to the module's build.gradle

implementation "me.vponomarenko:compose-shimmer:LATEST_VERSION"

LATEST_VERSION is 1.0.0

How to use

To add a shimmer effect to the layout, just use the .shimmer() modifier

Column(
    modifier = Modifier
        .fillMaxSize()
        .shimmer()
) {
    Box(
        modifier = Modifier
            .fillMaxWidth()
            .height(120.dp)
            .background(
                color = Color(0xFFF3F3F3),
                shape = RoundedCornerShape(4.dp)
            )
    )
}

ยฉ 2026 GitRepoTrend ยท ValeryPonomarenko/compose-shimmer ยท Updated daily from GitHub