Popularity
1.7
Growing
Activity
2.1
Declining
50
3
1

Description

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

Programming language: Kotlin
Tags: UI     Android     Animations     Shimmer     Compose    

Shimmer alternatives and similar packages

Based on the "Animations" category.
Alternatively, view compose-shimmer alternatives based on common mentions on social networks and blogs.

Do you think we are missing an alternative of Shimmer or a related project?

Add another 'Animations' Package

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)
            )
    )
}