jenga Shimmer
Paints an animated shimmer gradient over this element: the standard skeleton-loading effect. Apply to a clipped, sized placeholder:
Box(
modifier = Modifier
.size(
width = 120.dp,
height = 16.dp,
)
.clip(
shape = JengaTheme.shapes.sm,
)
.jengaShimmer(),
)Content copied to clipboard
Implemented as a Modifier.Node (the recommended, performant API) that reads Jenga colors at draw time, so it auto-themes without a composable factory.