# Cards

A card is a content container to display important and useful information, e.g. trend charts, key data etc.

## Usage

![Card](<../images/card.png>)

### When to use

- To cluster information.

### Best practices

- Only include the most relevant information.
- Set an appropriate size (height and width) of the card to give the content the space needed to convey the information.

## Design

### Elements

![Basic card elements](<../images/card-usage-construction.png>)

**1\. Header (optional):** Card header contains a title and an optional [content action bar](<https://element.siemens.io/components/buttons-menus/content-actions/>). **2\. Content area:** The main area of the card. It can contain any type of content, such as text, graphs, tables.

Cards can also be displayed as outline, without a background. Use this variant when the content should visually blend with the page background while still being grouped as a card.

![Card outline](<../images/card-outline.png>)

### Images

Cards can include an image and be placed either vertically or horizontally.

![Card images](<../images/card-image.png>)

### Accent line

An accent line can be used to highlight general, non-critical information. This approach should be reserved for cases where it improves clarity or reinforces the card's purpose.

To prevent overuse and maintain its impact, the accent line should be applied selectively rather than to every card. Use distinct colors, such as `$element-ui-0`, to emphasize information without implying urgency.

![Card accent line](<../images/card-accent-line.png>)

For status indication, refer to the [value widget](<https://element.siemens.io/components/dashboards/value-widget/>).

### Action cards

Action cards are interactive elements where the entire container is selectable and triggers a single action. They support hover, pressed, focus, and disabled states. They can also retain a selection state, behaving like a toggle.

Action cards do not include other interactive elements to prevent conflicting interactions.

![Action cards](<../images/card-action.png>)

### Card sizes

![Card sizes](<../images/card-usage-sizes.png>)

To ensure an aligned visual grid and proper aesthetic of dashboards, card sizes follow the underlying 12 column grid of the work area. The card can span over 3, 4, 6, 9 or 12 columns.

![Card grid](<../images/card-usage-grid.png>)

The card's width is defined by a horizontal grid system. The necessary height is primarily driven by the content. For visual aesthetic and reordering reasons, the number of height-sizes should be kept low and consistent.

### Full-screen view

Cards can be enlarged via the content action menu to get more detailed information. The card then uses the whole working area. This makes sure that primary navigation, statusbar, notifications or other important information for the users are still accessible. Dashboard wide settings like e.g. time-range filter shall not be visible. If `Expand` is the only content action, then the expand icon is directly accessible, otherwise it will be part of the content actions list.

### Responsive behavior

With the column grid system in place, cards will first vary their width within certain breakpoints. As the screen size gets smaller and smaller cards will be stacked more and more.

## Code

Cards support various content structures to organize information effectively. Choose the appropriate pattern based on your content needs.

Below are examples of what’s supported. Consumer can either choose to use a pure CSS approach or the [SiCardComponent](<https://element.siemens.io/components/layout-navigation/cards/#sicardcomponent>).

For the maximize/restore functionality to work correctly the cards container/working area needs to have `position: relative;`.

### SiCardComponent

```
import { SiCardComponent } from '@siemens/element-ng/card';

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

The `si-card` component makes use of the card classes. The header is configurable by input properties (see API). A header icon and the card body are provided using content projection, with the selectors `headerIcon` and `body`.

When using header icon, make sure to include spacing between the icon and the heading. In addition, the heading and text within the body should be left aligned.

Try to avoid content overflows in cards. In case of overflows, make sure the scrollbar is placed on the edge of the card and padding is set internally.

#### Example

Component:

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

@Component({
  selector: 'app-sample',
  imports: [SiCardComponent, SiIconComponent],
  templateUrl: './si-card.html',
  styles: `
    .card-size {
      height: 250px;
    }
  `
})
export class SampleComponent {
  logEvent = inject(LOG_EVENT);

  enablePrimaryActions = true;
  enableSecondaryActions = true;

  primaryItems: ContentActionBarMainItem[] = [
    { type: 'action', label: 'Settings', action: () => this.logEvent('Settings clicked') },
    { type: 'action', label: 'Copy', action: () => this.logEvent('Copy clicked') },
    { type: 'action', label: 'Delete', action: () => this.logEvent('Delete clicked') }
  ];

  secondaryItems: MenuItem[] = [
    { type: 'action', label: 'Settings', action: () => this.logEvent('Settings clicked') },
    { type: 'action', label: 'Copy', action: () => this.logEvent('Copy clicked') }
  ];

  primaryActions: ContentActionBarMainItem[];
  secondaryActions: MenuItem[];

  constructor() {
    this.primaryActions = this.primaryItems;
    this.secondaryActions = this.secondaryItems;
  }

  toggleEnablePrimaryActions(): void {
    this.enablePrimaryActions = !this.enablePrimaryActions;
    if (this.enablePrimaryActions) {
      this.primaryActions = this.primaryItems;
    } else {
      this.primaryActions = [];
    }
  }

  toggleEnableSecondaryActions(): void {
    this.enableSecondaryActions = !this.enableSecondaryActions;
    if (this.enableSecondaryActions) {
      this.secondaryActions = this.secondaryItems;
    } else {
      this.secondaryActions = [];
    }
  }
}
```

Template:

```html
<div class="p-6">
  <div class="position-relative w-100 border p-6">
    <div class="row">
      <div class="col mb-6">
        <si-card
          class="card-size"
          heading="Natural Gas Usage"
          subHeading="Shows the usage of natural gas"
          [primaryActions]="primaryActions"
          [secondaryActions]="secondaryActions"
        >
          <p class="card-body card-text" body>
            Some quick example text to build on the card title and make up the bulk of the card's
            content.
          </p>
        </si-card>
      </div>
      <div class="col mb-6">
        <si-card class="card-size" heading="Fire">
          <si-icon headerIcon icon="element-fire" class="icon me-3" />
          <div body class="card-body card-text">
            <p class="ms-9">Too much wood is burning in the hot summer.</p>
            <div class="d-flex">
              <si-icon icon="element-fire-sensor" class="icon me-3" />
              <p>Use Siemens sensors to detect fire and save the planet.</p>
            </div>
          </div>
        </si-card>
      </div>
      <div class="col mb-6">
        <si-card
          #card
          class="card-size"
          heading="Overflows"
          [primaryActions]="primaryActions"
          [secondaryActions]="secondaryActions"
        >
          <div body class="card-body card-text overflow-auto" tabindex="0">
            Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vestibulum nec ornare nunc,
            quis feugiat ex. Vivamus mollis nisi at dapibus vehicula. Curabitur dui ante, interdum
            pharetra hendrerit vel, efficitur in erat. Phasellus porttitor molestie orci, vel
            consectetur ipsum commodo eget. Pellentesque ac gravida mi, id vehicula purus. Sed
            egestas nisl est, eget faucibus velit hendrerit vulputate. Aenean et pretium enim, in
            facilisis est. Nam luctus felis ut auctor sollicitudin. Donec elementum nec lorem vitae
            scelerisque. Mauris elementum metus diam, sit amet ornare mi rhoncus sit amet. Nulla
            semper scelerisque molestie. Cras et purus et nisi interdum maximus sed et leo. Mauris
            bibendum hendrerit nunc, sed malesuada augue.
            <br /><br />
            Ut porttitor quam in lacinia sodales. Cras pellentesque feugiat sem, non tincidunt
            mauris mollis vitae. Praesent eleifend condimentum nisi. Quisque fringilla feugiat
            ornare. Nunc interdum lacinia felis. Duis molestie metus velit, a vestibulum eros
            blandit in. Donec ut erat posuere, ornare elit a, gravida magna. Pellentesque porta
            lacinia nisi eget bibendum. Nulla facilisi. Vestibulum fermentum ligula vitae mattis
            placerat. Nunc quis enim nec urna vehicula cursus id vel sem.
            <br /><br />
            Nunc luctus facilisis aliquam. Quisque vehicula imperdiet mauris, nec consectetur erat.
            Integer ullamcorper finibus lectus, eu faucibus nunc scelerisque id. Pellentesque in
            massa convallis, commodo turpis et, egestas sem. Sed in iaculis velit. Nam volutpat
            magna ac justo accumsan venenatis. Duis semper posuere magna vitae tincidunt. Nulla id
            faucibus ipsum. Morbi a orci in elit malesuada laoreet sed ac massa. Pellentesque
            habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas.
            Maecenas sit amet massa lorem. Quisque mollis dui nec ipsum sollicitudin commodo.
            <br /><br />
            Donec pulvinar enim a erat maximus tempor. Maecenas ultrices gravida rutrum. Vivamus
            ornare leo id quam tincidunt iaculis. Aenean eget neque a augue faucibus pharetra et
            quis velit. Nulla facilisi. Vivamus massa nisl, consectetur et vehicula id, varius quis
            nulla. Aliquam bibendum interdum erat, vitae rutrum dui dapibus ac.
            <br /><br />
            Ut suscipit sodales arcu. Vivamus lacinia, augue et efficitur tincidunt, ligula sem
            iaculis odio, ac tincidunt ligula ex quis erat. Donec laoreet imperdiet arcu. Orci
            varius natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Donec
            ultricies orci magna, eu consequat ex viverra rhoncus. Aliquam sodales eu urna et
            finibus. Vivamus fermentum turpis et dictum lobortis. Suspendisse pulvinar mauris ac leo
            interdum posuere. Integer porttitor augue laoreet, luctus erat vitae, varius purus.
          </div>
        </si-card>
      </div>
    </div>
    <div class="row">
      <div class="col mb-6">
        <si-card
          class="card-size"
          heading="Natural Gas Usage"
          imgSrc="assets/images/beach.jpg"
          imgDir="horizontal"
          imgAlt="Beach in Greece"
          imgObjectFit="cover"
          [primaryActions]="primaryActions"
          [secondaryActions]="secondaryActions"
        >
          <ul class="list list-divider overflow-auto" tabindex="0" body>
            <li class="list-item">Cras justo odio</li>
            <li class="list-item">Dapibus ac facilisis in</li>
            <li class="list-item">Morbi leo risus</li>
            <li class="list-item">Porta ac consectetur ac</li>
            <li class="list-item">Vestibulum at eros</li>
            <li class="list-item">Porta ac consectetur ac</li>
            <li class="list-item">Vestibulum at eros</li>
          </ul>
        </si-card>
      </div>
      <div class="col mb-6">
        <si-card class="card-size" heading="Fire">
          <si-icon headerIcon class="icon me-3" icon="element-fire" />

          <div body class="card-body card-text">
            <p class="ms-9">Too much wood is burning in the hot summer.</p>
            <div class="d-flex">
              <si-icon class="icon me-3" icon="element-fire-sensor" />
              <p>Use Siemens sensors to detect fire and save the planet.</p>
            </div>
          </div>
        </si-card>
      </div>
      <div class="col mb-6">
        <si-card
          #card
          class="card-size"
          heading="Overflows"
          imgSrc="assets/images/beach.jpg"
          imgDir="vertical"
          imgAlt="Beach in Greece"
          imgObjectFit="cover"
          [primaryActions]="primaryActions"
          [secondaryActions]="secondaryActions"
        >
          <div body class="card-body card-text overflow-auto" tabindex="0">
            Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vestibulum nec ornare nunc,
            quis feugiat ex. Vivamus mollis nisi at dapibus vehicula. Curabitur dui ante, interdum
            pharetra hendrerit vel, efficitur in erat. Phasellus porttitor molestie orci, vel
            consectetur ipsum commodo eget. Pellentesque ac gravida mi, id vehicula purus. Sed
            egestas nisl est, eget faucibus velit hendrerit vulputate. Aenean et pretium enim, in
            facilisis est. Nam luctus felis ut auctor sollicitudin. Donec elementum nec lorem vitae
            scelerisque. Mauris elementum metus diam, sit amet ornare mi rhoncus sit amet. Nulla
            semper scelerisque molestie. Cras et purus et nisi interdum maximus sed et leo. Mauris
            bibendum hendrerit nunc, sed malesuada augue.
            <br /><br />
            Ut porttitor quam in lacinia sodales. Cras pellentesque feugiat sem, non tincidunt
            mauris mollis vitae. Praesent eleifend condimentum nisi. Quisque fringilla feugiat
            ornare. Nunc interdum lacinia felis. Duis molestie metus velit, a vestibulum eros
            blandit in. Donec ut erat posuere, ornare elit a, gravida magna. Pellentesque porta
            lacinia nisi eget bibendum. Nulla facilisi. Vestibulum fermentum ligula vitae mattis
            placerat. Nunc quis enim nec urna vehicula cursus id vel sem.
            <br /><br />
            Nunc luctus facilisis aliquam. Quisque vehicula imperdiet mauris, nec consectetur erat.
            Integer ullamcorper finibus lectus, eu faucibus nunc scelerisque id. Pellentesque in
            massa convallis, commodo turpis et, egestas sem. Sed in iaculis velit. Nam volutpat
            magna ac justo accumsan venenatis. Duis semper posuere magna vitae tincidunt. Nulla id
            faucibus ipsum. Morbi a orci in elit malesuada laoreet sed ac massa. Pellentesque
            habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas.
            Maecenas sit amet massa lorem. Quisque mollis dui nec ipsum sollicitudin commodo.
            <br /><br />
            Donec pulvinar enim a erat maximus tempor. Maecenas ultrices gravida rutrum. Vivamus
            ornare leo id quam tincidunt iaculis. Aenean eget neque a augue faucibus pharetra et
            quis velit. Nulla facilisi. Vivamus massa nisl, consectetur et vehicula id, varius quis
            nulla. Aliquam bibendum interdum erat, vitae rutrum dui dapibus ac.
            <br /><br />
            Ut suscipit sodales arcu. Vivamus lacinia, augue et efficitur tincidunt, ligula sem
            iaculis odio, ac tincidunt ligula ex quis erat. Donec laoreet imperdiet arcu. Orci
            varius natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Donec
            ultricies orci magna, eu consequat ex viverra rhoncus. Aliquam sodales eu urna et
            finibus. Vivamus fermentum turpis et dictum lobortis. Suspendisse pulvinar mauris ac leo
            interdum posuere. Integer porttitor augue laoreet, luctus erat vitae, varius purus.
          </div>
        </si-card>
      </div>
    </div>
  </div>
  <div class="mt-2 e2e-ignore">
    <div class="form-check mb-2">
      <input
        type="checkbox"
        class="form-check-input"
        id="enable-primary-actions"
        checked
        (click)="toggleEnablePrimaryActions()"
      />
      <label class="form-check-label" for="enable-primary-actions">Enable primary actions</label>
    </div>
    <div class="form-check mb-2">
      <input
        type="checkbox"
        class="form-check-input"
        id="enable-secondary-actions"
        checked
        (click)="toggleEnableSecondaryActions()"
      />
      <label class="form-check-label" for="enable-secondary-actions">
        Enable secondary actions
      </label>
    </div>
  </div>
</div>
```

### [SiCardComponent](<https://github.com/siemens/element/blob/main/projects/element-ng/card/si-card.component.ts#L20-L60>)

**Kind:** component

**Selector:** `si-card`

```
import { SiCardComponent } from '@siemens/element-ng/card';
```

```
component SiCardComponent extends SiCardBaseDirective
```

#### Input Properties

| Name | Type | Default | Description |
| --- | --- | --- | --- |
| [actionBarTitle](<https://github.com/siemens/element/blob/main/projects/element-ng/card/si-card.component.ts#L53-L53>) | `TranslatableString` | `''` | Optional setting of html title attribute for the content action bar. Helpful for a11y when only one action is configured in expand mode. |
| [actionBarViewType](<https://github.com/siemens/element/blob/main/projects/element-ng/card/si-card.component.ts#L46-L46>) | `ViewType` | `'collapsible'` | The view type of the content action bar of the card. Default is `collapsible` for dashboards. However, in some cases you might need to change to `expanded` or `mobile`. |
| [actionParam](<https://github.com/siemens/element/blob/main/projects/element-ng/card/si-card.component.ts#L38-L38>) | `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. |
| [heading](<https://github.com/siemens/element/blob/main/projects/element-ng/card/si-card-base.directive.ts#L20-L20>) (inherited) | `TranslatableString \| undefined` |  | Card header text.<br><br>Inherited from `SiCardBaseDirective` |
| [imgAlt](<https://github.com/siemens/element/blob/main/projects/element-ng/card/si-card-base.directive.ts#L32-L32>) (inherited) | `TranslatableString \| undefined` |  | Alt text for a provided image.<br><br>Inherited from `SiCardBaseDirective` |
| [imgDir](<https://github.com/siemens/element/blob/main/projects/element-ng/card/si-card-base.directive.ts#L38-L38>) (inherited) | `"horizontal" \| "vertical" \| undefined` | `'vertical'` | Defines if an image is placed on top or start (left) of the card.<br><br>Inherited from `SiCardBaseDirective` |
| [imgObjectFit](<https://github.com/siemens/element/blob/main/projects/element-ng/card/si-card-base.directive.ts#L44-L46>) (inherited) | `"fill" \| "contain" \| "cover" \| "none" \| "scale-down" \| undefined` | `'scale-down'` | Sets the image [object-fit](<https://developer.mozilla.org/en-US/docs/Web/CSS/object-fit>) CSS property.<br><br>Inherited from `SiCardBaseDirective` |
| [imgObjectPosition](<https://github.com/siemens/element/blob/main/projects/element-ng/card/si-card-base.directive.ts#L50-L50>) (inherited) | `string \| undefined` |  | Sets the image [object-position](<https://developer.mozilla.org/en-US/docs/Web/CSS/object-position>) CSS property.<br><br>Inherited from `SiCardBaseDirective` |
| [imgSrc](<https://github.com/siemens/element/blob/main/projects/element-ng/card/si-card-base.directive.ts#L28-L28>) (inherited) | `string \| undefined` |  | Image source for the card.<br><br>Inherited from `SiCardBaseDirective` |
| [primaryActions](<https://github.com/siemens/element/blob/main/projects/element-ng/card/si-card.component.ts#L26-L26>) | `(MenuItem \| ContentActionBarMainItem)[]` | `[]` | Input list of primary action items. Supports up to **4** actions and omits additional ones. |
| [secondaryActions](<https://github.com/siemens/element/blob/main/projects/element-ng/card/si-card.component.ts#L32-L32>) | `(MenuItem \| MenuItem)[]` | `[]` | Input list of secondary action items. |
| [subHeading](<https://github.com/siemens/element/blob/main/projects/element-ng/card/si-card-base.directive.ts#L24-L24>) (inherited) | `TranslatableString \| undefined` |  | Card secondary header text.<br><br>Inherited from `SiCardBaseDirective` |

#### Attributes and Methods

##### displayContentActionBar

[Source for displayContentActionBar](<https://github.com/siemens/element/blob/main/projects/element-ng/card/si-card.component.ts#L57-L59>)

**Modifiers:** readonly

**Type:** `Signal<boolean>`

**Default:** `...`

Returns `true` when primary or secondary actions are set.

### Action cards

Action cards make the whole card interactive. Apply `si-action-card` to a native `<button>` element for actions or an `<a>` element for navigation.

- Use `<button si-action-card type="button">` to trigger actions, such as opening a dialog.
- Use `<a si-action-card>` with `href` for standard links or `routerLink` for Angular routes.

The `selectable` and `selected` inputs are supported only on button cards and must not be used on anchor cards. Use a `<button>` for selectable or disabled cards.

Use `routerLinkActive="selected"` to highlight the active route. Add `RouterLink` and `RouterLinkActive` from `@angular/router` to your component's `imports`.

```
<a
  si-action-card
  heading="Energy report"
  routerLink="/energy-report"
  routerLinkActive="selected"
  [routerLinkActiveOptions]="{ exact: true }"
  ariaCurrentWhenActive="page"
>
  <p class="card-body card-text" body>View the energy consumption summary.</p>
</a>
```

#### Example

Component:

```typescript
/**
 * Copyright (c) Siemens 2016 - 2026
 * SPDX-License-Identifier: MIT
 */
import { Component, inject } from '@angular/core';
import { RouterLink, RouterOutlet } from '@angular/router';
import { SiActionCardComponent } from '@siemens/element-ng/card';
import { SiIconComponent } from '@siemens/element-ng/icon';
import { LOG_EVENT, provideExampleRoutes } from '@siemens/live-preview';

@Component({
  template: '<p class="mb-0">Energy report opened using Angular routing.</p>'
})
export class EnergyReportComponent {}

@Component({
  selector: 'app-sample',
  imports: [RouterLink, RouterOutlet, SiActionCardComponent, SiIconComponent],
  templateUrl: './si-action-card.html',
  styles: `
    .card {
      inline-size: 100%;
      block-size: 100%;
    }
  `,
  providers: [provideExampleRoutes([{ path: 'energy-report', component: EnergyReportComponent }])]
})
export class SampleComponent {
  private readonly log = inject(LOG_EVENT);

  protected onCardClick(cardId: string): void {
    this.log('Card clicked:', cardId);
  }

  protected onCardSelect(state: boolean, cardId: string): void {
    if (state) {
      this.log('Card selected:', cardId);
    } else {
      this.log('Card deselected:', cardId);
    }
  }
}
```

Template:

```html
<div class="p-6">
  <h4 class="mb-4">Action cards (clickable)</h4>
  <div class="row">
    <div class="col-12 col-md-4 mb-6">
      <button
        si-action-card
        type="button"
        heading="Energy report"
        (click)="onCardClick('energy-report')"
      >
        <si-icon headerIcon icon="element-report" class="icon me-3" />
        <p class="card-body card-text" body> View this week's energy consumption summary. </p>
      </button>
    </div>
    <div class="col-12 col-md-4 mb-6">
      <button
        si-action-card
        type="button"
        class="accent-info"
        heading="System settings"
        (click)="onCardClick('system-settings')"
      >
        <si-icon headerIcon icon="element-settings" class="icon me-3" />
        <p class="card-body card-text" body> Configure thresholds, alarms and schedules. </p>
      </button>
    </div>
    <div class="col-12 col-md-4 mb-6">
      <button
        si-action-card
        type="button"
        disabled
        heading="Export data"
        (click)="onCardClick('export-data')"
      >
        <si-icon headerIcon icon="element-export" class="icon me-3" />
        <p class="card-body card-text" body> Download the latest measurements as a CSV file. </p>
      </button>
    </div>
  </div>

  <h4 class="mt-6 mb-4">Action cards (toggle selection)</h4>
  <div class="row">
    <div class="col-12 col-md-4 mb-6">
      <button
        si-action-card
        type="button"
        selectable
        heading="Meeting room A1.01"
        (selectedChange)="onCardSelect($event, 'room-a101')"
      >
        <si-icon headerIcon icon="element-room" class="icon me-3" />
        <p class="card-body card-text" body>Floor 1 &middot; 12 seats</p>
      </button>
    </div>
    <div class="col-12 col-md-4 mb-6">
      <button
        si-action-card
        type="button"
        class="accent-info"
        selectable
        heading="Meeting room A1.02"
        (selectedChange)="onCardSelect($event, 'room-a102')"
      >
        <si-icon headerIcon icon="element-room" class="icon me-3" />
        <p class="card-body card-text" body>Floor 1 &middot; 8 seats</p>
      </button>
    </div>
    <div class="col-12 col-md-4 mb-6">
      <button
        si-action-card
        type="button"
        selectable
        disabled
        heading="Meeting room A1.03"
        (selectedChange)="onCardSelect($event, 'room-a103')"
      >
        <si-icon headerIcon icon="element-room" class="icon me-3" />
        <p class="card-body card-text" body>Floor 1 &middot; 6 seats</p>
      </button>
    </div>
  </div>

  <h4 class="mt-6 mb-4">Action cards (navigation)</h4>
  <div class="row">
    <div class="col-12 col-md-4 mb-6">
      <a
        si-action-card
        href="https://element.siemens.io/"
        target="_blank"
        rel="noopener noreferrer"
        heading="Element documentation"
        subHeading="Opens in a new tab"
      >
        <si-icon headerIcon icon="element-link" class="icon me-3" />
        <p class="card-body card-text" body>Read the Element guides and component documentation.</p>
      </a>
    </div>
    <div class="col-12 col-md-4 mb-6">
      <a
        si-action-card
        class="accent-info"
        href="https://github.com/siemens/element"
        target="_blank"
        rel="noopener noreferrer"
        heading="Element source code"
        subHeading="Opens in a new tab"
      >
        <si-icon headerIcon icon="element-link" class="icon me-3" />
        <p class="card-body card-text" body>Browse the source code and contribute on GitHub.</p>
      </a>
    </div>
    <div class="col-12 col-md-4 mb-6">
      <a si-action-card routerLink="energy-report" heading="Energy report (router link)">
        <si-icon headerIcon icon="element-report" class="icon me-3" />
        <p class="card-body card-text" body>Navigate to the energy report using Angular routing.</p>
      </a>
    </div>
  </div>
  <router-outlet />
</div>
```

### [SiActionCardComponent](<https://github.com/siemens/element/blob/main/projects/element-ng/card/si-action-card.component.ts#L44-L65>)

**Kind:** component

**Selector:** `button[si-action-card], a[si-action-card]`

```
import { SiActionCardComponent } from '@siemens/element-ng/card';
```

An action card component that supports actions and selection on native buttons, and navigation on native anchors.

**Important:** The `selectable` and `selected` inputs are supported only on button action cards. Do not use them with an anchor.

Usage: as a selectable button card: `<button si-action-card selectable type="button" [(selected)]="isSelected">...</button>`

or as an action button card: `<button si-action-card type="button" (click)="doSomeAction()">...</button>`

or as a navigation card: `<a si-action-card href="/details">...</a>` `<a si-action-card routerLink="/details" routerLinkActive="selected">...</a>`

```
component SiActionCardComponent extends SiCardBaseDirective
```

#### Input Properties

| Name | Type | Default | Description |
| --- | --- | --- | --- |
| [heading](<https://github.com/siemens/element/blob/main/projects/element-ng/card/si-card-base.directive.ts#L20-L20>) (inherited) | `TranslatableString \| undefined` |  | Card header text.<br><br>Inherited from `SiCardBaseDirective` |
| [imgAlt](<https://github.com/siemens/element/blob/main/projects/element-ng/card/si-card-base.directive.ts#L32-L32>) (inherited) | `TranslatableString \| undefined` |  | Alt text for a provided image.<br><br>Inherited from `SiCardBaseDirective` |
| [imgDir](<https://github.com/siemens/element/blob/main/projects/element-ng/card/si-card-base.directive.ts#L38-L38>) (inherited) | `"horizontal" \| "vertical" \| undefined` | `'vertical'` | Defines if an image is placed on top or start (left) of the card.<br><br>Inherited from `SiCardBaseDirective` |
| [imgObjectFit](<https://github.com/siemens/element/blob/main/projects/element-ng/card/si-card-base.directive.ts#L44-L46>) (inherited) | `"fill" \| "contain" \| "cover" \| "none" \| "scale-down" \| undefined` | `'scale-down'` | Sets the image [object-fit](<https://developer.mozilla.org/en-US/docs/Web/CSS/object-fit>) CSS property.<br><br>Inherited from `SiCardBaseDirective` |
| [imgObjectPosition](<https://github.com/siemens/element/blob/main/projects/element-ng/card/si-card-base.directive.ts#L50-L50>) (inherited) | `string \| undefined` |  | Sets the image [object-position](<https://developer.mozilla.org/en-US/docs/Web/CSS/object-position>) CSS property.<br><br>Inherited from `SiCardBaseDirective` |
| [imgSrc](<https://github.com/siemens/element/blob/main/projects/element-ng/card/si-card-base.directive.ts#L28-L28>) (inherited) | `string \| undefined` |  | Image source for the card.<br><br>Inherited from `SiCardBaseDirective` |
| [selectable](<https://github.com/siemens/element/blob/main/projects/element-ng/card/si-action-card.component.ts#L52-L54>) | `boolean` | `false` | Makes a button action card selectable. |
| [selected](<https://github.com/siemens/element/blob/main/projects/element-ng/card/si-action-card.component.ts#L60-L60>) | `boolean` | `false` | Indicates whether a selectable button action card is selected. |
| [subHeading](<https://github.com/siemens/element/blob/main/projects/element-ng/card/si-card-base.directive.ts#L24-L24>) (inherited) | `TranslatableString \| undefined` |  | Card secondary header text.<br><br>Inherited from `SiCardBaseDirective` |

#### Output Properties

| Name | Type | Description |
| --- | --- | --- |
| [selectedChange](<https://github.com/siemens/element/blob/main/projects/element-ng/card/si-action-card.component.ts#L60-L60>) | `boolean` | Indicates whether a selectable button action card is selected. |

### Outline cards

Outline cards are a variation of cards with a border and no background color. Every card can be turned into an outline card by adding the `.card-outline` class to the card container.

```
<si-card class="card-outline"> ... </si-card>
```

#### Example

Component:

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

@Component({
  selector: 'app-sample',
  imports: [SiActionCardComponent, SiCardComponent],
  templateUrl: './card-variants.html'
})
export class SampleComponent {
  private readonly logEvent = inject(LOG_EVENT);

  primaryActions: ContentActionBarMainItem[] = [
    { type: 'action', label: 'Settings', action: () => this.logEvent('Settings clicked') }
  ];
}
```

Template:

```html
<div class="p-6">
  <div class="position-relative w-100 border p-6">
    <div class="row">
      <div class="col-sm-6 mb-6">
        <si-card class="card-size mb-6" heading="Normal" [primaryActions]="primaryActions">
          <div class="card-body" body>
            <p class="card-text"> Regular card with standard styling. </p>
          </div>
        </si-card>
        <button si-action-card type="button" class="card-size mb-6 w-100" heading="Action">
          <div class="card-body" body>
            <p class="card-text"> Action card with selectable styling. </p>
          </div>
        </button>
        <si-card class="card-size accent-info" heading="Accent">
          <div class="card-body" body>
            <p class="card-text"> Accent card with info marker. </p>
          </div>
        </si-card>
      </div>
      <div class="col-sm-6 mb-6">
        <si-card
          class="card-size card-outline mb-6"
          heading="Normal outline"
          [primaryActions]="primaryActions"
        >
          <div class="card-body" body>
            <p class="card-text"> Regular card with outline styling. </p>
          </div>
        </si-card>
        <button
          si-action-card
          type="button"
          class="card-size card-outline mb-6 w-100"
          heading="Action outline"
        >
          <div class="card-body" body>
            <p class="card-text"> Action card with outline styling. </p>
          </div>
        </button>
        <si-card class="card-size accent-info card-outline" heading="Accent outline">
          <div class="card-body" body>
            <p class="card-text"> Accent card with outline styling. </p>
          </div>
        </si-card>
      </div>
    </div>
  </div>
</div>
```

### Native HTML markup

The pure CSS approach structures a card into three distinct sections for optimal content organization:

- **Header (optional)**: Apply `.card-header` to `<h*>` elements or `<div>` for titles and top-level information
- **Body (required)**: Apply `.card-body` for the main content area with proper padding and spacing
- **Footer (optional)**: Apply `.card-footer` for additional information that sticks to the bottom

```
<div class="card">
  <div class="card-header">Card header</div>
  <div class="card-body">
    <h5 class="card-title">Special title treatment</h5>
    <p class="card-text">With supporting text below as a natural lead-in to additional content.</p>
  </div>
  <div class="card-footer">Card footer</div>
</div>
```

Style content elements like titles and text within cards using the semantic classes. Always place these elements inside a `.card-body` container for proper padding and alignment.

**Available content classes:**

| Class | Element | Purpose | Usage |
| --- | --- | --- | --- |
| `.card-title` | `<h1>` - `<h6>` | Primary heading | Main title or heading for the card content |
| `.card-subtitle` | `<h1>` - `<h6>` | Secondary heading | Supporting text below the main title, typically smaller and muted |
| `.card-text` | `<p>` | Body text | Main content paragraphs and descriptive text |

**Best practices:**

- Use `.card-title` for the most important heading in each card
- Apply `.card-subtitle` for supporting information that enhances the title
- Wrap body content in `.card-text` for consistent typography

```
<div class="card">
  <div class="card-body">
    <h5 class="card-title">Card title</h5>
    <h6 class="card-subtitle mb-2 text-secondary">Card subtitle</h6>
    <p class="card-text">
      Some quick example text to build on the card title and make up the bulk of the card’s content.
    </p>
  </div>
</div>
```

To properly integrate an image with a card, apply the `.card-img-top` or `.card-img-bottom` class to your `<img>` element. This automatically rounds the image's top or bottom corners to match the card's border radius.

```
<div class="card">
  <img src="..." class="card-img-top" alt="..." />
  <div class="card-body">
    <h5 class="card-title">Card title</h5>
    <p class="card-text">
      Some quick example text to build on the card title and make up the bulk of the card’s content.
    </p>
  </div>
</div>
```

Create organized lists within cards using the [list](<https://element.siemens.io/components/lists-tables-trees/list/>).

```
<div class="card">
  <ul class="list list-divider">
    <li class="list-item">An item</li>
    <li class="list-item">A second item</li>
    <li class="list-item">A third item</li>
  </ul>
</div>
```

Combine lists with card headers.

```
<div class="card">
  <div class="card-header">Header text</div>
  <ul class="list list-divider">
    <li class="list-item">An item</li>
    <li class="list-item">A second item</li>
    <li class="list-item">A third item</li>
  </ul>
</div>
```

Add footers to provide additional context or actions for list content.

```
<div class="card">
  <ul class="list list-divider">
    <li class="list-item">An item</li>
    <li class="list-item">A second item</li>
    <li class="list-item">A third item</li>
  </ul>
  <div class="card-footer">Card footer</div>
</div>
```

Cards assume no specific width to start, so they’ll be 100% wide unless otherwise stated. You can change this as needed with custom CSS, grid classes or utilities.

### Card layouts

Element provides different container patterns to organize and manage multiple cards effectively:

- **Card groups** - Connected cards with equal dimensions
- **Grid cards** - Flexible grid-based card arrangements

Card groups create cohesive card layouts where cards are connected and maintain equal dimensions. Ideal for showcasing related content side-by-side. All cards automatically match the height of the tallest card.

```
<div class="card-group">
  <div class="card">
    <div class="card-body">
      <p class="card-text">
        This is a wider card with supporting text below as a natural lead-in to additional content.
        This content is a little bit longer.
      </p>
    </div>
  </div>
  <div class="card">
    <div class="card-body">
      <p class="card-text">
        This card has supporting text below as a natural lead-in to additional content.
      </p>
    </div>
  </div>
</div>
```

When card groups include footers, they automatically align at the bottom regardless of content height differences.

```
<div class="card-group">
  <div class="card">
    <div class="card-body">
      <p class="card-text">
        This is a wider card with supporting text below as a natural lead-in to additional content.
        This content is a little bit longer.
      </p>
    </div>
    <div class="card-footer">
      <small class="text-disabled">Last updated 3 mins ago</small>
    </div>
  </div>
  <div class="card">
    <div class="card-body">
      <p class="card-text">
        This card has supporting text below as a natural lead-in to additional content.
      </p>
    </div>
    <div class="card-footer">
      <small class="text-disabled">Last updated 3 mins ago</small>
    </div>
  </div>
</div>
```

#### Example

Component:

```typescript
/**
 * Copyright (c) Siemens 2016 - 2026
 * SPDX-License-Identifier: MIT
 */
import { Component, inject } from '@angular/core';
import { SiCardComponent } from '@siemens/element-ng/card';
import { LOG_EVENT } from '@siemens/live-preview';

@Component({
  selector: 'app-sample',
  imports: [SiCardComponent],
  templateUrl: './card-group.html'
})
export class SampleComponent {
  logEvent = inject(LOG_EVENT);

  primaryActions = [
    { title: 'Settings', action: () => this.logEvent('Settings clicked') },
    { title: 'Copy', action: () => this.logEvent('Copy clicked') },
    { title: 'Delete', action: () => this.logEvent('Delete clicked') }
  ];

  secondaryActions = [
    { title: 'Settings', action: () => this.logEvent('Settings clicked') },
    { title: 'Copy', action: () => this.logEvent('Copy clicked') }
  ];
}
```

Template:

```html
<div class="p-6">
  <h4>Card group with markup</h4>
  <div class="card-group">
    <div class="card">
      <div class="card-header">Card 1</div>
      <div class="card-body">
        <h5 class="card-title">Card title</h5>
        <p class="card-text">
          This is a wider card with supporting text below as a natural lead-in to additional
          content. This content is a little bit longer.
        </p>
        <p class="card-text">
          <small class="text-secondary">Last updated 3 mins ago</small>
        </p>
      </div>
    </div>
    <div class="card">
      <div class="card-body">
        <h5 class="card-title">Card title</h5>
        <p class="card-text">
          This card has supporting text below as a natural lead-in to additional content.
        </p>
        <p class="card-text">
          <small class="text-secondary">Last updated 3 mins ago</small>
        </p>
      </div>
    </div>
    <div class="card">
      <div class="card-body">
        <h5 class="card-title">Card title</h5>
        <p class="card-text">
          This is a wider card with supporting text below as a natural lead-in to additional
          content. This card has even longer content than the first to show that equal height
          action.
        </p>
        <p class="card-text">
          <small class="text-secondary">Last updated 3 mins ago</small>
        </p>
      </div>
    </div>
  </div>
  <h5 class="mt-5">Card groups with footers which are automatically aligned</h5>

  <div class="card-group gap-5">
    <div class="card">
      <div class="card-body">
        <p class="card-text">
          This is a wider card with supporting text below as a natural lead-in to additional
          content. This content is a little bit longer.
        </p>
      </div>
      <div class="card-footer">
        <small class="text-secondary">Last updated 3 mins ago</small>
      </div>
    </div>
    <div class="card">
      <div class="card-body">
        <p class="card-text">
          This card has supporting text below as a natural lead-in to additional content.
        </p>
      </div>
      <div class="card-footer">
        <small class="text-secondary">Last updated 3 mins ago</small>
      </div>
    </div>
  </div>
  <h4 class="mt-8">Card group with si-card</h4>
  <div class="card-group">
    <si-card
      heading="Card 1"
      subHeading="Shows the content of card 1"
      [primaryActions]="primaryActions"
      [secondaryActions]="secondaryActions"
    />
    <si-card heading="Card 2">
      <div class="card-body" body>
        <p class="card-text">
          This card has supporting text below as a natural lead-in to additional content.
        </p>
        <p class="card-text">
          <small class="text-secondary">Last updated 3 mins ago</small>
        </p>
      </div>
    </si-card>
    <si-card heading="Card 3">
      <div class="card-body" body>
        This is a wider card with supporting text below as a natural lead-in to additional content.
        This card has even longer content than the first to show that equal height action.
      </div>
    </si-card>
  </div>
</div>
```

Use the grid system to create responsive card layouts. Wrap cards in columns and rows to control their positioning and spacing.

For example, here’s `.row-cols-1` laying out the cards on one column, and `.row-cols-md-2` splitting four cards to equal width across multiple rows, from the medium breakpoint up.

```
<div class="row row-cols-1 row-cols-md-2 g-4">
  <div class="col">
    <div class="card">
      <div class="card-body">
        <p class="card-text">
          This is a longer card with supporting text below as a natural lead-in to additional
          content. This content is a little bit longer.
        </p>
      </div>
    </div>
  </div>
  <div class="col">
    <div class="card">
      <div class="card-body">
        <p class="card-text">
          This is a longer card with supporting text below as a natural lead-in to additional
          content. This content is a little bit longer.
        </p>
      </div>
    </div>
  </div>
  <div class="col">
    <div class="card">
      <div class="card-body">
        <p class="card-text">
          This is a longer card with supporting text below as a natural lead-in to additional
          content.
        </p>
      </div>
    </div>
  </div>
  <div class="col">
    <div class="card">
      <div class="card-body">
        <p class="card-text">
          This is a longer card with supporting text below as a natural lead-in to additional
          content. This content is a little bit longer.
        </p>
      </div>
    </div>
  </div>
</div>
```

#### Example

Component:

```typescript
/**
 * Copyright (c) Siemens 2016 - 2026
 * SPDX-License-Identifier: MIT
 */
import { Component, inject } from '@angular/core';
import { SiCardComponent } from '@siemens/element-ng/card';
import { LOG_EVENT } from '@siemens/live-preview';

@Component({
  selector: 'app-sample',
  imports: [SiCardComponent],
  templateUrl: './card-grid.html'
})
export class SampleComponent {
  logEvent = inject(LOG_EVENT);

  primaryActions = [
    { title: 'Settings', action: () => this.logEvent('Settings clicked') },
    { title: 'Copy', action: () => this.logEvent('Copy clicked') },
    { title: 'Delete', action: () => this.logEvent('Delete clicked') }
  ];

  secondaryActions = [
    { title: 'Settings', action: () => this.logEvent('Settings clicked') },
    { title: 'Copy', action: () => this.logEvent('Copy clicked') }
  ];
}
```

Template:

```html
<div class="p-6">
  <h4>Card grid with markup</h4>
  <div class="row row-cols-1 row-cols-md-3">
    <div class="col mb-6">
      <div class="card h-100">
        <div class="card-header">Card header</div>
        <div class="card-body">
          <p class="card-text">
            This is a longer card with supporting text below as a natural lead-in to additional
            content. This content is a little bit longer.
          </p>
        </div>
      </div>
    </div>
    <div class="col mb-6">
      <div class="card h-100">
        <div class="card-header">Card header</div>
        <div class="card-body">
          <p class="card-text">
            This is a longer card with supporting text below as a natural lead-in to additional
            content. This content is a little bit longer.
          </p>
        </div>
      </div>
    </div>
    <div class="col mb-6">
      <div class="card h-100">
        <div class="card-header">Card header</div>
        <div class="card-body">
          <p class="card-text">
            This is a longer card with supporting text below as a natural lead-in to additional
            content.
          </p>
        </div>
      </div>
    </div>
    <div class="col h-100 mb-6">
      <div class="card">
        <div class="card-header">Card header</div>
        <div class="card-body">
          <p class="card-text">
            This is a longer card with supporting text below as a natural lead-in to additional
            content. This content is a little bit longer.
          </p>
        </div>
      </div>
    </div>
  </div>

  <h4 class="mt-8">Card grid with si-card</h4>
  <div class="row row-cols-1 row-cols-md-3">
    <div class="col mb-6">
      <si-card
        class="h-100"
        heading="Card 1"
        subHeading="Shows the content of card 1"
        [primaryActions]="primaryActions"
        [secondaryActions]="secondaryActions"
      >
        <div class="card-body" body></div>
      </si-card>
    </div>
    <div class="col mb-6">
      <si-card
        class="h-100"
        heading="Card 1"
        [primaryActions]="primaryActions"
        [secondaryActions]="secondaryActions"
      >
        <div class="card-body" body></div>
      </si-card>
    </div>
    <div class="col mb-6">
      <si-card class="h-100" heading="Card 2">
        <div class="card-body" body>
          <p class="card-text">
            This card has supporting text below as a natural lead-in to additional content.
          </p>
          <p class="card-text"><small class="text-secondary">Last updated 3 mins ago</small></p>
        </div>
      </si-card>
    </div>
    <div class="col mb-6">
      <si-card class="h-100" heading="Card 3">
        <div class="card-body" body>
          This is a wider card with supporting text below as a natural lead-in to additional
          content. This card has even longer content than the first to show that equal height
          action.
        </div>
      </si-card>
    </div>
  </div>
</div>
```

### 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](<../../../api/siemens/element-ng/components/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. |
