<Avatar />

base/avatar.svelte

"If it's not you, then it's the other you"
A. Render, 1995

Component Avatar examples :
Using slots
component Rating demo using slots
size string
code

<Avatar>
	<Icon icon={activeParams?.icon} />
</Avatar>
Without slots
component Rating demo without slots
icon icon
size string
iconSize size preset
code

	<Avatar icon={icon} />
Api preview :
__propDef: {
    props: {
        class?: string | undefined;
        element?: HTMLDivElement | null | undefined;
        icon?: string | undefined;
        size?: "tiny" | "small" | "medium" | "large" | "full" | undefined;
        iconSize?: "tiny" | "small" | "medium" | "default" | "large" | "big" | undefined;
    };
    events: {
        [evt: string]: CustomEvent<any>;
    };
    slots: {
        avatarBadge: {};
        default: {};
    };
};