# Avatar Appearance

The Kendo UI for Angular Avatar exposes custom styling options which allow you to set its theme color, roundness, fill mode, and more aspects of its appearance.

> Since [version 22.1.0](https://www.telerik.com/kendo-angular-ui/components/changelogs/kendo-angular-ui#v22.1.0), default values of the appearance properties are no longer hardcoded in the component. The default values are inherited from the Kendo theme.
>
> For more information, refer to the [Design System documentation](https://www.telerik.com/design-system).

The following example demonstrates all available appearance options of the Avatar in action.

[Demo Source](https://demos.telerik.com/kendo-angular-ui/demos/layout/avatar/appearance/appearance-all/source.txt)

## Theme Color

The Avatar allows you to specify predefined theme colors which will be applied as background and border colors while amending the text color at the same time accordingly.

The available [`themeColor`](https://www.telerik.com/kendo-angular-ui-develop/components/layout/api/avatarcomponent#themeColor) values are:

* `base`
* `primary`
* `secondary`
* `tertiary`

The following example demonstrates the Avatar theme colors in action.

[Demo Source](https://demos.telerik.com/kendo-angular-ui/demos/layout/avatar/appearance/theme-color/source.txt)

## Roundness

The Avatar enables you to apply different border radiuses through the [`rounded`](https://www.telerik.com/kendo-angular-ui-develop/components/layout/api/avatarcomponent#rounded) property.

The available `rounded` values are:

* `small`
* `medium`
* `large`
* `full`
* `none`

The following example demonstrates how to customize the roundness of the Avatar.

[Demo Source](https://demos.telerik.com/kendo-angular-ui/demos/layout/avatar/appearance/roundness/source.txt)

## Size

The Avatar allows you to customize its `width` and `height` by using the [`size`](https://www.telerik.com/kendo-angular-ui-develop/components/layout/api/avatarcomponent#size) property.

The available `size` values are:

* `small`
* `medium`
* `large`

> To specify a custom Avatar size, use the [`width`](https://www.telerik.com/kendo-angular-ui-develop/components/layout/api/avatarcomponent#width) and [`height`](https://www.telerik.com/kendo-angular-ui-develop/components/layout/api/avatarcomponent#height) properties.

The following example demonstrates how to define the size of the Avatar.

[Demo Source](https://demos.telerik.com/kendo-angular-ui/demos/layout/avatar/appearance/size/source.txt)

## Fill Mode

The Avatar enables you to set styling options and create `solid` or `outline` avatars by setting the [`fillMode`](https://www.telerik.com/kendo-angular-ui-develop/components/layout/api/avatarcomponent#fillMode) property.

The available `fillMode` values are:

* `solid`
* `outline`

> You can also render an additional border around the content of an outlined avatar by setting the [`border`](https://www.telerik.com/kendo-angular-ui-develop/components/layout/api/avatarcomponent#border) property to `true`.

The following example demonstrates how to define the fill mode of the Avatar.

[Demo Source](https://demos.telerik.com/kendo-angular-ui/demos/layout/avatar/appearance/fill/source.txt)

## Border

The Avatar allows you to specify whether or not to render an additional border around its content by using the [`border`](https://www.telerik.com/kendo-angular-ui-develop/components/layout/api/avatarcomponent#border) property. By default, `border` is set to `false`.

[Demo Source](https://demos.telerik.com/kendo-angular-ui/demos/layout/avatar/appearance/border/source.txt)

## Custom Content

You can also define any custom content between the `<kendo-avatar>` tags as an avatar.

[Demo Source](https://demos.telerik.com/kendo-angular-ui/demos/layout/avatar/appearance/custom_content/source.txt)

## Suggested Links

* [API Reference of the Kendo UI for Angular Avatar](https://www.telerik.com/kendo-angular-ui-develop/components/layout/api/avatarcomponent)
* [Creating Custom Styles with ThemeBuilder](https://www.telerik.com/kendo-angular-ui-develop/components/styling/theme-builder)
