SiSidePanelComponent documentation¶
import { SiSidePanelComponent } from '@siemens/element-ng/side-panel'; Input Properties¶
| Name | Type | Default | Description |
|---|---|---|---|
| breakpoints ¶ | Breakpoints | undefined | Specifies custom breakpoints to automatically switch mode. The | |
| collapsed ¶ | boolean | undefined | Default state of navigation | |
| collapsible ¶ | boolean | false | |
| disableBackdrop ¶ | boolean | false | Whether to disable backdrop when side panel is open in over mode. When false (default), the backdrop prevents interaction with background content while preserving visual context. |
| enableMobile ¶ | boolean | false | Enable mobile drawer for small screen sizes. Should not be used in conjunction with the vertical navbar. |
| mode ¶ | SidePanelMode | 'over' | Mode of side panel (ignored below a certain width) |
| size ¶ | SidePanelSize | 'regular' | Size of side-panel |
| toggleItemLabel ¶ | TranslatableString | $localize`:@@SI_SIDE_PANEL.TOGGLE:Toggle` | Toggle icon aria-label, required for a11y |
Output Properties¶
| Name | Type | Description |
|---|---|---|
| closed ¶ | void | Emits when the panel is closed |
| collapsedChange ¶ | boolean | undefined | Default state of navigation |
| contentResize ¶ | ElementDimensions | Emits whenever the content is resized due to opening and closing or parent resize. |
Attributes and Methods¶
| Name | Type | Description |
|---|---|---|
| toggleSidePanel() ¶ | () => void | Toggle whether the side panel is expanded or not. |
Types Documentation¶
import type { SidePanelMode } from '@siemens/element-ng/side-panel';Side panel mode options.
• scroll: pushes content when side panel opens/closes,
• over: Opens as an overlay on existing content. Just like modal.
import type { SidePanelSize } from '@siemens/element-ng/side-panel';Side panel size options.
• regular: 390px,
• wide: 500px,
• extended: responsive width that adapts to screen size. Full width on small/medium screens, scales from 480px to 912px (max) on larger screens for optimal content display
import type { TranslatableString } from '@siemens/element-translate-ng/translate-types';Represents a translatable string. This can either be a translation key, e.g. ACTIONS.EDIT that will be automatically translated when displayed on the UI or a pre-translated string, e.g. Edit. Equivalent to a normal string in usage and functionality.
Except where otherwise noted, content on this site is licensed under MIT License.