Dashboard¶
A dashboard is a visual representation of different data and information sources, that provides a summarized overview of multiple key performance indicators such as metrics, trends and other insights.
Usage¶
The purpose of a dashboard is helping users to monitor, measure and analyze relevant data from different sources in a at-a-glance fashion.
They provide a quick and easy way to track performance metrics and identify areas for improvement, enabling users to make informed decisions based on real-time data.

Dashboards vary significantly depending on the context in which they are used. Before starting to design a dashboard, it is important to understand the purpose and the goals it aims to achieve. This will help to identify the key metrics and information that need to be displayed.
Best practices¶
- Keep it simple. Avoid clutter caused by too much information or showing irrelevant metrics.
- Choose the right visualizations to represent the data. See the charts chapter.
- Use color to draw attention to important information. Avoid using too many different colors or using them in a way that is visually distracting.
- Use real-time data to ensure that the dashboard is up-to-date and provides the most recent information.
- Use consistent units throughout the dashboard to ensure that the data is easily comparable among itself.
- Use either global (affecting all widgets) or local (affecting only one widget) filters, not both simultaneously.
Design¶
Elements¶

- Title (optional): A brief and descriptive name of the whole dashboard.
- Dashboard options (optional): Is the area located just bellow the title that contains filters, menus and other interactive elements that allow users to perform actions affecting the whole dashboard.
- Content area: Is the main area of the dashboard where the actual data, charts, graphs and other visualizations are displayed.
Progressive disclosure¶
Avoid overwhelming users with all the information being display at once by revealing it gradually and as needed. When dealing with large amount of content, it is better to display a summary or overview of the data with the option to expand or drill down to see further details.

