Skip to content
Edit this page

SiNavbarVerticalNextComponent documentation

import { SiNavbarVerticalNextComponent } from '@siemens/element-ng/navbar-vertical-next';

Input Properties

Name Type Default Description
alwaysFlyout
boolean false

When true, item-groups always open as a transient flyout panel adjacent to the trigger, regardless of whether the navbar is collapsed or expanded. Flyouts open and close on click.

collapsed
boolean false

Whether the navbar-vertical is collapsed.

Implements SiNavbarVerticalLayout

inlineCollapse
boolean false

Enables an alternative inline-collapse behavior.

When collapsed, nav content becomes inert while the toggle remains available in the page flow.

skipLinkMainContentLabel
TranslatableString $localize`:@@SI_NAVBAR_VERTICAL.SKIP_LINK.MAIN_LABEL:Main content`

Label for the skip link to main content

skipLinkNavigationLabel
TranslatableString $localize`:@@SI_NAVBAR_VERTICAL.SKIP_LINK.NAVIGATION_LABEL:Navigation`

Label for the skip link to the vertical navbar

stateId
string | undefined

An optional stateId to uniquely identify a component instance. Required for persistence of ui state.

textOnly
boolean false

Set to true if there are no icons

Implements SiNavbarVerticalLayout

toggleButtonText
TranslatableString $localize`:@@SI_NAVBAR_VERTICAL.TOGGLE:Show side navigation`

Text for the navbar toggle button used as aria-label. The expanded state is communicated via aria-expanded.

visible deprecated
boolean true

List of vertical navigation items

Deprecated: Use the template-based declarative API with content projection instead. Use <si-navbar-vertical-next-items> and <a si-navbar-vertical-next-item> / <button si-navbar-vertical-next-item> instead.

Implements SiNavbarVerticalLayout

Output Properties

Name Type Description
collapsedChange
boolean

Whether the navbar-vertical is collapsed.

Implements SiNavbarVerticalLayout

Attributes and Methods

Name Type Default Description
collapse()
() => void

Collapses the vertical navbar.

expand()
() => void

Expands the vertical navbar.

(readonly)uiStateExpandedItems
WritableSignal<Record<string, boolean>> {}

Types Documentation

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.