Skip to content

SiHeaderAccountItemComponent documentation

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

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

Input Properties

NameTypeDefaultDescription
accountItemLabel
TranslatableString $localize`:@@SI_APPLICATION_HEADER.ACCOUNT:Account of {{name}}`

Accessible label for the account item.

badgeinherited
number | boolean | null | undefined

Adds a badge to the header item. If type

• =number, the number will be shown and automatically trimmed if >99

• =true, an empty red dot will be shown

Inherited from SiHeaderActionIconItemBase

imageUrl
string | undefined

URL to an image which should be shown instead of the initials.

initials
string | undefined

Initials of the account. If not provided, they will be calculated.

namerequired
string

Name of the account.

Types Documentation

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.


Except where otherwise noted, content on this site is licensed under MIT License.