Avatar
Component
Represents the Kendo UI for Vue Avatar component. Use the Avatar to show an image, initials, or an icon for a person or an item.
Definition
Package:@progress/kendo-vue-layout
Properties Interface:AvatarProps
Syntax:
vue
<Avatar :type="'text'" :theme-color="'primary'" :rounded="'full'">JD</Avatar>
Properties
border?
boolean
When set to true, shows a border around the Avatar.
fillMode?
string
Sets the fill style of the Avatar.
The possible values are:
solid(Default)outline
rounded?
string
Sets the roundness of the Avatar.
The available options are:
- small
- medium
- large
- full
- null—Does not set a rounded
className.
Default:
medium
size?
"small" | "medium" | "large"
Sets the size of the Avatar.
The possible values are:
smallmedium(Default)large
themeColor?
"base" | "primary" | "secondary" | "tertiary"
Sets the themeColor of the Avatar.
The available options are:
- base
- primary
- secondary
- tertiary
- null—Does not set a themeColor
className.
Default:
base
type?
string
Sets the type of content that the Avatar shows.
The supported values are:
imagetexticon
Default:
text