---
id: fast-components.fastavatar
title: fastAvatar variable
hide_title: true
---
<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[@microsoft/fast-components](./fast-components.md) &gt; [fastAvatar](./fast-components.fastavatar.md)

## fastAvatar variable

A function that returns a [Avatar](./fast-foundation.avatar.md) registration for configuring the component with a DesignSystem. [avatarTemplate](./fast-foundation.avatartemplate.md)

<b>Signature:</b>

```typescript
fastAvatar: (overrideDefinition?: import("@microsoft/fast-foundation").OverrideFoundationElementDefinition<AvatarOptions> | undefined) => import("@microsoft/fast-foundation").FoundationElementRegistry<AvatarOptions, import("@microsoft/fast-element").Constructable<import("@microsoft/fast-foundation").FoundationElement>>
```

## Remarks

Generates HTML Element: `<fast-avatar>`
