SkeletonBlock

fun SkeletonBlock(height: Dp, modifier: Modifier = Modifier, width: Dp? = null, shape: Shape = MaterialTheme.shapes.small, color: Color = MaterialTheme.colorScheme.surfaceVariant)

A placeholder block of height (and width, or the width modifier gives it) for skeleton layouts. It is decorative and hidden from screen readers.