# Content action bar

The **content action bar** is a container for actions related to specific content. Actions are available as buttons or dropdown menus, each triggering specific functionalities.

## Usage

The content action bar groups contextually related actions that serve a common purpose within a specific content area. For example, actions such as 'Edit', 'Delete', and 'Share' are used to manage specific pieces of content, like documents or images.

The content action bar groups primary and secondary actions and adjusts to the available space.

![Content action bar](<../images/content-action-bar.png>)

### When to use

- When multiple actions that are closely related and need to be presented together.
- When an action stands alone or does not relate to other actions, use a regular [button](<https://element.siemens.io/components/buttons-menus/buttons/>).
- If the primary requirement is simply to have a menu that remains consistently collapsed, use a tertiary [circle button](<https://element.siemens.io/components/buttons-menus/buttons/>) with a [menu](<https://element.siemens.io/components/buttons-menus/menu/>).

## Design

### Elements

The content action bar includes primary actions, which are always visible and prioritized, and optional secondary actions, which can be accessed through a menu.

![Content action elements](<../images/content-action-bar-elements.png>)

> 1. Primary actions, 2. Secondary actions (optional), (4) Close button

### Button types

The content action bar includes standard and dropdown buttons. Standard buttons can display text, icons, or both, while dropdowns support text or text with icons.

![Content action button types](<../images/content-action-bar-buttons.png>)

Icons should be used as needed; however, avoid mixing text-with-icon buttons with icon-only buttons whenever possible.

![Content action button types examples](<../images/content-action-bar-buttons-examples.png>)

### Variants

The content action bar can be set to behave in two main ways, depending on the layout needs:

#### Expanded/Toolbar

In the expanded/toolbar variant, all actions are always displayed, providing consistent visibility and quick access. This configuration is useful when actions need to be readily available, such as in editors or builder interfaces (e.g., a floor plan editor or dashboard builder).

![Content action toolbar](<../images/content-action-bar-toolbar.png>)

#### Collapsible

In the collapsible variant, users can expand the content action bar as needed to reveal the available options. Pressing the close button will collapse all actions under a menu. This setup allows for a more compact layout when space is limited or when actions are needed less frequently.

![Content action collapsible](<../images/content-action-bar-collapsible.png>)

### Responsive behavior

When the screen size is reduced, actions can automatically collapse into a menu in both the Toolbar and Collapsible variants. If the primary requirement is simply to have a menu that remains consistently collapsed, use a tertiary [circle button](<https://element.siemens.io/components/buttons-menus/buttons/>) with a [menu](<https://element.siemens.io/components/buttons-menus/menu/>).

![Content action responsive](<../images/content-action-bar-responsive.png>)

## Code

It can be used in one of three variations pointed out in Design section by providing related `viewType` input as `collapsible`, `expanded` or `mobile`. View type `expanded` is default.

### Usage

```
import { SiContentActionBarComponent } from '@siemens/element-ng/content-action-bar';

@Component({
  imports: [SiContentActionBarComponent, ...]
})
```

### Action bar configuration

Configure the content action bar with `MenuItem`s as primary and secondary actions. You can configure an Angular router or a href target as well as a custom action. Sub-menus are supported by the `items` property.

#### Example

Component:

```typescript
/**
 * Copyright (c) Siemens 2016 - 2026
 * SPDX-License-Identifier: MIT
 */
import { Component, inject } from '@angular/core';
import {
  ContentActionBarMainItem,
  SiContentActionBarComponent
} from '@siemens/element-ng/content-action-bar';
import { MenuItem, MenuItemCheckbox, MenuItemRadio } from '@siemens/element-ng/menu';
import { LOG_EVENT } from '@siemens/live-preview';

@Component({
  selector: 'app-sample',
  imports: [SiContentActionBarComponent],
  templateUrl: './si-content-action-bar.html',
  host: { class: 'p-5' }
})
export class SampleComponent {
  logEvent = inject(LOG_EVENT);

  secondaryActions: MenuItem[] = [
    {
      type: 'group',
      label: 'Download as',
      children: [
        { type: 'action', label: 'Image', action: () => alert('Image') },
        { type: 'action', label: 'File', action: () => alert('File') }
      ]
    },
    { type: 'action', label: 'Copy', action: () => alert('Copy') },
    { type: 'action', label: 'Hide', action: () => alert('Hide') },
    { type: 'action', label: 'Export', action: () => alert('Export') },
    { type: 'action', label: 'Favorite', action: () => alert('Favorite') }
  ];

  primaryActions: ContentActionBarMainItem[] = [
    { type: 'action', label: 'Create', action: () => alert('Create') },
    {
      type: 'group',
      label: 'Save As',
      children: [
        { type: 'action', label: 'Save as New Trend', action: () => alert('Save as New Trend') },
        { type: 'action', label: 'Save as a Copy', action: () => alert('Save as a Copy') },
        { type: 'action', label: 'Save as a Template', action: () => alert('Save as a Template') }
      ]
    },
    { type: 'action', label: 'Delete', action: () => alert('Delete') }
  ];

  primaryActionsIcons: ContentActionBarMainItem[] = [
    {
      type: 'action',
      label: 'Download',
      iconOnly: true,
      action: () => alert('Download'),
      icon: 'element-download'
    },
    { type: 'action', label: 'Share', action: () => alert('Share'), icon: 'element-share' },
    { type: 'action', label: 'Edit', action: () => alert('Edit'), icon: 'element-edit' },
    { type: 'action', label: 'Copy', action: () => alert('Copy'), icon: 'element-copy' }
  ];

  secondaryActionsIcons: MenuItem[] = [
    { type: 'action', label: 'Clear', action: () => alert('Clear') },
    { type: 'action', label: 'Hide', action: () => alert('Hide') },
    { type: 'action', label: 'Update', action: () => alert('Update') },
    { type: 'divider' },
    {
      type: 'checkbox',
      label: 'Be awesome',
      checked: false,
      action: (params: any, source) => this.toggleAwesome(params, source)
    },
    { type: 'divider' },
    {
      type: 'radio',
      label: 'Beer',
      checked: false,
      action: (params, source) => this.setBeverage(1, source)
    },
    {
      type: 'radio',
      label: 'Whisky',
      checked: false,
      action: (params, source) => this.setBeverage(2, source)
    },
    {
      type: 'radio',
      label: 'Gin',
      checked: false,
      action: (params, source) => this.setBeverage(3, source)
    },
    { type: 'divider' },
    { type: 'action', label: 'Import', icon: 'element-import', action: () => alert('Import') },
    { type: 'action', label: 'Export', icon: 'element-export', action: () => alert('Export') }
  ];

  toggleAwesome(params: any, item: MenuItemCheckbox): void {
    this.logEvent(params);
    item.checked = !item.checked;
  }

  setBeverage(num: number, item: MenuItemRadio): void {
    item.checked = num === 1;
    item.checked = num === 2;
    item.checked = num === 3;
  }
}
```

Template:

```html
<h4>Variation 1 - Label</h4>
<div class="p-5 background-0 d-flex">
  <si-content-action-bar
    class="ms-auto"
    toggleItemLabel="toggle"
    viewType="collapsible"
    [primaryActions]="primaryActions"
    [secondaryActions]="secondaryActions"
  />
</div>

<div class="p-5 background-1 d-flex">
  <si-content-action-bar
    class="ms-auto"
    toggleItemLabel="toggle"
    viewType="collapsible"
    [primaryActions]="primaryActions"
    [secondaryActions]="secondaryActions"
  />
</div>

<br />
<h4>Variation 2 - Label + Icon</h4>
<div class="p-5 background-0 d-flex">
  <si-content-action-bar
    class="ms-auto"
    toggleItemLabel="toggle"
    viewType="expanded"
    [actionParam]="{ row: 'first', someThingElse: 37 }"
    [primaryActions]="primaryActionsIcons"
    [secondaryActions]="secondaryActionsIcons"
  />
</div>

<div class="p-5 background-1 d-flex">
  <si-content-action-bar
    class="ms-auto"
    toggleItemLabel="toggle"
    viewType="expanded"
    [actionParam]="{ row: 'second', someThingElse: 42 }"
    [primaryActions]="primaryActionsIcons"
    [secondaryActions]="secondaryActionsIcons"
  />
</div>

<br />
<h4>Variation 3 - Label + Icon (prevent icons in dropdowns)</h4>
<div class="p-5 background-0 d-flex">
  <si-content-action-bar
    class="ms-auto"
    toggleItemLabel="toggle"
    viewType="expanded"
    [actionParam]="{ row: 'first', someThingElse: 37 }"
    [primaryActions]="primaryActionsIcons"
    [secondaryActions]="secondaryActionsIcons"
    [preventIconsInDropdownMenus]="true"
  />
</div>

<div class="p-5 background-1 d-flex">
  <si-content-action-bar
    class="ms-auto"
    toggleItemLabel="toggle"
    viewType="expanded"
    [actionParam]="{ row: 'second', someThingElse: 42 }"
    [primaryActions]="primaryActionsIcons"
    [secondaryActions]="secondaryActionsIcons"
    [preventIconsInDropdownMenus]="true"
  />
</div>
```

### Action item states

Use the `MenuItem` states `disabled`, `isActive`, `badge` and `badgeColor` for configuration of item states. Use semantic bootstrap colors like `warning` or `success` as `badgeColor`.

#### Example

Component:

```typescript
/**
 * Copyright (c) Siemens 2016 - 2026
 * SPDX-License-Identifier: MIT
 */
import { Component } from '@angular/core';
import {
  ContentActionBarMainItem,
  SiContentActionBarComponent,
  ViewType
} from '@siemens/element-ng/content-action-bar';
import { MenuItem } from '@siemens/element-ng/menu';

@Component({
  selector: 'app-sample',
  imports: [SiContentActionBarComponent],
  templateUrl: './si-content-action-bar-states.html',
  host: { class: 'p-5' }
})
export class SampleComponent {
  viewType: ViewType = 'expanded';

  secondaryActions: MenuItem[] = [
    { type: 'action', label: 'Title - Normal', action: () => alert('Item Clicked') },
    {
      type: 'action',
      label: 'Title - Disabled',
      action: () => alert('Item Clicked'),
      disabled: true
    },
    {
      type: 'group',
      label: 'Sub-Menu',
      children: [
        { type: 'action', label: 'Title - Normal', action: () => alert('Item Clicked') },
        {
          type: 'action',
          label: 'Title - Disabled',
          action: () => alert('Item Clicked'),
          disabled: true
        }
      ]
    },
    {
      type: 'group',
      label: 'Badges',
      children: [
        { type: 'action', label: 'Badge', action: () => alert('Item Clicked'), badge: 5 },
        {
          type: 'action',
          label: 'Badge - warning',
          action: () => alert('Item Clicked'),
          badge: 5,
          badgeColor: 'warning'
        },
        {
          type: 'action',
          label: 'Badge - success',
          action: () => alert('Item Clicked'),
          badge: 5,
          badgeColor: 'success'
        },
        {
          type: 'action',
          label: 'Badge - disabled',
          action: () => alert('Item Clicked'),
          disabled: true,
          badge: 5,
          badgeColor: 'warning'
        }
      ]
    },
    { type: 'link', label: 'Element', href: 'https://element.siemens.io/', target: '_blank' }
  ];

  primaryActions: ContentActionBarMainItem[] = [
    { type: 'action', label: 'Title - Normal', action: () => alert('Item Clicked') },
    {
      type: 'action',
      label: 'Title - Disabled',
      action: () => alert('Item Clicked'),
      disabled: true
    },
    {
      type: 'group',
      label: 'Primary-Sub-Menu',
      children: [
        {
          type: 'action',
          label: 'Primary-Sub-Menu-Item - Normal',
          action: () => alert('Item Clicked')
        },
        {
          type: 'action',
          label: 'Primary-Sub-Menu-Item - Disabled',
          action: () => alert('Item Clicked'),
          disabled: true
        }
      ]
    },
    {
      type: 'checkbox',
      label: 'Toggle',
      icon: 'element-edit',
      iconOnly: true,
      checked: true,
      action: (_, item) => (item.checked = !item.checked)
    }
  ];

  disabledPrimaryItems: ContentActionBarMainItem[] = [
    {
      type: 'group',
      label: 'Menu 1',
      disabled: true,
      children: [
        { type: 'action', label: 'Item 1', action: () => alert('Item clicked'), disabled: false },
        { type: 'action', label: 'Item 2', action: () => alert('Item clicked'), disabled: false }
      ]
    },
    {
      type: 'group',
      label: 'Menu 2',
      disabled: true,
      children: [
        { type: 'action', label: 'Item 1', action: () => alert('Item clicked'), disabled: true },
        { type: 'action', label: 'Item 2', action: () => alert('Item clicked'), disabled: true }
      ]
    },
    {
      type: 'group',
      label: 'Long-List',
      children: Array.from({ length: 50 }, (_, i) => ({
        type: 'action',
        label: `Item ${i + 1}`,
        action: () => alert(`Item ${i + 1} Clicked`)
      }))
    },
    {
      type: 'group',
      label: 'Menu 3',
      disabled: false,
      children: [
        { type: 'action', label: 'Item 1', action: () => alert('Item clicked'), disabled: true },
        { type: 'action', label: 'Item 2', action: () => alert('Item clicked'), disabled: true }
      ]
    },
    {
      type: 'group',
      label: 'Menu 4',
      disabled: false,
      children: [
        { type: 'action', label: 'Item 1', action: () => alert('Item clicked'), disabled: false },
        { type: 'action', label: 'Item 2', action: () => alert('Item clicked'), disabled: true }
      ]
    }
  ];
}
```

Template:

```html
<h4>Mixed states</h4>
<div class="p-5 background-0 d-flex">
  <si-content-action-bar
    class="ms-auto"
    [primaryActions]="primaryActions"
    [secondaryActions]="secondaryActions"
    [viewType]="viewType"
  />
</div>

<h4>Disabled menu and menu item variations</h4>
<div class="p-5 background-0 d-flex">
  <si-content-action-bar
    class="ms-auto"
    viewType="expanded"
    [primaryActions]="disabledPrimaryItems"
    [secondaryActions]="disabledPrimaryItems"
  />
</div>

<h4>Completely disabled</h4>
<div class="p-5 background-0 d-flex">
  <si-content-action-bar
    class="ms-auto"
    viewType="expanded"
    [primaryActions]="disabledPrimaryItems"
    [secondaryActions]="disabledPrimaryItems"
    [disabled]="true"
  />
</div>
```

### Action toolbar

Use the `MenuItem` property `icon` to provide icons for all primary actions.

#### Example

Component:

```typescript
/**
 * Copyright (c) Siemens 2016 - 2026
 * SPDX-License-Identifier: MIT
 */
import { Component } from '@angular/core';
import {
  ContentActionBarMainItem,
  SiContentActionBarComponent
} from '@siemens/element-ng/content-action-bar';
import { MenuItem } from '@siemens/element-ng/menu';

@Component({
  selector: 'app-sample',
  imports: [SiContentActionBarComponent],
  templateUrl: './si-content-action-bar-toolbar.html',
  host: { class: 'p-5' }
})
export class SampleComponent {
  secondaryActions: MenuItem[] = [
    {
      type: 'group',
      label: 'Download as',
      children: [
        { type: 'action', label: 'Image', action: () => alert('Image') },
        { type: 'action', label: 'File', action: () => alert('File') }
      ]
    },
    { type: 'action', label: 'Hide', action: () => alert('Hide') },
    { type: 'action', label: 'Export', action: () => alert('Export') },
    { type: 'action', label: 'Favorite', action: () => alert('Favorite') }
  ];

  primaryActions: ContentActionBarMainItem[] = [
    { type: 'action', label: 'Cut', icon: 'element-cut', action: () => alert('Cut') },
    { type: 'action', label: 'Copy', icon: 'element-copy', action: () => alert('Copy') },
    { type: 'action', label: 'Paste', icon: 'element-paste', action: () => alert('Paste') },
    { type: 'action', label: 'Delete', icon: 'element-delete', action: () => alert('Delete') },
    {
      type: 'group',
      label: 'History (3)',
      children: [
        { type: 'action', label: 'Previous action 1', action: () => alert('Undo action 1') },
        { type: 'action', label: 'Previous action 2', action: () => alert('Undo action 2') },
        { type: 'action', label: 'Previous action 3', action: () => alert('Undo action 3') }
      ]
    },
    { type: 'action', label: 'Undo', icon: 'element-undo', action: () => alert('Undo') },
    { type: 'action', label: 'Redo', icon: 'element-redo', action: () => alert('Redo') }
  ];

  primaryActionsIcons: ContentActionBarMainItem[] = [
    {
      type: 'action',
      label: 'Cut',
      iconOnly: true,
      icon: 'element-cut',
      action: () => alert('Cut')
    },
    {
      type: 'action',
      label: 'Copy',
      iconOnly: true,
      icon: 'element-copy',
      action: () => alert('Copy')
    },
    {
      type: 'action',
      label: 'Paste',
      iconOnly: true,
      icon: 'element-paste',
      action: () => alert('Paste')
    },
    {
      type: 'action',
      label: 'Delete',
      iconOnly: true,
      icon: 'element-delete',
      action: () => alert('Delete')
    },
    {
      type: 'group',
      label: 'History (3)',
      children: [
        { type: 'action', label: 'Previous action 1', action: () => alert('Undo action 1') },
        { type: 'action', label: 'Previous action 2', action: () => alert('Undo action 2') },
        { type: 'action', label: 'Previous action 3', action: () => alert('Undo action 3') }
      ]
    },
    {
      type: 'action',
      label: 'Undo',
      iconOnly: true,
      icon: 'element-undo',
      action: () => alert('Undo')
    },
    {
      type: 'action',
      label: 'Redo',
      iconOnly: true,
      icon: 'element-redo',
      action: () => alert('Redo')
    }
  ];
}
```

Template:

```html
<h4>Variation 1 - Label + Icon + Dropdown + Secondary Actions</h4>
<div class="p-5 background-0 d-flex">
  <si-content-action-bar
    toggleItemLabel="toggle"
    viewType="expanded"
    [primaryActions]="primaryActions"
    [secondaryActions]="secondaryActions"
  />
</div>

<div class="p-5 background-1 d-flex">
  <si-content-action-bar
    toggleItemLabel="toggle"
    viewType="expanded"
    [primaryActions]="primaryActions"
    [secondaryActions]="secondaryActions"
  />
</div>

<br />
<h4>Variation 2 - Icon + Dropdown</h4>
<div class="p-5 background-0 d-flex">
  <si-content-action-bar
    toggleItemLabel="toggle"
    viewType="expanded"
    [primaryActions]="primaryActionsIcons"
  />
</div>

<div class="p-5 background-1 d-flex">
  <si-content-action-bar
    toggleItemLabel="toggle"
    viewType="expanded"
    [primaryActions]="primaryActionsIcons"
  />
</div>
```

### [SiContentActionBarComponent](<https://github.com/siemens/element/blob/main/projects/element-ng/content-action-bar/si-content-action-bar.component.ts#L57-L187>)

**Kind:** component

**Selector:** `si-content-action-bar`

```
import { SiContentActionBarComponent } from '@siemens/element-ng/content-action-bar';
```

```
component SiContentActionBarComponent implements AfterViewInit
```

#### Input Properties

| Name | Type | Default | Description |
| --- | --- | --- | --- |
| [actionParam](<https://github.com/siemens/element/blob/main/projects/element-ng/content-action-bar/si-content-action-bar.component.ts#L71-L71>) | `any` |  | A param that will be passed to the `action` in the primary/secondary actions. This allows to re-use the same primary/secondary action arrays across rows in a table. |
| [disabled](<https://github.com/siemens/element/blob/main/projects/element-ng/content-action-bar/si-content-action-bar.component.ts#L107-L107>) | `boolean` | `false` | Disables the whole content-action-bar. |
| [preventIconsInDropdownMenus](<https://github.com/siemens/element/blob/main/projects/element-ng/content-action-bar/si-content-action-bar.component.ts#L101-L101>) | `boolean` | `false` | Option to remove all icons from dropdown menus of the content action bar.<br><br>Some apps provide only few actions with icons, located in the set of primary actions. The icons are visible in the `collapsible` and `expanded` view type. On reduced space, primary actions are relocated in the same dropdown menu as the secondary actions. The dropdown menu can look unbalanced, if a large number of secondary actions without icons are presented with few actions with icons. This option balances the look and feel by removing all icons from actions in the dropdown menu. |
| [primaryActions](<https://github.com/siemens/element/blob/main/projects/element-ng/content-action-bar/si-content-action-bar.component.ts#L61-L61>) | `readonly (MenuItem \| ContentActionBarMainItem)[] \| undefined` |  | List of primary actions. Supports up to **4** actions and omits additional ones. |
| [secondaryActions](<https://github.com/siemens/element/blob/main/projects/element-ng/content-action-bar/si-content-action-bar.component.ts#L65-L65>) | `readonly (MenuItem \| MenuItem)[] \| undefined` |  | List of secondary actions. |
| [toggleItemLabel](<https://github.com/siemens/element/blob/main/projects/element-ng/content-action-bar/si-content-action-bar.component.ts#L86-L88>) | `TranslatableString` | `` $localize`:@@SI_CONTENT_ACTION_BAR.TOGGLE:Show actions` `` | Toggle icon aria-label, required for a11y |
| [viewType](<https://github.com/siemens/element/blob/main/projects/element-ng/content-action-bar/si-content-action-bar.component.ts#L77-L77>) | `ViewType` | `'expanded'` | Selection of view type as 'collapsible', 'expanded' or 'mobile'. |

### Types Documentation

### [ContentActionBarMainItem](<https://github.com/siemens/element/blob/main/projects/element-ng/content-action-bar/si-content-action-bar.model.ts#L15-L17>)

**Kind:** type alias

```
import type { ContentActionBarMainItem } from '@siemens/element-ng/content-action-bar';
```

```
type ContentActionBarMainItem = (
  MenuItemAction | MenuItemCheckbox | MenuItemLink | MenuItemRouterLink | MenuItemGroup
) & { iconOnly?: boolean }
```

### [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](<../../../api/siemens/element-ng/components/SiMenuFactoryComponent/index.html#SiMenuFactoryComponent>) use [@siemens/element-ng/menu\#MenuItem](<index.html#t:MenuItem--2>)

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

• for [SiNavbarVerticalComponent](<../../../api/siemens/element-ng/components/SiNavbarVerticalComponent/index.html#SiNavbarVerticalComponent>) use [NavbarVerticalItem](<../../../api/siemens/element-ng/types/NavbarVerticalItem/index.html#t:NavbarVerticalItem>)

• for [@siemens/dashboards-ng\#SiFlexibleDashboardComponent](<../../../api/siemens/dashboards-ng/components/SiFlexibleDashboardComponent/index.html#SiFlexibleDashboardComponent>) use [@siemens/dashboards-ng\#DashboardToolbarItem](<../../../api/siemens/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. |

### [MenuItem](<https://github.com/siemens/element/blob/main/projects/element-ng/menu/si-menu-model.ts#L102-L111>)

**Kind:** type alias

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

```
type MenuItem = | MenuItemGroup
  | MenuItemAction
  | MenuItemRouterLink
  | MenuItemLink
  | MenuItemRadioGroup
  | MenuItemCheckbox
  | MenuItemRadio
  | MenuItemHeader
  | MenuDivider
```

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

### [ViewType](<https://github.com/siemens/element/blob/main/projects/element-ng/content-action-bar/si-content-action-bar.model.ts#L13-L13>)

**Kind:** type alias

```
import type { ViewType } from '@siemens/element-ng/content-action-bar';
```

```
type ViewType = 'collapsible' | 'expanded' | 'mobile'
```

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

### [MenuItemAction](<https://github.com/siemens/element/blob/main/projects/element-ng/menu/si-menu-model.ts#L34-L41>)

**Kind:** interface

```
import type { MenuItemAction } from '@siemens/element-ng/menu';
```

```
interface MenuItemAction extends MenuItemBase
```

#### Properties

| Name | Type | Description |
| --- | --- | --- |
| [action](<https://github.com/siemens/element/blob/main/projects/element-ng/menu/si-menu-model.ts#L40-L40>) | `string \| ((actionParam: any, source: MenuItemAction) => void)` | Action that called when the item is triggered. A function will be called, a string will be dispatched to the [SiMenuActionService](<../../../api/siemens/element-ng/types/SiMenuActionService/index.html#t:SiMenuActionService>). |
| [badge](<https://github.com/siemens/element/blob/main/projects/element-ng/menu/si-menu-model.ts#L21-L21>) (optional, inherited) | `string \| number` | Badge that is rendered after the label.<br><br>Inherited from [MenuItemBase](<index.html#t:MenuItemBase>) |
| [badgeColor](<https://github.com/siemens/element/blob/main/projects/element-ng/menu/si-menu-model.ts#L23-L23>) (optional, inherited) | `string` | Color of the badge (not iconBadge).<br><br>Inherited from [MenuItemBase](<index.html#t:MenuItemBase>) |
| [disabled](<https://github.com/siemens/element/blob/main/projects/element-ng/menu/si-menu-model.ts#L25-L25>) (optional, inherited) | `boolean` | Whether the menu item id disabled.<br><br>Inherited from [MenuItemBase](<index.html#t:MenuItemBase>) |
| [icon](<https://github.com/siemens/element/blob/main/projects/element-ng/menu/si-menu-model.ts#L14-L14>) (optional, inherited) | `string` | Optional icon that will be rendered before the label.<br><br>Inherited from [MenuItemBase](<index.html#t:MenuItemBase>) |
| [iconBadge](<https://github.com/siemens/element/blob/main/projects/element-ng/menu/si-menu-model.ts#L19-L19>) (optional, inherited) | `string \| number \| boolean` | Badge (always red) that is attached to the icon. If value===true, an empty red dot will be rendered.<br><br>Inherited from [MenuItemBase](<index.html#t:MenuItemBase>) |
| [id](<https://github.com/siemens/element/blob/main/projects/element-ng/menu/si-menu-model.ts#L10-L10>) (optional, inherited) | `string` | ID that will be attached to the DOM node.<br><br>Inherited from [MenuItemBase](<index.html#t:MenuItemBase>) |
| [label](<https://github.com/siemens/element/blob/main/projects/element-ng/menu/si-menu-model.ts#L12-L12>) (inherited) | `TranslatableString` | Label that is shown to the user.<br><br>Inherited from [MenuItemBase](<index.html#t:MenuItemBase>) |
| [type](<https://github.com/siemens/element/blob/main/projects/element-ng/menu/si-menu-model.ts#L35-L35>) | `"action"` |  |

### [MenuItemCheckbox](<https://github.com/siemens/element/blob/main/projects/element-ng/menu/si-menu-model.ts#L81-L90>)

**Kind:** interface

```
import type { MenuItemCheckbox } from '@siemens/element-ng/menu';
```

```
interface MenuItemCheckbox extends MenuItemBase
```

#### Properties

| Name | Type | Description |
| --- | --- | --- |
| [action](<https://github.com/siemens/element/blob/main/projects/element-ng/menu/si-menu-model.ts#L89-L89>) | `string \| ((actionParam: any, source: MenuItemCheckbox) => void)` | Action that called when the item is triggered. A function will be called, a string will be dispatched to the [SiMenuActionService](<../../../api/siemens/element-ng/types/SiMenuActionService/index.html#t:SiMenuActionService>). |
| [badge](<https://github.com/siemens/element/blob/main/projects/element-ng/menu/si-menu-model.ts#L21-L21>) (optional, inherited) | `string \| number` | Badge that is rendered after the label.<br><br>Inherited from [MenuItemBase](<index.html#t:MenuItemBase>) |
| [badgeColor](<https://github.com/siemens/element/blob/main/projects/element-ng/menu/si-menu-model.ts#L23-L23>) (optional, inherited) | `string` | Color of the badge (not iconBadge).<br><br>Inherited from [MenuItemBase](<index.html#t:MenuItemBase>) |
| [checked](<https://github.com/siemens/element/blob/main/projects/element-ng/menu/si-menu-model.ts#L84-L84>) | `boolean` | Whether the checkbox is checked. |
| [disabled](<https://github.com/siemens/element/blob/main/projects/element-ng/menu/si-menu-model.ts#L25-L25>) (optional, inherited) | `boolean` | Whether the menu item id disabled.<br><br>Inherited from [MenuItemBase](<index.html#t:MenuItemBase>) |
| [icon](<https://github.com/siemens/element/blob/main/projects/element-ng/menu/si-menu-model.ts#L14-L14>) (optional, inherited) | `string` | Optional icon that will be rendered before the label.<br><br>Inherited from [MenuItemBase](<index.html#t:MenuItemBase>) |
| [iconBadge](<https://github.com/siemens/element/blob/main/projects/element-ng/menu/si-menu-model.ts#L19-L19>) (optional, inherited) | `string \| number \| boolean` | Badge (always red) that is attached to the icon. If value===true, an empty red dot will be rendered.<br><br>Inherited from [MenuItemBase](<index.html#t:MenuItemBase>) |
| [id](<https://github.com/siemens/element/blob/main/projects/element-ng/menu/si-menu-model.ts#L10-L10>) (optional, inherited) | `string` | ID that will be attached to the DOM node.<br><br>Inherited from [MenuItemBase](<index.html#t:MenuItemBase>) |
| [label](<https://github.com/siemens/element/blob/main/projects/element-ng/menu/si-menu-model.ts#L12-L12>) (inherited) | `TranslatableString` | Label that is shown to the user.<br><br>Inherited from [MenuItemBase](<index.html#t:MenuItemBase>) |
| [type](<https://github.com/siemens/element/blob/main/projects/element-ng/menu/si-menu-model.ts#L82-L82>) | `"checkbox"` |  |

### [MenuItemLink](<https://github.com/siemens/element/blob/main/projects/element-ng/menu/si-menu-model.ts#L56-L62>)

**Kind:** interface

```
import type { MenuItemLink } from '@siemens/element-ng/menu';
```

```
interface MenuItemLink extends MenuItemBase
```

#### Properties

| Name | Type | Description |
| --- | --- | --- |
| [badge](<https://github.com/siemens/element/blob/main/projects/element-ng/menu/si-menu-model.ts#L21-L21>) (optional, inherited) | `string \| number` | Badge that is rendered after the label.<br><br>Inherited from [MenuItemBase](<index.html#t:MenuItemBase>) |
| [badgeColor](<https://github.com/siemens/element/blob/main/projects/element-ng/menu/si-menu-model.ts#L23-L23>) (optional, inherited) | `string` | Color of the badge (not iconBadge).<br><br>Inherited from [MenuItemBase](<index.html#t:MenuItemBase>) |
| [disabled](<https://github.com/siemens/element/blob/main/projects/element-ng/menu/si-menu-model.ts#L25-L25>) (optional, inherited) | `boolean` | Whether the menu item id disabled.<br><br>Inherited from [MenuItemBase](<index.html#t:MenuItemBase>) |
| [href](<https://github.com/siemens/element/blob/main/projects/element-ng/menu/si-menu-model.ts#L59-L59>) | `string` | The href property of the anchor. |
| [icon](<https://github.com/siemens/element/blob/main/projects/element-ng/menu/si-menu-model.ts#L14-L14>) (optional, inherited) | `string` | Optional icon that will be rendered before the label.<br><br>Inherited from [MenuItemBase](<index.html#t:MenuItemBase>) |
| [iconBadge](<https://github.com/siemens/element/blob/main/projects/element-ng/menu/si-menu-model.ts#L19-L19>) (optional, inherited) | `string \| number \| boolean` | Badge (always red) that is attached to the icon. If value===true, an empty red dot will be rendered.<br><br>Inherited from [MenuItemBase](<index.html#t:MenuItemBase>) |
| [id](<https://github.com/siemens/element/blob/main/projects/element-ng/menu/si-menu-model.ts#L10-L10>) (optional, inherited) | `string` | ID that will be attached to the DOM node.<br><br>Inherited from [MenuItemBase](<index.html#t:MenuItemBase>) |
| [label](<https://github.com/siemens/element/blob/main/projects/element-ng/menu/si-menu-model.ts#L12-L12>) (inherited) | `TranslatableString` | Label that is shown to the user.<br><br>Inherited from [MenuItemBase](<index.html#t:MenuItemBase>) |
| [target](<https://github.com/siemens/element/blob/main/projects/element-ng/menu/si-menu-model.ts#L61-L61>) (optional) | `string` | The target property of the anchor. |
| [type](<https://github.com/siemens/element/blob/main/projects/element-ng/menu/si-menu-model.ts#L57-L57>) | `"link"` |  |

### [MenuItemRouterLink](<https://github.com/siemens/element/blob/main/projects/element-ng/menu/si-menu-model.ts#L48-L54>)

**Kind:** interface

```
import type { MenuItemRouterLink } from '@siemens/element-ng/menu';
```

Represents a menu item that navigates using the Angular Router.

Requires a configured Angular Router.

```
interface MenuItemRouterLink extends MenuItemBase
```

#### Properties

| Name | Type | Description |
| --- | --- | --- |
| [badge](<https://github.com/siemens/element/blob/main/projects/element-ng/menu/si-menu-model.ts#L21-L21>) (optional, inherited) | `string \| number` | Badge that is rendered after the label.<br><br>Inherited from [MenuItemBase](<index.html#t:MenuItemBase>) |
| [badgeColor](<https://github.com/siemens/element/blob/main/projects/element-ng/menu/si-menu-model.ts#L23-L23>) (optional, inherited) | `string` | Color of the badge (not iconBadge).<br><br>Inherited from [MenuItemBase](<index.html#t:MenuItemBase>) |
| [disabled](<https://github.com/siemens/element/blob/main/projects/element-ng/menu/si-menu-model.ts#L25-L25>) (optional, inherited) | `boolean` | Whether the menu item id disabled.<br><br>Inherited from [MenuItemBase](<index.html#t:MenuItemBase>) |
| [extras](<https://github.com/siemens/element/blob/main/projects/element-ng/menu/si-menu-model.ts#L53-L53>) (optional) | `NavigationExtras` | Navigation extras that are passed to the [RouterLink](<https://angular.dev/api/router/RouterLink>). |
| [icon](<https://github.com/siemens/element/blob/main/projects/element-ng/menu/si-menu-model.ts#L14-L14>) (optional, inherited) | `string` | Optional icon that will be rendered before the label.<br><br>Inherited from [MenuItemBase](<index.html#t:MenuItemBase>) |
| [iconBadge](<https://github.com/siemens/element/blob/main/projects/element-ng/menu/si-menu-model.ts#L19-L19>) (optional, inherited) | `string \| number \| boolean` | Badge (always red) that is attached to the icon. If value===true, an empty red dot will be rendered.<br><br>Inherited from [MenuItemBase](<index.html#t:MenuItemBase>) |
| [id](<https://github.com/siemens/element/blob/main/projects/element-ng/menu/si-menu-model.ts#L10-L10>) (optional, inherited) | `string` | ID that will be attached to the DOM node.<br><br>Inherited from [MenuItemBase](<index.html#t:MenuItemBase>) |
| [label](<https://github.com/siemens/element/blob/main/projects/element-ng/menu/si-menu-model.ts#L12-L12>) (inherited) | `TranslatableString` | Label that is shown to the user.<br><br>Inherited from [MenuItemBase](<index.html#t:MenuItemBase>) |
| [routerLink](<https://github.com/siemens/element/blob/main/projects/element-ng/menu/si-menu-model.ts#L51-L51>) | `string \| any[]` | Link for the angular router. Accepts the same values as [RouterLink](<https://angular.dev/api/router/RouterLink>). |
| [type](<https://github.com/siemens/element/blob/main/projects/element-ng/menu/si-menu-model.ts#L49-L49>) | `"router-link"` |  |

### [MenuItemGroup](<https://github.com/siemens/element/blob/main/projects/element-ng/menu/si-menu-model.ts#L28-L32>)

**Kind:** interface

```
import type { MenuItemGroup } from '@siemens/element-ng/menu';
```

```
interface MenuItemGroup extends MenuItemBase
```

#### Properties

| Name | Type | Description |
| --- | --- | --- |
| [badge](<https://github.com/siemens/element/blob/main/projects/element-ng/menu/si-menu-model.ts#L21-L21>) (optional, inherited) | `string \| number` | Badge that is rendered after the label.<br><br>Inherited from [MenuItemBase](<index.html#t:MenuItemBase>) |
| [badgeColor](<https://github.com/siemens/element/blob/main/projects/element-ng/menu/si-menu-model.ts#L23-L23>) (optional, inherited) | `string` | Color of the badge (not iconBadge).<br><br>Inherited from [MenuItemBase](<index.html#t:MenuItemBase>) |
| [children](<https://github.com/siemens/element/blob/main/projects/element-ng/menu/si-menu-model.ts#L31-L31>) | `MenuItem[]` | Submenu items for this menu item. |
| [disabled](<https://github.com/siemens/element/blob/main/projects/element-ng/menu/si-menu-model.ts#L25-L25>) (optional, inherited) | `boolean` | Whether the menu item id disabled.<br><br>Inherited from [MenuItemBase](<index.html#t:MenuItemBase>) |
| [icon](<https://github.com/siemens/element/blob/main/projects/element-ng/menu/si-menu-model.ts#L14-L14>) (optional, inherited) | `string` | Optional icon that will be rendered before the label.<br><br>Inherited from [MenuItemBase](<index.html#t:MenuItemBase>) |
| [iconBadge](<https://github.com/siemens/element/blob/main/projects/element-ng/menu/si-menu-model.ts#L19-L19>) (optional, inherited) | `string \| number \| boolean` | Badge (always red) that is attached to the icon. If value===true, an empty red dot will be rendered.<br><br>Inherited from [MenuItemBase](<index.html#t:MenuItemBase>) |
| [id](<https://github.com/siemens/element/blob/main/projects/element-ng/menu/si-menu-model.ts#L10-L10>) (optional, inherited) | `string` | ID that will be attached to the DOM node.<br><br>Inherited from [MenuItemBase](<index.html#t:MenuItemBase>) |
| [label](<https://github.com/siemens/element/blob/main/projects/element-ng/menu/si-menu-model.ts#L12-L12>) (inherited) | `TranslatableString` | Label that is shown to the user.<br><br>Inherited from [MenuItemBase](<index.html#t:MenuItemBase>) |
| [type](<https://github.com/siemens/element/blob/main/projects/element-ng/menu/si-menu-model.ts#L29-L29>) | `"group"` |  |

### [MenuItemRadioGroup](<https://github.com/siemens/element/blob/main/projects/element-ng/menu/si-menu-model.ts#L64-L68>)

**Kind:** interface

```
import type { MenuItemRadioGroup } from '@siemens/element-ng/menu';
```

```
interface MenuItemRadioGroup
```

#### Properties

| Name | Type | Description |
| --- | --- | --- |
| [children](<https://github.com/siemens/element/blob/main/projects/element-ng/menu/si-menu-model.ts#L67-L67>) | `[MenuItemHeader, ...(MenuItemRadio \| MenuItemHeader \| MenuDivider)[]]` | Items that are part of the radio group. |
| [type](<https://github.com/siemens/element/blob/main/projects/element-ng/menu/si-menu-model.ts#L65-L65>) | `"radio-group"` |  |

### [MenuItemRadio](<https://github.com/siemens/element/blob/main/projects/element-ng/menu/si-menu-model.ts#L70-L79>)

**Kind:** interface

```
import type { MenuItemRadio } from '@siemens/element-ng/menu';
```

```
interface MenuItemRadio extends MenuItemBase
```

#### Properties

| Name | Type | Description |
| --- | --- | --- |
| [action](<https://github.com/siemens/element/blob/main/projects/element-ng/menu/si-menu-model.ts#L78-L78>) | `string \| ((actionParam: any, source: MenuItemRadio) => void)` | Action that called when the item is triggered. A function will be called, a string will be dispatched to the [SiMenuActionService](<../../../api/siemens/element-ng/types/SiMenuActionService/index.html#t:SiMenuActionService>). |
| [badge](<https://github.com/siemens/element/blob/main/projects/element-ng/menu/si-menu-model.ts#L21-L21>) (optional, inherited) | `string \| number` | Badge that is rendered after the label.<br><br>Inherited from [MenuItemBase](<index.html#t:MenuItemBase>) |
| [badgeColor](<https://github.com/siemens/element/blob/main/projects/element-ng/menu/si-menu-model.ts#L23-L23>) (optional, inherited) | `string` | Color of the badge (not iconBadge).<br><br>Inherited from [MenuItemBase](<index.html#t:MenuItemBase>) |
| [checked](<https://github.com/siemens/element/blob/main/projects/element-ng/menu/si-menu-model.ts#L73-L73>) | `boolean` | Whether the radio is checked. |
| [disabled](<https://github.com/siemens/element/blob/main/projects/element-ng/menu/si-menu-model.ts#L25-L25>) (optional, inherited) | `boolean` | Whether the menu item id disabled.<br><br>Inherited from [MenuItemBase](<index.html#t:MenuItemBase>) |
| [icon](<https://github.com/siemens/element/blob/main/projects/element-ng/menu/si-menu-model.ts#L14-L14>) (optional, inherited) | `string` | Optional icon that will be rendered before the label.<br><br>Inherited from [MenuItemBase](<index.html#t:MenuItemBase>) |
| [iconBadge](<https://github.com/siemens/element/blob/main/projects/element-ng/menu/si-menu-model.ts#L19-L19>) (optional, inherited) | `string \| number \| boolean` | Badge (always red) that is attached to the icon. If value===true, an empty red dot will be rendered.<br><br>Inherited from [MenuItemBase](<index.html#t:MenuItemBase>) |
| [id](<https://github.com/siemens/element/blob/main/projects/element-ng/menu/si-menu-model.ts#L10-L10>) (optional, inherited) | `string` | ID that will be attached to the DOM node.<br><br>Inherited from [MenuItemBase](<index.html#t:MenuItemBase>) |
| [label](<https://github.com/siemens/element/blob/main/projects/element-ng/menu/si-menu-model.ts#L12-L12>) (inherited) | `TranslatableString` | Label that is shown to the user.<br><br>Inherited from [MenuItemBase](<index.html#t:MenuItemBase>) |
| [type](<https://github.com/siemens/element/blob/main/projects/element-ng/menu/si-menu-model.ts#L71-L71>) | `"radio"` |  |

### [MenuItemHeader](<https://github.com/siemens/element/blob/main/projects/element-ng/menu/si-menu-model.ts#L92-L96>)

**Kind:** interface

```
import type { MenuItemHeader } from '@siemens/element-ng/menu';
```

```
interface MenuItemHeader
```

#### Properties

| Name | Type | Description |
| --- | --- | --- |
| [label](<https://github.com/siemens/element/blob/main/projects/element-ng/menu/si-menu-model.ts#L95-L95>) | `string` | The label of the header. |
| [type](<https://github.com/siemens/element/blob/main/projects/element-ng/menu/si-menu-model.ts#L93-L93>) | `"header"` |  |

### [MenuDivider](<https://github.com/siemens/element/blob/main/projects/element-ng/menu/si-menu-model.ts#L98-L100>)

**Kind:** interface

```
import type { MenuDivider } from '@siemens/element-ng/menu';
```

```
interface MenuDivider
```

#### Properties

| Name | Type | Description |
| --- | --- | --- |
| [type](<https://github.com/siemens/element/blob/main/projects/element-ng/menu/si-menu-model.ts#L99-L99>) | `"divider"` |  |

### [MenuItemBase](<https://github.com/siemens/element/blob/main/projects/element-ng/menu/si-menu-model.ts#L8-L26>)

**Kind:** interface

```
import type { MenuItemBase } from '@siemens/element-ng/menu';
```

```
interface MenuItemBase
```

#### Properties

| Name | Type | Description |
| --- | --- | --- |
| [badge](<https://github.com/siemens/element/blob/main/projects/element-ng/menu/si-menu-model.ts#L21-L21>) (optional) | `string \| number` | Badge that is rendered after the label. |
| [badgeColor](<https://github.com/siemens/element/blob/main/projects/element-ng/menu/si-menu-model.ts#L23-L23>) (optional) | `string` | Color of the badge (not iconBadge). |
| [disabled](<https://github.com/siemens/element/blob/main/projects/element-ng/menu/si-menu-model.ts#L25-L25>) (optional) | `boolean` | Whether the menu item id disabled. |
| [icon](<https://github.com/siemens/element/blob/main/projects/element-ng/menu/si-menu-model.ts#L14-L14>) (optional) | `string` | Optional icon that will be rendered before the label. |
| [iconBadge](<https://github.com/siemens/element/blob/main/projects/element-ng/menu/si-menu-model.ts#L19-L19>) (optional) | `string \| number \| boolean` | Badge (always red) that is attached to the icon. If value===true, an empty red dot will be rendered. |
| [id](<https://github.com/siemens/element/blob/main/projects/element-ng/menu/si-menu-model.ts#L10-L10>) (optional) | `string` | ID that will be attached to the DOM node. |
| [label](<https://github.com/siemens/element/blob/main/projects/element-ng/menu/si-menu-model.ts#L12-L12>) | `TranslatableString` | Label that is shown to the user. |
