size
Description
Optional. Sets the width and height of an avatar badge in pixelsA default value is 32px.
Usage
size?: number;
Example
<script>
import { Avatar } from '@svar-ui/svelte-core';
const user = {
id: 1,
name: "John Doe",
color: "#2196F3"
};
</script>
<Avatar value={user} size={24} />
Related article: Setting the avatar size