Layout¶
- Place the most important items in areas where the viewer's eye will naturally look first. In left-to-right/LTR languages, this is typically the top-left corner of the screen, followed by the center of the screen.
- Place related items close to each other. This helps to create visual groupings and organizes information for the viewer.
- Charts should be sized and proportioned based on their importance and relevance.
See the flexible dashboards chapter for dashboards with user customizable content.
Code¶
The SiDashboardModule consists of a SiDashboardComponent and the SiDashboardCardComponent. The SiDashboardCardComponent extends the SiCardComponent and adds expand and restore functionality. The dashboard works with content-projection slots to configure the layout, e.g. a Bootstrap grid.
The module has its own entry point to reduce the overall bundle size.
Usage¶
import {
SiDashboardCardComponent,
SiDashboardComponent
} from '@siemens/element-ng/dashboard';
@Component({
:
imports: [
:
SiDashboardCardComponent,
SiDashboardComponent,
:
]
})
Custom header¶
The heading input renders a plain page title. To show additional context like a description or page actions, project a custom header using the header attribute, as shown in the example above. The custom header replaces the default heading.
Build the custom header according to the page header guidelines using the .si-layout-header CSS classes. Add the .si-layout-top-element CSS class to the title to reserve space for the vertical navigation and the side panel in the mobile viewport.
<si-dashboard>
<div class="si-layout-header" header>
<h2 class="si-layout-title si-layout-top-element">Dashboard</h2>
<p class="si-layout-subtitle">Description</p>
<si-content-action-bar
class="si-layout-actions"
viewType="expanded"
[primaryActions]="pageActions"
/>
</div>
<ng-container menubar>...</ng-container>
<ng-container dashboard>...</ng-container>
</si-dashboard>
import { SiDashboardComponent } from '@siemens/element-ng/dashboard'; Input Properties¶
| Name | Type | Default | Description |
|---|---|---|---|
| enableExpandInteractions ¶ | boolean | false | Opt-in to enable expand interaction for all cards. |
| heading ¶ | TranslatableString | undefined | Heading for the dashboard page. To show a custom header instead, e.g. with a description or page actions, project it using the | |
| hideMenubar ¶ | boolean | false | Option to hide the menu bar. |
| sticky ¶ | boolean | true | Option to turn off the sticky behavior of the heading and menu bar. |
Attributes and Methods¶
| Name | Type | Default | Description |
|---|---|---|---|
| expand() ¶ | (card: SiDashboardCardComponent) => void | Expands the provided card to full size in the dashboard. Parameters
| |
| (readonly) isExpanded ¶ | boolean | false | Is |
| restore() ¶ | () => void | Restores the expanded card to it's previous position. |
import { SiDashboardCardComponent } from '@siemens/element-ng/dashboard'; Input Properties¶
| Name | Type | Default | Description |
|---|---|---|---|
| actionBarTitleinherited ¶ | TranslatableString | '' | Optional setting of html title attribute for the content action bar. Helpful for a11y when only one action is configured in expand mode. Inherited from SiCardComponent |
| actionBarViewTypeinherited ¶ | ViewType | 'collapsible' | The view type of the content action bar of the card. Default is Inherited from SiCardComponent |
| actionParaminherited ¶ | any | A param that will be passed to the Inherited from SiCardComponent | |
| enableExpandInteraction ¶ | boolean | false | Option to enable and show the UI controls for card expand functionality. |
| expandText ¶ | TranslatableString | $localize`:@@SI_DASHBOARD.EXPAND:Expand` | Description of expand button & action. |
| headinginherited ¶ | TranslatableString | undefined | Card header text. Inherited from | |
| imgAltinherited ¶ | TranslatableString | undefined | Alt text for a provided image. Inherited from | |
| imgDirinherited ¶ | "horizontal" | "vertical" | undefined | 'vertical' | Defines if an image is placed on top or start (left) of the card. Inherited from |
| imgObjectFitinherited ¶ | "fill" | "contain" | "cover" | "none" | "scale-down" | undefined | 'scale-down' | Sets the image object-fit CSS property. Inherited from |
| imgObjectPositioninherited ¶ | string | undefined | Sets the image object-position CSS property. Inherited from | |
| imgSrcinherited ¶ | string | undefined | Image source for the card. Inherited from | |
| primaryActionsinherited ¶ | (MenuItem | ContentActionBarMainItem)[] | [] | Input list of primary action items. Supports up to 4 actions and omits additional ones. Inherited from SiCardComponent |
| restoreText ¶ | TranslatableString | $localize`:@@SI_DASHBOARD.RESTORE:Restore` | Description of cancel button & action. |
| secondaryActionsinherited ¶ | (MenuItem | MenuItem)[] | [] | Input list of secondary action items. Inherited from SiCardComponent |
| showMenubar ¶ | boolean | true | Used in combination with si-dashboard to show filters when a card is expanded or not. |
| subHeadinginherited ¶ | TranslatableString | undefined | Card secondary header text. Inherited from |
Output Properties¶
| Name | Type | Description |
|---|---|---|
| expandChange ¶ | boolean | Emitter for size state change |
Attributes and Methods¶
| Name | Type | Default | Description |
|---|---|---|---|
| (readonly) displayContentActionBar ¶ | Signal<boolean> | ... | Returns Inherited from SiCardComponent |
| (readonly) enableExpandInteractionComputed ¶ | Signal<boolean> | ... | |
| expand() ¶ | () => void | Expand the dashboard card. | |
| (readonly) isExpanded ¶ | WritableSignal<boolean> | false | Whether the card is currently expanded. |
| restore() ¶ | () => void | Restore the dashboard card to the original, non-expanded state. |
Types Documentation¶
ContentActionBarMainItem
( MenuItemAction | MenuItemCheckbox | MenuItemLink | MenuItemRouterLink | MenuItemGroup ) & { iconOnly?: boolean } ¶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 use @siemens/element-ng/menu#MenuItem
• for SiContentActionBarComponent use @siemens/element-ng/menu#MenuItem and ContentActionBarMainItem
• for SiNavbarVerticalComponent use NavbarVerticalItem
• for @siemens/dashboards-ng#SiFlexibleDashboardComponent use @siemens/dashboards-ng#DashboardToolbarItem
-
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.
action?:
string | ((param?: any) => void | any)Inherited from Link¶ -
Defines the content of the optional badge. Should be a number or something like "100+". if undefined or empty string, no badge is displayed
-
Defines the background color of the badge. Default is specific to Element flavour.
-
Show a dot badge without content?
-
Defines the badge style
badgeStyle?:
"" | "inline" | "dot"¶ -
Defines if custom content is chosen in account dropdown (otherwise accountItems are used)
-
A boolean that lets the link know whether it is disabled or not.
-
Whether the menu items sub-menu should open upwards instead of downwards.
-
If the menu item has children you can specify if they are visible or not.
-
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.
-
The web font icon class name (e.g. element-settings-outline).
-
Defines if only the icon is shown in the default navigation bar.
-
An optional id to uniquely identify the menu item.
-
The value for an image src tag. Maybe a relative or absolute link to an jpg or gif image.
-
A boolean that lets the link know whether it is active or not. It is useful when action() is executed instead of link route.
-
Whether the menu item should be displayed as a heading/title, will also disable links and actions.
-
A navigation bar item can have a sub-menu, if these items are set. They define the sub-menu content.
-
Defines the link of the menu item within the application using the angular router link concept. Accepts an array of
anyas per [routerLink API definition]https://angular.dev/api/router/RouterLink. -
For single/multi choice items: the kind of icon to show.
selectionState?:
"" | "check" | "radio"¶ -
The target attribute specifies where to open the linked document. If no target is specified, the link will open in the current tab.
-
The title of the menu item. Can be either the title to be displayed or the translation key.
title?:
TranslatableStringInherited from Link¶ -
The optional tooltip of the link. Can be either the text to be displayed or the translation key.
tooltip?:
TranslatableStringInherited from Link¶ -
Type to distinguish between check and radio menu items. Needs to be set for correct interaction and used for a11y.
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.
-
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.
-
A boolean that lets the link know whether it is disabled or not.
-
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.
-
A boolean that lets the link know whether it is active or not. It is useful when action() is executed instead of link route.
-
Defines the link of the menu item within the application using the angular router link concept. Accepts an array of
anyas per [routerLink API definition]https://angular.dev/api/router/RouterLink. -
The target attribute specifies where to open the linked document. If no target is specified, the link will open in the current tab.
-
The title of the menu item. Can be either the title to be displayed or the translation key.
-
The optional tooltip of the link. Can be either the text to be displayed or the translation key.
-
Action that called when the item is triggered. A function will be called, a string will be dispatched to the SiMenuActionService.
action:
string | ((actionParam: any, source: MenuItemAction) => void)¶ -
Badge that is rendered after the label.
badge?:
string | numberInherited from MenuItemBase¶ -
Color of the badge (not iconBadge).
badgeColor?:
stringInherited from MenuItemBase¶ -
Whether the menu item id disabled.
disabled?:
booleanInherited from MenuItemBase¶ -
Optional icon that will be rendered before the label.
icon?:
stringInherited from MenuItemBase¶ -
Badge (always red) that is attached to the icon. If value===true, an empty red dot will be rendered.
iconBadge?:
string | number | booleanInherited from MenuItemBase¶ -
ID that will be attached to the DOM node.
id?:
stringInherited from MenuItemBase¶ -
Label that is shown to the user.
label:
TranslatableStringInherited from MenuItemBase¶
-
Action that called when the item is triggered. A function will be called, a string will be dispatched to the SiMenuActionService.
action:
string | ((actionParam: any, source: MenuItemCheckbox) => void)¶ -
Badge that is rendered after the label.
badge?:
string | numberInherited from MenuItemBase¶ -
Color of the badge (not iconBadge).
badgeColor?:
stringInherited from MenuItemBase¶ -
Whether the checkbox is checked.
-
Whether the menu item id disabled.
disabled?:
booleanInherited from MenuItemBase¶ -
Optional icon that will be rendered before the label.
icon?:
stringInherited from MenuItemBase¶ -
Badge (always red) that is attached to the icon. If value===true, an empty red dot will be rendered.
iconBadge?:
string | number | booleanInherited from MenuItemBase¶ -
ID that will be attached to the DOM node.
id?:
stringInherited from MenuItemBase¶ -
Label that is shown to the user.
label:
TranslatableStringInherited from MenuItemBase¶
-
Badge that is rendered after the label.
badge?:
string | numberInherited from MenuItemBase¶ -
Color of the badge (not iconBadge).
badgeColor?:
stringInherited from MenuItemBase¶ -
Whether the menu item id disabled.
disabled?:
booleanInherited from MenuItemBase¶ -
The href property of the anchor.
-
Optional icon that will be rendered before the label.
icon?:
stringInherited from MenuItemBase¶ -
Badge (always red) that is attached to the icon. If value===true, an empty red dot will be rendered.
iconBadge?:
string | number | booleanInherited from MenuItemBase¶ -
ID that will be attached to the DOM node.
id?:
stringInherited from MenuItemBase¶ -
Label that is shown to the user.
label:
TranslatableStringInherited from MenuItemBase¶ -
The target property of the anchor.
Represents a menu item that navigates using the Angular Router.
Requires a configured Angular Router.
-
Badge that is rendered after the label.
badge?:
string | numberInherited from MenuItemBase¶ -
Color of the badge (not iconBadge).
badgeColor?:
stringInherited from MenuItemBase¶ -
Whether the menu item id disabled.
disabled?:
booleanInherited from MenuItemBase¶ -
Navigation extras that are passed to the RouterLink.
-
Optional icon that will be rendered before the label.
icon?:
stringInherited from MenuItemBase¶ -
Badge (always red) that is attached to the icon. If value===true, an empty red dot will be rendered.
iconBadge?:
string | number | booleanInherited from MenuItemBase¶ -
ID that will be attached to the DOM node.
id?:
stringInherited from MenuItemBase¶ -
Label that is shown to the user.
label:
TranslatableStringInherited from MenuItemBase¶ -
Link for the angular router. Accepts the same values as RouterLink.
routerLink:
string | any[]¶
-
Badge that is rendered after the label.
badge?:
string | numberInherited from MenuItemBase¶ -
Color of the badge (not iconBadge).
badgeColor?:
stringInherited from MenuItemBase¶ -
Submenu items for this menu item.
-
Whether the menu item id disabled.
disabled?:
booleanInherited from MenuItemBase¶ -
Optional icon that will be rendered before the label.
icon?:
stringInherited from MenuItemBase¶ -
Badge (always red) that is attached to the icon. If value===true, an empty red dot will be rendered.
iconBadge?:
string | number | booleanInherited from MenuItemBase¶ -
ID that will be attached to the DOM node.
id?:
stringInherited from MenuItemBase¶ -
Label that is shown to the user.
label:
TranslatableStringInherited from MenuItemBase¶
-
Items that are part of the radio group.
children:
[MenuItemHeader, ...(MenuItemRadio | MenuItemHeader | MenuDivider)[]]¶
-
Action that called when the item is triggered. A function will be called, a string will be dispatched to the SiMenuActionService.
action:
string | ((actionParam: any, source: MenuItemRadio) => void)¶ -
Badge that is rendered after the label.
badge?:
string | numberInherited from MenuItemBase¶ -
Color of the badge (not iconBadge).
badgeColor?:
stringInherited from MenuItemBase¶ -
Whether the radio is checked.
-
Whether the menu item id disabled.
disabled?:
booleanInherited from MenuItemBase¶ -
Optional icon that will be rendered before the label.
icon?:
stringInherited from MenuItemBase¶ -
Badge (always red) that is attached to the icon. If value===true, an empty red dot will be rendered.
iconBadge?:
string | number | booleanInherited from MenuItemBase¶ -
ID that will be attached to the DOM node.
id?:
stringInherited from MenuItemBase¶ -
Label that is shown to the user.
label:
TranslatableStringInherited from MenuItemBase¶
-
Badge that is rendered after the label.
-
Color of the badge (not iconBadge).
-
Whether the menu item id disabled.
-
Optional icon that will be rendered before the label.
-
Badge (always red) that is attached to the icon. If value===true, an empty red dot will be rendered.
-
ID that will be attached to the DOM node.
-
Label that is shown to the user.
Except where otherwise noted, content on this site is licensed under MIT License.