# AtloriaAvatar

**Kind:** Class

**Source:** [`atloria-monorepo/packages/ui-core/src/components/avatar/Avatar.ts`](https://github.com/sherkety/atloria/blob/main/atloria-monorepo/packages/ui-core/src/components/avatar/Avatar.ts#L18)

An avatar component that displays images or initials

**Extends:** `AtloriaElement`

## Methods

| Method | Signature | Returns |
|---|---|---|
| `render` | `render()` | `void` |

## Properties

| Property | Type |
|---|---|
| `styles` | `any` |
| `src` | `any` |
| `alt` | `any` |
| `name` | `any` |
| `initials` | `any` |
| `size` | `AvatarSize` |
| `shape` | `AvatarShape` |
| `status` | `'online' | 'offline' | 'busy' | 'away'` |
| `ring` | `any` |
| `clickable` | `any` |
| `group` | `any` |

## Where it refuses work

- `AtloriaAvatar` stops the work with an early return when `this.initials`.
- `AtloriaAvatar` stops the work with an early return when `parts.length >= 2`.
- `AtloriaAvatar` stops the work with an early return when `!this.name && !this.initials`.
