# Blazor Avatar Overview

The <a href="https://www.telerik.com/blazor-ui/avatar" target="_blank">Blazor Avatar component</a> is typically used to display images, icons or initials representing people or other entities.

You can set different [Avatar types](https://www.telerik.com/blazor-ui/documentation/components/avatar/types) and customize its [size](https://www.telerik.com/blazor-ui/documentation/components/avatar/appearance#size), [fill mode](https://www.telerik.com/blazor-ui/documentation/components/avatar/appearance#fillmode) and more.

## Creating Blazor Avatar

1. Use the `TelerikAvatar` tag to add the component to your razor page.

2. Declare your desired content (as `ChildContent`) inside the `TelerikAvatar` tag - text, icon or image. This example demonstrates Avatar with initials (text).

3. Set the [Avatar `Type`](https://www.telerik.com/blazor-ui/documentation/components/avatar/types), depending on the displayed content. In this case, we are using `Text`.

4. (Optional) Configure the [`ThemeColor`](https://www.telerik.com/blazor-ui/documentation/components/avatar/appearance) of the Avatar.

> caption Basic Avatar with text and specified `ThemeColor`

<demo metaUrl="client/avatar/overview/" height="200"></demo>

## Types

The Avatar `Type` defines the type of the content that the component will display - it may be text, icon or image. [Read more about the specifics of the Avatar types...](https://www.telerik.com/blazor-ui/documentation/components/avatar/types)

## Appearance

The Avatar provides multiple options for configuring its look - `ThemeColor`, `Rounded` and more. [Explore the available appearance settings...](https://www.telerik.com/blazor-ui/documentation/components/avatar/appearance)

## Avatar Parameters

The Blazor Avatar provides the following parameters that allow you to configure the component:

<style>
    .article table {
        table-layout: auto;
        word-break: normal;
    }
</style>

| Parameter  | Type                         | Description                                                                                                                                                                                                                                                     |
| ---------- | ---------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `Bordered` | `bool`                       | Whether the Avatar will have border.                                                                                                                                                                                                                            |
| `Class`    | `string`                     | A custom CSS class that will be rendered on the main wrapping element of the Avatar. (`<div class="k-avatar>`) Use it to [override the theme or apply custom styles](https://www.telerik.com/blazor-ui/documentation/styling-and-themes/override-theme-styles). |
| `Height`   | `string`                     | The height of the Avatar. Takes precedence over the [`Size`](https://www.telerik.com/blazor-ui/documentation/components/avatar/appearance#size) parameter.                                                                                                      |
| `Width`    | `string`                     | The width of the Avatar. Takes precedence over the [`Size`](https://www.telerik.com/blazor-ui/documentation/components/avatar/appearance#size) parameter.                                                                                                       |
| `Type`     | `AvatarType` <br/> (`Image`) | The type of the Avatar. Read more in the \[Types article].                                                                                                                                                                                                      |

You can find more options for customizing the Avatar styling in the [Appearance article](https://www.telerik.com/blazor-ui/documentation/components/avatar/appearance).

## Next Steps

* [Explore the Avatar types](https://www.telerik.com/blazor-ui/documentation/components/avatar/types)
* [Configure the appearance options of the Avatar](https://www.telerik.com/blazor-ui/documentation/components/avatar/appearance)

## See Also

* [Live Demo: Avatar](https://demos.telerik.com/blazor-ui/avatar/overview)
