Example
vue
<template>
<Avatar
circle
size="h1"
img-src="https://reqres.in/img/faces/1-image.jpg"
img-alt="Image Description"
/>
<Avatar
circle
size="h2"
img-src="https://reqres.in/img/faces/2-image.jpg"
img-alt="Image Description"
/>
<Avatar
circle
size="lg"
img-src="https://reqres.in/img/faces/3-image.jpg"
img-alt="Image Description"
/>
<Avatar
circle
img-src="https://reqres.in/img/faces/4-image.jpg"
img-alt="Image Description"
/>
<Avatar
circle
size="sm"
img-src="https://reqres.in/img/faces/5-image.jpg"
img-alt="Image Description"
/>
</template>
Initials
A
A
A
A
A
vue
<template>
<Avatar
circle
size="h1"
color="primary"
initials="A"
/>
<Avatar
circle
size="h2"
color="primary"
initials="A"
/>
<Avatar
circle
size="lg"
color="primary"
initials="A"
/>
<Avatar
circle
color="primary"
initials="A"
/>
<Avatar
circle
size="sm"
color="primary"
initials="A"
/>
</template>
Shapes
vue
<template>
<Avatar
margin="e-2"
img-src="https://reqres.in/img/faces/1-image.jpg"
img-alt="Image Description"
/>
<Avatar
margin="e-2"
circle
img-src="https://reqres.in/img/faces/2-image.jpg"
img-alt="Image Description"
/>
</template>
A
A
vue
<template>
<Avatar
margin="e-2"
color="primary"
initials="A"
/>
<Avatar
margin="e-2"
circle
color="primary"
initials="A"
/>
</template>
Ratio
vue
<template>
<Avatar
size="h1"
ratio="4x3"
img-src="https://placehold.jp/400x300.png"
img-alt="Image Description"
/>
<Avatar
size="h2"
ratio="4x3"
img-src="https://placehold.jp/400x300.png"
img-alt="Image Description"
/>
<Avatar
size="lg"
ratio="4x3"
img-src="https://placehold.jp/400x300.png"
img-alt="Image Description"
/>
<Avatar
ratio="4x3"
img-src="https://placehold.jp/400x300.png"
img-alt="Image Description"
/>
<Avatar
size="sm"
ratio="4x3"
img-src="https://placehold.jp/400x300.png"
img-alt="Image Description"
/>
</template>
Centered
vue
<template>
<Avatar
circle
size="h1"
flex
margin="x-auto"
img-src="https://reqres.in/img/faces/1-image.jpg"
img-alt="Image Description"
/>
</template>
Status
vue
<template>
<Avatar
margin="e-2"
img-src="https://reqres.in/img/faces/1-image.jpg"
img-alt="Image Description"
status
status-sm
status-color="primary"
/>
<Avatar
margin="e-2"
circle
img-src="https://reqres.in/img/faces/2-image.jpg"
img-alt="Image Description"
status
status-sm
status-color="primary"
/>
<Avatar
margin="e-2"
size="lg"
img-src="https://reqres.in/img/faces/3-image.jpg"
img-alt="Image Description"
status
status-sm
status-color="primary"
/>
<Avatar
margin="e-2"
circle
size="lg"
img-src="https://reqres.in/img/faces/4-image.jpg"
img-alt="Image Description"
status
status-color="primary"
/>
<Avatar
margin="e-2"
size="xl"
img-src="https://reqres.in/img/faces/5-image.jpg"
img-alt="Image Description"
status
status-color="primary"
/>
<Avatar
margin="e-2"
circle
size="xl"
img-src="https://reqres.in/img/faces/6-image.jpg"
img-alt="Image Description"
status
status-color="primary"
/>
</template>
vue
<template>
<Avatar
margin="e-2"
circle
img-src="https://reqres.in/img/faces/2-image.jpg"
img-alt="Image Description"
status="sm"
status-color="primary"
/>
<Avatar
margin="e-2"
circle
img-src="https://reqres.in/img/faces/2-image.jpg"
img-alt="Image Description"
status="sm"
status-color="secondary"
/>
<Avatar
margin="e-2"
circle
img-src="https://reqres.in/img/faces/2-image.jpg"
img-alt="Image Description"
status="sm"
status-color="success"
/>
<Avatar
margin="e-2"
circle
img-src="https://reqres.in/img/faces/2-image.jpg"
img-alt="Image Description"
status="sm"
status-color="danger"
/>
<Avatar
margin="e-2"
circle
img-src="https://reqres.in/img/faces/2-image.jpg"
img-alt="Image Description"
status="sm"
status-color="warning"
/>
<Avatar
margin="e-2"
circle
img-src="https://reqres.in/img/faces/2-image.jpg"
img-alt="Image Description"
status="sm"
status-color="info"
/>
<Avatar
margin="e-2"
circle
img-src="https://reqres.in/img/faces/2-image.jpg"
img-alt="Image Description"
status="sm"
status-color="light"
/>
<Avatar
margin="e-2"
circle
img-src="https://reqres.in/img/faces/2-image.jpg"
img-alt="Image Description"
status="sm"
status-color="dark"
/>
</template>
Icons
vue
<template>
<Avatar
circle
icon="bi:dropbox"
size="h1"
color="primary"
/>
<Avatar
circle
icon="bi:dropbox"
size="h2"
color="primary"
/>
<Avatar
circle
icon="bi:dropbox"
size="lg"
color="primary"
/>
<Avatar
circle
icon="bi:dropbox"
color="primary"
/>
<Avatar
circle
icon="bi:dropbox"
size="sm"
color="primary"
/>
</template>
Theme colors
All colors
With Stack Group
vue
<template>
<StackGroup>
<StackGroupItem>
<Avatar
circle
img-src="https://reqres.in/img/faces/1-image.jpg"
img-alt="Image Description"
/>
</StackGroupItem>
<StackGroupItem>
<Avatar
circle
img-src="https://reqres.in/img/faces/2-image.jpg"
img-alt="Image Description"
/>
</StackGroupItem>
<StackGroupItem>
<Avatar
circle
img-src="https://reqres.in/img/faces/3-image.jpg"
img-alt="Image Description"
/>
</StackGroupItem>
<StackGroupItem>
<Avatar
circle
img-src="https://reqres.in/img/faces/4-image.jpg"
img-alt="Image Description"
/>
</StackGroupItem>
<StackGroupItem>
<Avatar
circle
img-src="https://reqres.in/img/faces/5-image.jpg"
img-alt="Image Description"
/>
</StackGroupItem>
</StackGroup>
</template>