StylishAvatarItem

data class StylishAvatarItem(val initials: String, val imageUrl: String? = null)

Data class representing a single avatar in a StylishConnectedAvatarRow.

Constructors

Link copied to clipboard
constructor(initials: String, imageUrl: String? = null)

Properties

Link copied to clipboard

Optional URL of an image to display inside the avatar. When null, the initials are shown instead. The image loading is delegated to the caller via the StylishConnectedAvatarRow.avatar slot; the default renderer ignores this field and shows initials.

Link copied to clipboard

Short text shown inside the avatar when no image is provided, typically a person's initials (max 3 characters are displayed).