Skip to content

SiNavbarVerticalNextItemComponent documentation

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

Input Properties

Name Type Default Description
activeOverride
boolean | undefined

Override the active state. Useful for action items.

badge
string | number | undefined

Badge value to display.

badgeColor
string | undefined

Color of the badge.

hideBadgeWhenCollapsed
boolean false

Hide the badge when the navbar is collapsed.

icon
string | undefined

Optional icon to render before the label.

label
string | undefined

Text label of this item. Consumed by the chip button to mirror the active item's label when collapsed.

Attributes and Methods

Name Type Default Description
(readonly)active
Signal<boolean> ...

true when this item should reflect activity.

For non-trigger items: equivalent to being on the active route.

For group trigger items: also true when a descendant route is active and the descendant is not currently visible inline — i.e. the group is collapsed or the navbar is collapsed. This surfaces the active state on the trigger when the active child cannot show it itself.

(readonly)group
SiNavbarVerticalNextGroupTriggerDirective | null ...

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