Skip to content

SiSidePanelComponent documentation

import { SiSidePanelComponent } from '@siemens/element-ng/side-panel';

Input Properties

NameTypeDefaultDescription
breakpoints
Breakpoints | undefined

Specifies custom breakpoints to automatically switch mode. The smMinimum specifies the breakpoint for the mobile view. The lgMinimum specifies the breakpoint to allow scroll mode (below automatically uses over mode). The xlMinimum specifies the breakpoint to allow scroll mode with wide size (below automatically uses over mode).

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

NameTypeDescription
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

NameTypeDescription
toggleSidePanel()
() => void

Toggle whether the side panel is expanded or not.

Types Documentation

import type { Breakpoints } from '@siemens/element-ng/resize-observer';

SidePanelMode

'scroll' | 'over'
type alias
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.

SidePanelSize

'regular' | 'wide' | 'extended'
type alias
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.

import type { ElementDimensions } from '@siemens/element-ng/resize-observer';

Except where otherwise noted, content on this site is licensed under MIT License.