# SiNavbarVerticalNextComponent documentation

**Kind:** component

**Selector:** `si-navbar-vertical-next`

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

```
component SiNavbarVerticalNextComponent implements OnChanges, OnInit, SiNavbarVerticalLayout
```

#### Input Properties

| Name | Type | Default | Description |
| --- | --- | --- | --- |
| [alwaysFlyout](<https://github.com/siemens/element/blob/main/projects/element-ng/navbar-vertical-next/si-navbar-vertical-next.component.ts#L123-L123>) | `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](<https://github.com/siemens/element/blob/main/projects/element-ng/navbar-vertical-next/si-navbar-vertical-next.component.ts#L97-L97>) | `boolean` | `false` | Whether the navbar-vertical is collapsed.<br><br>Implements `SiNavbarVerticalLayout` |
| [inlineCollapse](<https://github.com/siemens/element/blob/main/projects/element-ng/navbar-vertical-next/si-navbar-vertical-next.component.ts#L114-L114>) | `boolean` | `false` | Enables an alternative inline-collapse behavior.<br><br>When collapsed, nav content becomes inert while the toggle remains available in the page flow. |
| [skipLinkMainContentLabel](<https://github.com/siemens/element/blob/main/projects/element-ng/navbar-vertical-next/si-navbar-vertical-next.component.ts#L174-L176>) | `TranslatableString` | `` $localize`:@@SI_NAVBAR_VERTICAL.SKIP_LINK.MAIN_LABEL:Main content` `` | Label for the skip link to main content |
| [skipLinkNavigationLabel](<https://github.com/siemens/element/blob/main/projects/element-ng/navbar-vertical-next/si-navbar-vertical-next.component.ts#L162-L164>) | `TranslatableString` | `` $localize`:@@SI_NAVBAR_VERTICAL.SKIP_LINK.NAVIGATION_LABEL:Navigation` `` | Label for the skip link to the vertical navbar |
| [stateId](<https://github.com/siemens/element/blob/main/projects/element-ng/navbar-vertical-next/si-navbar-vertical-next.component.ts#L152-L152>) | `string \| undefined` |  | An optional stateId to uniquely identify a component instance. Required for persistence of ui state. |
| [textOnly](<https://github.com/siemens/element/blob/main/projects/element-ng/navbar-vertical-next/si-navbar-vertical-next.component.ts#L104-L104>) | `boolean` | `false` | Set to `true` if there are no icons<br><br>Implements `SiNavbarVerticalLayout` |
| [toggleButtonText](<https://github.com/siemens/element/blob/main/projects/element-ng/navbar-vertical-next/si-navbar-vertical-next.component.ts#L144-L146>) | `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](<https://github.com/siemens/element/blob/main/projects/element-ng/navbar-vertical-next/si-navbar-vertical-next.component.ts#L133-L133>) (deprecated) | `boolean` | `true` | List of vertical navigation items<br><br>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.<br><br>Implements `SiNavbarVerticalLayout` |

#### Output Properties

| Name | Type | Description |
| --- | --- | --- |
| [collapsedChange](<https://github.com/siemens/element/blob/main/projects/element-ng/navbar-vertical-next/si-navbar-vertical-next.component.ts#L97-L97>) | `boolean` | Whether the navbar-vertical is collapsed.<br><br>Implements `SiNavbarVerticalLayout` |

#### Attributes and Methods

##### collapse

[Source for collapse](<https://github.com/siemens/element/blob/main/projects/element-ng/navbar-vertical-next/si-navbar-vertical-next.component.ts#L332-L338>)

Collapses the vertical navbar.

```
collapse(): void
```

**Returns:** [void](<https://www.typescriptlang.org/docs/handbook/2/functions.html#void>)

##### expand

[Source for expand](<https://github.com/siemens/element/blob/main/projects/element-ng/navbar-vertical-next/si-navbar-vertical-next.component.ts#L323-L329>)

Expands the vertical navbar.

```
expand(): void
```

**Returns:** [void](<https://www.typescriptlang.org/docs/handbook/2/functions.html#void>)

##### uiStateExpandedItems

[Source for uiStateExpandedItems](<https://github.com/siemens/element/blob/main/projects/element-ng/navbar-vertical-next/si-navbar-vertical-next.component.ts#L235-L235>)

**Modifiers:** readonly

**Type:** `WritableSignal<Record<string, boolean>>`

**Default:** `{}`

### Types Documentation

### [TranslatableString](<https://github.com/siemens/element/blob/main/projects/element-translate-ng/translate-types/global.types.ts#L18-L18>)

**Kind:** type alias

```
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.

```
type TranslatableString = string & Translatable
```
