Components
    • Barcodes
    • Buttons
    • Charts
    • Conversational UI
    • Data Query
    • Date Inputsupdated
    • Date Math
    • Dialogsupdated
    • Drawing
    • Dropdownsupdated
    • Editor
    • Excel Export
    • File Saver
    • Filterupdated
    • Ganttupdated
    • Gauges
    • Gridupdated
    • Icons
    • Indicatorsupdated
    • Inputsupdated
    • Labels
    • Layoutupdated
    • ListBox
    • ListView
    • Mapbeta
    • Menus
    • Navigationupdated
    • Notification
    • Pager
    • PDF Export
    • PivotGridupdated
    • Popup
    • ProgressBarsupdated
    • Ripple
    • Schedulerupdated
    • ScrollView
    • Sortable
    • ToolBar
    • Tooltips
    • TreeList
    • TreeViewupdated
    • Typography
    • Uploads
    • Utilitiesnew
    Styling & Themes
    Common Features
    Project Setup
    Troubleshooting
New to Kendo UI for Angular? Start a free 30-day trial

AvatarComponent

Displays images, icons or initials representing people or other entities.

Selector

kendo-avatar

Inputs

NameTypeDefaultDescription

border

boolean

Sets a border to the avatar.

cssStyle?

any

The CSS styles that will be rendered on the content element of the avatar. Supports the type of values that are supported by ngStyle.

fillMode

AvatarFillMode

Specifies the appearance fill style of the avatar.

The possible values are:

  • solid (Default)
  • outline
  • none

height

string

Sets the height of the avatar.

icon

string

Sets the icon for the avatar. All Kendo UI Icons are supported.

iconClass

string

Defines a CSS class — or multiple classes separated by spaces — which are applied to a span element inside the avatar. Allows the usage of custom icons.

imageSrc

string

Sets the image source of the avatar.

initials

string

Sets initials to the avatar.

rounded

AvatarRounded

Specifies the rounded styling of the avatar (see example).

The possible values are:

  • small
  • medium
  • large
  • full (Default)
  • none

size

AvatarSize

Specifies the size of the avatar (see example).

The possible values are:

  • small
  • medium (Default)
  • large
  • none

themeColor

AvatarThemeColor

Specifies the theme color of the avatar. The theme color will be applied as background and border color, while also amending the text color accordingly.

The possible values are:

  • base— Applies the base coloring value.
  • primary (Default)—Applies coloring based on primary theme color.
  • secondary—Applies coloring based on secondary theme color.
  • tertiary— Applies coloring based on tertiary theme color.
  • info—Applies coloring based on info theme color.
  • success— Applies coloring based on success theme color.
  • warning— Applies coloring based on warning theme color.
  • error— Applies coloring based on error theme color.
  • dark— Applies coloring based on dark theme color.
  • light— Applies coloring based on light theme color.
  • inverse— Applies coloring based on inverted theme color.
  • none— Removes the styling associated with the theme color.

width

string

Sets the width of the avatar.

In this article

Not finding the help you need?