Loading avatar row card

A skeleton card of an avatar beside rows of loading text, e.g. for user cards

Contents

Inputs
avatarSize ?: AvatarSize = AvatarSize.MAX
avatarSizeDesktop ?: AvatarSize

Optional avatar size applied from the desktop breakpoint up. Leave unset to keep `avatarSize` at all breakpoints.

bodyRows ?: number = 2

Rows of loading text rendered alongside the avatar.

card ?: boolean = true

Wrap the avatar row in an `fl-card`. Set `false` when the parent surface already provides its own card/background.

headerRows ?: number = 2

Rows of loading text rendered beside the avatar in the stacked (mobile) layout, mirroring the user's name/details. Only used when `stackOnMobile`.

stackOnMobile ?: boolean = false

On mobile, show the header text beside the avatar and wrap the body text full-width underneath. On desktop it stays a single row (avatar + body).