component Avatar { props { @event load = function @event error = function @event click = function src = "" alt = "" initials = "" size = "md" color = "primary" variant = "solid" shape = "circle" status = "" statusLabel = "" statusPosition = "bottom" badge = "" badgeIcon = "" badgeLabel = "" tooltip = "" name = "" description = "" loading = "lazy" class = "" } view { {#if src} {alt || name} {:else if initials} {:else} {/if} {#if status} {/if} {#if badgeIcon} {:else if badge} {badge} {/if} {#if tooltip} {tooltip} {/if} {#if description} {name || alt || initials} {description} {/if} } }