StylishSkeletonCard

fun StylishSkeletonCard(modifier: Modifier = Modifier, color: Color = MaterialTheme.colorScheme.surfaceVariant, titleWidth: Dp = 160.dp, bodyWidth: Dp = 100.dp, bodyLineCount: Int = 1, animate: Boolean = true)

A card-shaped skeleton placeholder with an avatar, a title line, and one or more body lines, mimicking the layout of com.segnities007.stylishui.components.atoms.StylishConnectedCard.

Parameters

modifier

Modifier applied to the outer Column.

color

Base color for all placeholder elements.

titleWidth

Width of the title placeholder line. Defaults to 160.dp.

bodyWidth

Width of each body placeholder line. Defaults to 100.dp.

bodyLineCount

Number of body placeholder lines rendered below the title line. Defaults to 1.

animate

When true (the default) the placeholder elements shimmer. When false they render statically, for reduced-motion contexts.

See also