# SiNavbarPrimaryComponent documentation

**Kind:** component

**Selector:** `si-navbar-primary`

```
import { SiNavbarPrimaryComponent } from '@siemens/element-ng/navbar';
```

Deprecated: Use the new `si-application-header` instead.

```
component SiNavbarPrimaryComponent implements OnChanges, HeaderWithDropdowns
```

#### Input Properties

| Name | Type | Default | Description |
| --- | --- | --- | --- |
| [account](<https://github.com/siemens/element/blob/main/projects/element-ng/navbar/si-navbar-primary/si-navbar-primary.component.ts#L101-L101>) | `AccountItem \| undefined` |  | Account settings name (`title`) and profile picture (`image` or `icon`) |
| [accountItems](<https://github.com/siemens/element/blob/main/projects/element-ng/navbar/si-navbar-primary/si-navbar-primary.component.ts#L97-L97>) | `MenuItem[] \| undefined` |  | List of account dropdown elements (defined by `title` and `link`).<br><br>The menu item can have submenu items (supplying `items`: MenuItem\[\]). Submenu items can be divided into groups by separators. A separator is an item with only '-' set as `title`.<br><br>Alternatively, you can can create a custom content by putting your html code between the \<si-navbar-primary\> tags. In this case you don't need this property (will be ignored if you set anyway). |
| [allAppsLink](<https://github.com/siemens/element/blob/main/projects/element-ng/navbar/si-navbar-primary/si-navbar-primary.component.ts#L204-L204>) | `MenuItem \| undefined` |  | "all apps" link in the launchpad |
| [appCategoryItems](<https://github.com/siemens/element/blob/main/projects/element-ng/navbar/si-navbar-primary/si-navbar-primary.component.ts#L193-L193>) | `AppItemCategory[] \| undefined` |  | Like `appItems` but with the addition of categories. If this is set, `appItems` is ignored. |
| [appItems](<https://github.com/siemens/element/blob/main/projects/element-ng/navbar/si-navbar-primary/si-navbar-primary.component.ts#L189-L189>) | `AppItem[] \| undefined` |  | All app items shown in the launchpad. The launchpad will not be visible if the app items are undefined. The launchpad will be visible if the app items are an empty array. |
| [appItemsFavorites](<https://github.com/siemens/element/blob/main/projects/element-ng/navbar/si-navbar-primary/si-navbar-primary.component.ts#L200-L200>) | `boolean` | `false` | Allow the user to favorite apps which will then be displayed at the top. |
| [appSwitcherSubTitle](<https://github.com/siemens/element/blob/main/projects/element-ng/navbar/si-navbar-primary/si-navbar-primary.component.ts#L138-L140>) | `TranslatableString` | `` $localize`:@@SI_LAUNCHPAD.SUB_TITLE:Access all your apps` `` | sub-title for the launchpad |
| [appSwitcherTitle](<https://github.com/siemens/element/blob/main/projects/element-ng/navbar/si-navbar-primary/si-navbar-primary.component.ts#L128-L128>) | `TranslatableString` | `` $localize`:@@SI_LAUNCHPAD.TITLE:Switch app` `` | title for the launchpad |
| [appTitle](<https://github.com/siemens/element/blob/main/projects/element-ng/navbar/si-navbar-primary/si-navbar-primary.component.ts#L109-L109>) | `string \| undefined` |  | Title of the application. |
| [ariaLabelMainMenu](<https://github.com/siemens/element/blob/main/projects/element-ng/navbar/si-navbar-primary/si-navbar-primary.component.ts#L258-L258>) | `string` | `'Header main'` | Aria label for the main menu landmark |
| [ariaLabelSecondaryMenu](<https://github.com/siemens/element/blob/main/projects/element-ng/navbar/si-navbar-primary/si-navbar-primary.component.ts#L265-L265>) | `string` | `'Header secondary'` | Aria label for the secondary menu landmark |
| [closeAppSwitcherText](<https://github.com/siemens/element/blob/main/projects/element-ng/navbar/si-navbar-primary/si-navbar-primary.component.ts#L229-L229>) | `TranslatableString` | `` $localize`:@@SI_LAUNCHPAD.CLOSE:Close launchpad` `` | Text to close the launchpad. Needed for a11y. |
| [defaultAppsTitle](<https://github.com/siemens/element/blob/main/projects/element-ng/navbar/si-navbar-primary/si-navbar-primary.component.ts#L160-L162>) | `TranslatableString` | `` $localize`:@@SI_LAUNCHPAD.DEFAULT_CATEGORY_TITLE:Apps` `` | Title or translate key for the default apps section. |
| [favoriteAppsTitle](<https://github.com/siemens/element/blob/main/projects/element-ng/navbar/si-navbar-primary/si-navbar-primary.component.ts#L150-L150>) | `TranslatableString` | `` $localize`:@@SI_LAUNCHPAD.FAVORITE_APPS:Favorites` `` | Title or translate key for the favorite apps section. |
| [focusOnLoad](<https://github.com/siemens/element/blob/main/projects/element-ng/navbar/si-navbar-primary/si-navbar-primary.component.ts#L210-L210>) | `boolean` | `false` | Specifies whether the component should automatically be focused as soon as it is loaded. |
| [home](<https://github.com/siemens/element/blob/main/projects/element-ng/navbar/si-navbar-primary/si-navbar-primary.component.ts#L119-L119>) | `Link \| undefined` | `{ link: '/' }` | Configurable home link that is used at the logo and app title. Use `undefined` to disable the link. |
| [logoUrl](<https://github.com/siemens/element/blob/main/projects/element-ng/navbar/si-navbar-primary/si-navbar-primary.component.ts#L105-L105>) | `string \| undefined` |  | URL of the navbar brand. |
| [navAriaLabel](<https://github.com/siemens/element/blob/main/projects/element-ng/navbar/si-navbar-primary/si-navbar-primary.component.ts#L219-L219>) | `string` | `'Primary'` | Marks the navbar as primary navigation element. Needed for a11y (screen reader). Only one element should be primary. If multiple navbars are used, it's up to the user of the components to label them in the correct order. |
| [openAppSwitcherText](<https://github.com/siemens/element/blob/main/projects/element-ng/navbar/si-navbar-primary/si-navbar-primary.component.ts#L239-L239>) | `TranslatableString` | `` $localize`:@@SI_NAVBAR.OPEN_LAUNCHPAD:Switch app` `` | Text for the launchpad icon. Needed for a11y. |
| [primaryItems](<https://github.com/siemens/element/blob/main/projects/element-ng/navbar/si-navbar-primary/si-navbar-primary.component.ts#L85-L85>) | `MenuItem[]` | `[]` | List of navbar items which should be displayed at the left (in LTR) side next to the banner. |
| [showLessAppsTitle](<https://github.com/siemens/element/blob/main/projects/element-ng/navbar/si-navbar-primary/si-navbar-primary.component.ts#L182-L182>) | `TranslatableString` | `` $localize`:@@SI_LAUNCHPAD.SHOW_LESS:Show less` `` | Title or translate key for the show less apps button. |
| [showMoreAppsTitle](<https://github.com/siemens/element/blob/main/projects/element-ng/navbar/si-navbar-primary/si-navbar-primary.component.ts#L172-L172>) | `TranslatableString` | `` $localize`:@@SI_LAUNCHPAD.SHOW_MORE:Show more` `` | Title or translate key for the show more apps button. |
| [toggleNavigationText](<https://github.com/siemens/element/blob/main/projects/element-ng/navbar/si-navbar-primary/si-navbar-primary.component.ts#L249-L251>) | `TranslatableString` | `` $localize`:@@SI_NAVBAR.TOGGLE_NAVIGATION:Show navigation` `` | Text or translate key for the toggle navigation icon. Needed for a11y. |

#### Output Properties

| Name | Type | Description |
| --- | --- | --- |
| [appItemFavoriteChanged](<https://github.com/siemens/element/blob/main/projects/element-ng/navbar/si-navbar-primary/si-navbar-primary.component.ts#L268-L268>) | `[AppItem, boolean]` | Emits the app item and its new favorite state when the user changes it. |

### Types Documentation

### [AccountItem](<https://github.com/siemens/element/blob/main/projects/element-ng/navbar/account.model.ts#L9-L40>)

**Kind:** interface

```
import type { AccountItem } from '@siemens/element-ng/navbar';
```

Deprecated: Use the new `si-application-header` instead.

```
interface AccountItem extends MenuItem
```

#### Properties

| Name | Type | Description |
| --- | --- | --- |
| [action](<https://github.com/siemens/element/blob/main/projects/element-ng/link/link.model.ts#L42-L42>) (optional, inherited) | `string \| ((param?: any) => void \| any)` | A function that will be invoked when clicking on the menu item. When passed as a string, use together with SiLinkActionService to receive events. This is meant for repetitive things in lists/tables/etc.<br><br>Inherited from [Link](<index.html#t:Link>) |
| [avatarStatus](<https://github.com/siemens/element/blob/main/projects/element-ng/navbar/account.model.ts#L23-L23>) (optional) | `EntityStatusType` | The status (success, info, warning, caution, danger, critical, pending, progress) to be visualized. |
| [avatarStatusAriaLabel](<https://github.com/siemens/element/blob/main/projects/element-ng/navbar/account.model.ts#L27-L27>) (optional) | `TranslatableString` | aria-label for avatar status |
| [badge](<https://github.com/siemens/element/blob/main/projects/element-ng/common/models/menu.model.ts#L56-L56>) (optional, inherited) | `string \| number` | Defines the content of the optional badge. Should be a number or something like "100+". if undefined or empty string, no badge is displayed<br><br>Inherited from [MenuItem](<index.html#t:MenuItem>) |
| [badgeColor](<https://github.com/siemens/element/blob/main/projects/element-ng/common/models/menu.model.ts#L60-L60>) (optional, inherited) | `string` | Defines the background color of the badge. Default is specific to Element flavour.<br><br>Inherited from [MenuItem](<index.html#t:MenuItem>) |
| [badgeDot](<https://github.com/siemens/element/blob/main/projects/element-ng/common/models/menu.model.ts#L68-L68>) (optional, inherited) | `boolean` | Show a dot badge without content?<br><br>Inherited from [MenuItem](<index.html#t:MenuItem>) |
| [badgeStyle](<https://github.com/siemens/element/blob/main/projects/element-ng/common/models/menu.model.ts#L64-L64>) (optional, inherited) | `"" \| "inline" \| "dot"` | Defines the badge style<br><br>Inherited from [MenuItem](<index.html#t:MenuItem>) |
| [company](<https://github.com/siemens/element/blob/main/projects/element-ng/navbar/account.model.ts#L35-L35>) (optional) | `string` | Name of the Company |
| [customContent](<https://github.com/siemens/element/blob/main/projects/element-ng/common/models/menu.model.ts#L51-L51>) (optional, inherited) | `boolean` | Defines if custom content is chosen in account dropdown (otherwise accountItems are used)<br><br>Inherited from [MenuItem](<index.html#t:MenuItem>) |
| [disabled](<https://github.com/siemens/element/blob/main/projects/element-ng/link/link.model.ts#L50-L50>) (optional, inherited) | `boolean` | A boolean that lets the link know whether it is disabled or not.<br><br>Inherited from [Link](<index.html#t:Link>) |
| [dropUpwards](<https://github.com/siemens/element/blob/main/projects/element-ng/common/models/menu.model.ts#L84-L84>) (optional, inherited) | `boolean` | Whether the menu items sub-menu should open upwards instead of downwards.<br><br>Inherited from [MenuItem](<index.html#t:MenuItem>) |
| [email](<https://github.com/siemens/element/blob/main/projects/element-ng/navbar/account.model.ts#L31-L31>) (optional) | `string` | Email address of the user |
| [expanded](<https://github.com/siemens/element/blob/main/projects/element-ng/common/models/menu.model.ts#L42-L42>) (optional, inherited) | `boolean` | If the menu item has children you can specify if they are visible or not.<br><br>Inherited from [MenuItem](<index.html#t:MenuItem>) |
| [href](<https://github.com/siemens/element/blob/main/projects/element-ng/link/link.model.ts#L22-L22>) (optional, inherited) | `string` | Defines a href URI that the menu item will be linked to. Will be used to set the href attribute of the a element. Will only be used if link and function is not set.<br><br>Inherited from [Link](<index.html#t:Link>) |
| [icon](<https://github.com/siemens/element/blob/main/projects/element-ng/common/models/menu.model.ts#L27-L27>) (optional, inherited) | `string` | The web font icon class name (e.g. element-settings-outline).<br><br>Inherited from [MenuItem](<index.html#t:MenuItem>) |
| [iconOnly](<https://github.com/siemens/element/blob/main/projects/element-ng/common/models/menu.model.ts#L46-L46>) (optional, inherited) | `boolean` | Defines if only the icon is shown in the default navigation bar.<br><br>Inherited from [MenuItem](<index.html#t:MenuItem>) |
| [id](<https://github.com/siemens/element/blob/main/projects/element-ng/common/models/menu.model.ts#L23-L23>) (optional, inherited) | `string` | An optional id to uniquely identify the menu item.<br><br>Inherited from [MenuItem](<index.html#t:MenuItem>) |
| [image](<https://github.com/siemens/element/blob/main/projects/element-ng/common/models/menu.model.ts#L32-L32>) (optional, inherited) | `string` | The value for an image src tag. Maybe a relative or absolute link to an jpg or gif image.<br><br>Inherited from [MenuItem](<index.html#t:MenuItem>) |
| [initials](<https://github.com/siemens/element/blob/main/projects/element-ng/navbar/account.model.ts#L18-L18>) (optional) | `string` | Initials to be displayed as avatar if no `icon` and also no `image` are provided. If also no initials are provided, they will be automatically calculated from the `title`. |
| [isActive](<https://github.com/siemens/element/blob/main/projects/element-ng/link/link.model.ts#L46-L46>) (optional, inherited) | `boolean` | A boolean that lets the link know whether it is active or not. It is useful when action() is executed instead of link route.<br><br>Inherited from [Link](<index.html#t:Link>) |
| [isHeading](<https://github.com/siemens/element/blob/main/projects/element-ng/common/models/menu.model.ts#L80-L80>) (optional, inherited) | `boolean` | Whether the menu item should be displayed as a heading/title, will also disable links and actions.<br><br>Inherited from [MenuItem](<index.html#t:MenuItem>) |
| [items](<https://github.com/siemens/element/blob/main/projects/element-ng/common/models/menu.model.ts#L37-L37>) (optional, inherited) | `MenuItem[]` | A navigation bar item can have a sub-menu, if these items are set. They define the sub-menu content.<br><br>Inherited from [MenuItem](<index.html#t:MenuItem>) |
| [link](<https://github.com/siemens/element/blob/main/projects/element-ng/link/link.model.ts#L32-L32>) (optional, inherited) | `string \| any[]` | Defines the link of the menu item within the application using the angular router link concept. Accepts an array of `any` as per \[routerLink API definition\][https://angular.dev/api/router/RouterLink](<https://angular.dev/api/router/RouterLink>).<br><br>Inherited from [Link](<index.html#t:Link>) |
| [navigationExtras](<https://github.com/siemens/element/blob/main/projects/element-ng/link/link.model.ts#L36-L36>) (optional, inherited) | `NavigationExtras` | The navigation extras provide additional routing options when using the router link.<br><br>Inherited from [Link](<index.html#t:Link>) |
| [role](<https://github.com/siemens/element/blob/main/projects/element-ng/navbar/account.model.ts#L39-L39>) (optional) | `TranslatableString` | Role name shown as a badge in the bottom |
| [selectionState](<https://github.com/siemens/element/blob/main/projects/element-ng/common/models/menu.model.ts#L72-L72>) (optional, inherited) | `"" \| "check" \| "radio"` | For single/multi choice items: the kind of icon to show.<br><br>Inherited from [MenuItem](<index.html#t:MenuItem>) |
| [target](<https://github.com/siemens/element/blob/main/projects/element-ng/link/link.model.ts#L27-L27>) (optional, inherited) | `string` | The target attribute specifies where to open the linked document. If no target is specified, the link will open in the current tab.<br><br>Inherited from [Link](<index.html#t:Link>) |
| [title](<https://github.com/siemens/element/blob/main/projects/element-ng/navbar/account.model.ts#L13-L13>) | `string` | Full name of user<br><br>Inherited from [Link](<index.html#t:Link>) |
| [tooltip](<https://github.com/siemens/element/blob/main/projects/element-ng/link/link.model.ts#L17-L17>) (optional, inherited) | `TranslatableString` | The optional tooltip of the link. Can be either the text to be displayed or the translation key.<br><br>Inherited from [Link](<index.html#t:Link>) |
| [type](<https://github.com/siemens/element/blob/main/projects/element-ng/common/models/menu.model.ts#L76-L76>) (optional, inherited) | `"check" \| "radio"` | Type to distinguish between check and radio menu items. Needs to be set for correct interaction and used for a11y.<br><br>Inherited from [MenuItem](<index.html#t:MenuItem>) |

### [AppItem](<https://github.com/siemens/element/blob/main/projects/element-ng/navbar/si-navbar-primary/si-navbar-primary.model.ts#L12-L21>)

**Kind:** interface

```
import type { AppItem } from '@siemens/element-ng/navbar';
```

The AppItem is used to show apps in the launchpad.

Deprecated: Use the new `si-application-header` instead.

```
interface AppItem extends MenuItem
```

#### Properties

| Name | Type | Description |
| --- | --- | --- |
| [action](<https://github.com/siemens/element/blob/main/projects/element-ng/link/link.model.ts#L42-L42>) (optional, inherited) | `string \| ((param?: any) => void \| any)` | A function that will be invoked when clicking on the menu item. When passed as a string, use together with SiLinkActionService to receive events. This is meant for repetitive things in lists/tables/etc.<br><br>Inherited from [Link](<index.html#t:Link>) |
| [badge](<https://github.com/siemens/element/blob/main/projects/element-ng/common/models/menu.model.ts#L56-L56>) (optional, inherited) | `string \| number` | Defines the content of the optional badge. Should be a number or something like "100+". if undefined or empty string, no badge is displayed<br><br>Inherited from [MenuItem](<index.html#t:MenuItem>) |
| [badgeColor](<https://github.com/siemens/element/blob/main/projects/element-ng/common/models/menu.model.ts#L60-L60>) (optional, inherited) | `string` | Defines the background color of the badge. Default is specific to Element flavour.<br><br>Inherited from [MenuItem](<index.html#t:MenuItem>) |
| [badgeDot](<https://github.com/siemens/element/blob/main/projects/element-ng/common/models/menu.model.ts#L68-L68>) (optional, inherited) | `boolean` | Show a dot badge without content?<br><br>Inherited from [MenuItem](<index.html#t:MenuItem>) |
| [badgeStyle](<https://github.com/siemens/element/blob/main/projects/element-ng/common/models/menu.model.ts#L64-L64>) (optional, inherited) | `"" \| "inline" \| "dot"` | Defines the badge style<br><br>Inherited from [MenuItem](<index.html#t:MenuItem>) |
| [customContent](<https://github.com/siemens/element/blob/main/projects/element-ng/common/models/menu.model.ts#L51-L51>) (optional, inherited) | `boolean` | Defines if custom content is chosen in account dropdown (otherwise accountItems are used)<br><br>Inherited from [MenuItem](<index.html#t:MenuItem>) |
| [disabled](<https://github.com/siemens/element/blob/main/projects/element-ng/link/link.model.ts#L50-L50>) (optional, inherited) | `boolean` | A boolean that lets the link know whether it is disabled or not.<br><br>Inherited from [Link](<index.html#t:Link>) |
| [dropUpwards](<https://github.com/siemens/element/blob/main/projects/element-ng/common/models/menu.model.ts#L84-L84>) (optional, inherited) | `boolean` | Whether the menu items sub-menu should open upwards instead of downwards.<br><br>Inherited from [MenuItem](<index.html#t:MenuItem>) |
| [expanded](<https://github.com/siemens/element/blob/main/projects/element-ng/common/models/menu.model.ts#L42-L42>) (optional, inherited) | `boolean` | If the menu item has children you can specify if they are visible or not.<br><br>Inherited from [MenuItem](<index.html#t:MenuItem>) |
| [href](<https://github.com/siemens/element/blob/main/projects/element-ng/link/link.model.ts#L22-L22>) (optional, inherited) | `string` | Defines a href URI that the menu item will be linked to. Will be used to set the href attribute of the a element. Will only be used if link and function is not set.<br><br>Inherited from [Link](<index.html#t:Link>) |
| [icon](<https://github.com/siemens/element/blob/main/projects/element-ng/common/models/menu.model.ts#L27-L27>) (optional, inherited) | `string` | The web font icon class name (e.g. element-settings-outline).<br><br>Inherited from [MenuItem](<index.html#t:MenuItem>) |
| [iconOnly](<https://github.com/siemens/element/blob/main/projects/element-ng/common/models/menu.model.ts#L46-L46>) (optional, inherited) | `boolean` | Defines if only the icon is shown in the default navigation bar.<br><br>Inherited from [MenuItem](<index.html#t:MenuItem>) |
| [id](<https://github.com/siemens/element/blob/main/projects/element-ng/common/models/menu.model.ts#L23-L23>) (optional, inherited) | `string` | An optional id to uniquely identify the menu item.<br><br>Inherited from [MenuItem](<index.html#t:MenuItem>) |
| [image](<https://github.com/siemens/element/blob/main/projects/element-ng/common/models/menu.model.ts#L32-L32>) (optional, inherited) | `string` | The value for an image src tag. Maybe a relative or absolute link to an jpg or gif image.<br><br>Inherited from [MenuItem](<index.html#t:MenuItem>) |
| [isActive](<https://github.com/siemens/element/blob/main/projects/element-ng/link/link.model.ts#L46-L46>) (optional, inherited) | `boolean` | A boolean that lets the link know whether it is active or not. It is useful when action() is executed instead of link route.<br><br>Inherited from [Link](<index.html#t:Link>) |
| [isExternal](<https://github.com/siemens/element/blob/main/projects/element-ng/navbar/si-navbar-primary/si-navbar-primary.model.ts#L20-L20>) (optional) | `boolean` | If `true`, the app is marked as an external application opening in a new browser tab. |
| [isFavorite](<https://github.com/siemens/element/blob/main/projects/element-ng/navbar/si-navbar-primary/si-navbar-primary.model.ts#L16-L16>) (optional) | `boolean` | If `true`, the app is marked as a favorite. |
| [isHeading](<https://github.com/siemens/element/blob/main/projects/element-ng/common/models/menu.model.ts#L80-L80>) (optional, inherited) | `boolean` | Whether the menu item should be displayed as a heading/title, will also disable links and actions.<br><br>Inherited from [MenuItem](<index.html#t:MenuItem>) |
| [items](<https://github.com/siemens/element/blob/main/projects/element-ng/common/models/menu.model.ts#L37-L37>) (optional, inherited) | `MenuItem[]` | A navigation bar item can have a sub-menu, if these items are set. They define the sub-menu content.<br><br>Inherited from [MenuItem](<index.html#t:MenuItem>) |
| [link](<https://github.com/siemens/element/blob/main/projects/element-ng/link/link.model.ts#L32-L32>) (optional, inherited) | `string \| any[]` | Defines the link of the menu item within the application using the angular router link concept. Accepts an array of `any` as per \[routerLink API definition\][https://angular.dev/api/router/RouterLink](<https://angular.dev/api/router/RouterLink>).<br><br>Inherited from [Link](<index.html#t:Link>) |
| [navigationExtras](<https://github.com/siemens/element/blob/main/projects/element-ng/link/link.model.ts#L36-L36>) (optional, inherited) | `NavigationExtras` | The navigation extras provide additional routing options when using the router link.<br><br>Inherited from [Link](<index.html#t:Link>) |
| [selectionState](<https://github.com/siemens/element/blob/main/projects/element-ng/common/models/menu.model.ts#L72-L72>) (optional, inherited) | `"" \| "check" \| "radio"` | For single/multi choice items: the kind of icon to show.<br><br>Inherited from [MenuItem](<index.html#t:MenuItem>) |
| [target](<https://github.com/siemens/element/blob/main/projects/element-ng/link/link.model.ts#L27-L27>) (optional, inherited) | `string` | The target attribute specifies where to open the linked document. If no target is specified, the link will open in the current tab.<br><br>Inherited from [Link](<index.html#t:Link>) |
| [title](<https://github.com/siemens/element/blob/main/projects/element-ng/link/link.model.ts#L12-L12>) (optional, inherited) | `TranslatableString` | The title of the menu item. Can be either the title to be displayed or the translation key.<br><br>Inherited from [Link](<index.html#t:Link>) |
| [tooltip](<https://github.com/siemens/element/blob/main/projects/element-ng/link/link.model.ts#L17-L17>) (optional, inherited) | `TranslatableString` | The optional tooltip of the link. Can be either the text to be displayed or the translation key.<br><br>Inherited from [Link](<index.html#t:Link>) |
| [type](<https://github.com/siemens/element/blob/main/projects/element-ng/common/models/menu.model.ts#L76-L76>) (optional, inherited) | `"check" \| "radio"` | Type to distinguish between check and radio menu items. Needs to be set for correct interaction and used for a11y.<br><br>Inherited from [MenuItem](<index.html#t:MenuItem>) |

### [AppItemCategory](<https://github.com/siemens/element/blob/main/projects/element-ng/navbar/si-navbar-primary/si-navbar-primary.model.ts#L27-L36>)

**Kind:** interface

```
import type { AppItemCategory } from '@siemens/element-ng/navbar';
```

The AppItemCategory is used to show app categories in the launchpad.

Deprecated: Use the new `si-application-header` instead.

```
interface AppItemCategory
```

#### Properties

| Name | Type | Description |
| --- | --- | --- |
| [category](<https://github.com/siemens/element/blob/main/projects/element-ng/navbar/si-navbar-primary/si-navbar-primary.model.ts#L31-L31>) (optional) | `TranslatableString` | The name of the app category. Can be a translation key. |
| [items](<https://github.com/siemens/element/blob/main/projects/element-ng/navbar/si-navbar-primary/si-navbar-primary.model.ts#L35-L35>) | `AppItem[]` | The apps to show under this category. |

### [Link](<https://github.com/siemens/element/blob/main/projects/element-ng/link/link.model.ts#L8-L51>)

**Kind:** interface

```
import type { Link } from '@siemens/element-ng/link';
```

```
interface Link
```

#### Properties

| Name | Type | Description |
| --- | --- | --- |
| [action](<https://github.com/siemens/element/blob/main/projects/element-ng/link/link.model.ts#L42-L42>) (optional) | `string \| ((param?: any) => void \| any)` | A function that will be invoked when clicking on the menu item. When passed as a string, use together with SiLinkActionService to receive events. This is meant for repetitive things in lists/tables/etc. |
| [disabled](<https://github.com/siemens/element/blob/main/projects/element-ng/link/link.model.ts#L50-L50>) (optional) | `boolean` | A boolean that lets the link know whether it is disabled or not. |
| [href](<https://github.com/siemens/element/blob/main/projects/element-ng/link/link.model.ts#L22-L22>) (optional) | `string` | Defines a href URI that the menu item will be linked to. Will be used to set the href attribute of the a element. Will only be used if link and function is not set. |
| [isActive](<https://github.com/siemens/element/blob/main/projects/element-ng/link/link.model.ts#L46-L46>) (optional) | `boolean` | A boolean that lets the link know whether it is active or not. It is useful when action() is executed instead of link route. |
| [link](<https://github.com/siemens/element/blob/main/projects/element-ng/link/link.model.ts#L32-L32>) (optional) | `string \| any[]` | Defines the link of the menu item within the application using the angular router link concept. Accepts an array of `any` as per \[routerLink API definition\][https://angular.dev/api/router/RouterLink](<https://angular.dev/api/router/RouterLink>). |
| [navigationExtras](<https://github.com/siemens/element/blob/main/projects/element-ng/link/link.model.ts#L36-L36>) (optional) | `NavigationExtras` | The navigation extras provide additional routing options when using the router link. |
| [target](<https://github.com/siemens/element/blob/main/projects/element-ng/link/link.model.ts#L27-L27>) (optional) | `string` | The target attribute specifies where to open the linked document. If no target is specified, the link will open in the current tab. |
| [title](<https://github.com/siemens/element/blob/main/projects/element-ng/link/link.model.ts#L12-L12>) (optional) | `TranslatableString` | The title of the menu item. Can be either the title to be displayed or the translation key. |
| [tooltip](<https://github.com/siemens/element/blob/main/projects/element-ng/link/link.model.ts#L17-L17>) (optional) | `TranslatableString` | The optional tooltip of the link. Can be either the text to be displayed or the translation key. |

### [MenuItem](<https://github.com/siemens/element/blob/main/projects/element-ng/common/models/menu.model.ts#L19-L85>)

**Kind:** interface

```
import type { MenuItem } from '@siemens/element-ng/common';
```

The MenuItem is used to configure clickable items in menus. They support a name, link, icons and sub-menu items.

Deprecated: This interface should no longer be used. Use a corresponding alternative based on your use case:

• for [SiMenuFactoryComponent](<../SiMenuFactoryComponent/index.html#SiMenuFactoryComponent>) use [@siemens/element-ng/menu\#MenuItem](<../../types/_entrypoints/menu/MenuItem/index.html#t:MenuItem>)

• for [SiContentActionBarComponent](<../SiContentActionBarComponent/index.html#SiContentActionBarComponent>) use [@siemens/element-ng/menu\#MenuItem](<../../types/_entrypoints/menu/MenuItem/index.html#t:MenuItem>) and [ContentActionBarMainItem](<../../types/ContentActionBarMainItem/index.html#t:ContentActionBarMainItem>)

• for [SiNavbarVerticalComponent](<../SiNavbarVerticalComponent/index.html#SiNavbarVerticalComponent>) use [NavbarVerticalItem](<../../types/NavbarVerticalItem/index.html#t:NavbarVerticalItem>)

• for [@siemens/dashboards-ng\#SiFlexibleDashboardComponent](<../../../dashboards-ng/components/SiFlexibleDashboardComponent/index.html#SiFlexibleDashboardComponent>) use [@siemens/dashboards-ng\#DashboardToolbarItem](<../../../dashboards-ng/types/DashboardToolbarItem/index.html#t:DashboardToolbarItem>)

```
interface MenuItem extends Link
```

#### Properties

| Name | Type | Description |
| --- | --- | --- |
| [action](<https://github.com/siemens/element/blob/main/projects/element-ng/link/link.model.ts#L42-L42>) (optional, inherited) | `string \| ((param?: any) => void \| any)` | A function that will be invoked when clicking on the menu item. When passed as a string, use together with SiLinkActionService to receive events. This is meant for repetitive things in lists/tables/etc.<br><br>Inherited from [Link](<index.html#t:Link>) |
| [badge](<https://github.com/siemens/element/blob/main/projects/element-ng/common/models/menu.model.ts#L56-L56>) (optional) | `string \| number` | Defines the content of the optional badge. Should be a number or something like "100+". if undefined or empty string, no badge is displayed |
| [badgeColor](<https://github.com/siemens/element/blob/main/projects/element-ng/common/models/menu.model.ts#L60-L60>) (optional) | `string` | Defines the background color of the badge. Default is specific to Element flavour. |
| [badgeDot](<https://github.com/siemens/element/blob/main/projects/element-ng/common/models/menu.model.ts#L68-L68>) (optional) | `boolean` | Show a dot badge without content? |
| [badgeStyle](<https://github.com/siemens/element/blob/main/projects/element-ng/common/models/menu.model.ts#L64-L64>) (optional) | `"" \| "inline" \| "dot"` | Defines the badge style |
| [customContent](<https://github.com/siemens/element/blob/main/projects/element-ng/common/models/menu.model.ts#L51-L51>) (optional) | `boolean` | Defines if custom content is chosen in account dropdown (otherwise accountItems are used) |
| [disabled](<https://github.com/siemens/element/blob/main/projects/element-ng/link/link.model.ts#L50-L50>) (optional, inherited) | `boolean` | A boolean that lets the link know whether it is disabled or not.<br><br>Inherited from [Link](<index.html#t:Link>) |
| [dropUpwards](<https://github.com/siemens/element/blob/main/projects/element-ng/common/models/menu.model.ts#L84-L84>) (optional) | `boolean` | Whether the menu items sub-menu should open upwards instead of downwards. |
| [expanded](<https://github.com/siemens/element/blob/main/projects/element-ng/common/models/menu.model.ts#L42-L42>) (optional) | `boolean` | If the menu item has children you can specify if they are visible or not. |
| [href](<https://github.com/siemens/element/blob/main/projects/element-ng/link/link.model.ts#L22-L22>) (optional, inherited) | `string` | Defines a href URI that the menu item will be linked to. Will be used to set the href attribute of the a element. Will only be used if link and function is not set.<br><br>Inherited from [Link](<index.html#t:Link>) |
| [icon](<https://github.com/siemens/element/blob/main/projects/element-ng/common/models/menu.model.ts#L27-L27>) (optional) | `string` | The web font icon class name (e.g. element-settings-outline). |
| [iconOnly](<https://github.com/siemens/element/blob/main/projects/element-ng/common/models/menu.model.ts#L46-L46>) (optional) | `boolean` | Defines if only the icon is shown in the default navigation bar. |
| [id](<https://github.com/siemens/element/blob/main/projects/element-ng/common/models/menu.model.ts#L23-L23>) (optional) | `string` | An optional id to uniquely identify the menu item. |
| [image](<https://github.com/siemens/element/blob/main/projects/element-ng/common/models/menu.model.ts#L32-L32>) (optional) | `string` | The value for an image src tag. Maybe a relative or absolute link to an jpg or gif image. |
| [isActive](<https://github.com/siemens/element/blob/main/projects/element-ng/link/link.model.ts#L46-L46>) (optional, inherited) | `boolean` | A boolean that lets the link know whether it is active or not. It is useful when action() is executed instead of link route.<br><br>Inherited from [Link](<index.html#t:Link>) |
| [isHeading](<https://github.com/siemens/element/blob/main/projects/element-ng/common/models/menu.model.ts#L80-L80>) (optional) | `boolean` | Whether the menu item should be displayed as a heading/title, will also disable links and actions. |
| [items](<https://github.com/siemens/element/blob/main/projects/element-ng/common/models/menu.model.ts#L37-L37>) (optional) | `MenuItem[]` | A navigation bar item can have a sub-menu, if these items are set. They define the sub-menu content. |
| [link](<https://github.com/siemens/element/blob/main/projects/element-ng/link/link.model.ts#L32-L32>) (optional, inherited) | `string \| any[]` | Defines the link of the menu item within the application using the angular router link concept. Accepts an array of `any` as per \[routerLink API definition\][https://angular.dev/api/router/RouterLink](<https://angular.dev/api/router/RouterLink>).<br><br>Inherited from [Link](<index.html#t:Link>) |
| [navigationExtras](<https://github.com/siemens/element/blob/main/projects/element-ng/link/link.model.ts#L36-L36>) (optional, inherited) | `NavigationExtras` | The navigation extras provide additional routing options when using the router link.<br><br>Inherited from [Link](<index.html#t:Link>) |
| [selectionState](<https://github.com/siemens/element/blob/main/projects/element-ng/common/models/menu.model.ts#L72-L72>) (optional) | `"" \| "check" \| "radio"` | For single/multi choice items: the kind of icon to show. |
| [target](<https://github.com/siemens/element/blob/main/projects/element-ng/link/link.model.ts#L27-L27>) (optional, inherited) | `string` | The target attribute specifies where to open the linked document. If no target is specified, the link will open in the current tab.<br><br>Inherited from [Link](<index.html#t:Link>) |
| [title](<https://github.com/siemens/element/blob/main/projects/element-ng/link/link.model.ts#L12-L12>) (optional, inherited) | `TranslatableString` | The title of the menu item. Can be either the title to be displayed or the translation key.<br><br>Inherited from [Link](<index.html#t:Link>) |
| [tooltip](<https://github.com/siemens/element/blob/main/projects/element-ng/link/link.model.ts#L17-L17>) (optional, inherited) | `TranslatableString` | The optional tooltip of the link. Can be either the text to be displayed or the translation key.<br><br>Inherited from [Link](<index.html#t:Link>) |
| [type](<https://github.com/siemens/element/blob/main/projects/element-ng/common/models/menu.model.ts#L76-L76>) (optional) | `"check" \| "radio"` | Type to distinguish between check and radio menu items. Needs to be set for correct interaction and used for a11y. |

### [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
```

### [EntityStatusType](<https://github.com/siemens/element/blob/main/projects/element-ng/common/models/status-type.model.ts#L9-L9>)

**Kind:** type alias

```
import type { EntityStatusType } from '@siemens/element-ng/common';
```

```
type EntityStatusType = ExtendedStatusType | 'pending' | 'progress'
```

### [ExtendedStatusType](<https://github.com/siemens/element/blob/main/projects/element-ng/common/models/status-type.model.ts#L8-L8>)

**Kind:** type alias

```
import type { ExtendedStatusType } from '@siemens/element-ng/common';
```

```
type ExtendedStatusType = StatusType | 'unknown'
```

### [StatusType](<https://github.com/siemens/element/blob/main/projects/element-ng/common/models/status-type.model.ts#L7-L7>)

**Kind:** type alias

```
import type { StatusType } from '@siemens/element-ng/common';
```

```
type StatusType = 'success' | 'info' | 'warning' | 'danger' | 'caution' | 'critical'
```
