# SiHeaderAccountItemComponent documentation

**Kind:** component

**Selector:** `button[si-header-account-item]`

```
import { SiHeaderAccountItemComponent } from '@siemens/element-ng/application-header';
```

Adds an account item to the header. Should be located inside `.header-actions`.

```
component SiHeaderAccountItemComponent extends SiHeaderActionIconItemBase
```

#### Input Properties

| Name | Type | Default | Description |
| --- | --- | --- | --- |
| [accountItemLabel](<https://github.com/siemens/element/blob/main/projects/element-ng/application-header/si-header-account-item.component.ts#L42-L44>) | `TranslatableString` | `` $localize`:@@SI_APPLICATION_HEADER.ACCOUNT:Account of {{name}}` `` | Accessible label for the account item. |
| [badge](<https://github.com/siemens/element/blob/main/projects/element-ng/application-header/si-header-action-item-icon-base.directive.ts#L34-L34>) (inherited) | `number \| boolean \| null \| undefined` |  | Adds a badge to the header item. If type<br><br>• =number, the number will be shown and automatically trimmed if \>99<br><br>• =true, an empty red dot will be shown<br><br>Inherited from `SiHeaderActionIconItemBase` |
| [imageUrl](<https://github.com/siemens/element/blob/main/projects/element-ng/application-header/si-header-account-item.component.ts#L33-L33>) | `string \| undefined` |  | URL to an image which should be shown instead of the initials. |
| [initials](<https://github.com/siemens/element/blob/main/projects/element-ng/application-header/si-header-account-item.component.ts#L31-L31>) | `string \| undefined` |  | Initials of the account. If not provided, they will be calculated. |
| [name](<https://github.com/siemens/element/blob/main/projects/element-ng/application-header/si-header-account-item.component.ts#L29-L29>) (required) | `string` |  | Name of the account. |

### Types Documentation

### [TranslatableString](<https://github.com/siemens/element/blob/main/projects/element-translate-ng/translate-types/global.types.ts#L18-L18>)

**Kind:** type alias

```
import type { TranslatableString } from '@siemens/element-translate-ng/translate-types';
```

Represents a translatable string. This can either be a translation key, e.g. `ACTIONS.EDIT` that will be automatically translated when displayed on the UI or a pre-translated string, e.g. `Edit`. Equivalent to a normal string in usage and functionality.

```
type TranslatableString = string & Translatable
```
