# NavbarVerticalItemBase Type documentation

## TypeScript declaration

### [NavbarVerticalItemBase](<https://github.com/siemens/element/blob/main/projects/element-ng/navbar-vertical/si-navbar-vertical.model.ts#L9-L28>)

**Kind:** interface

```
import type { NavbarVerticalItemBase } from '@siemens/element-ng/navbar-vertical';
```

Common properties shared among navbar item types.

```
interface NavbarVerticalItemBase
```

#### Properties

| Name | Type | Description |
| --- | --- | --- |
| [badge](<https://github.com/siemens/element/blob/main/projects/element-ng/navbar-vertical/si-navbar-vertical.model.ts#L17-L17>) (optional) | `string \| number` | Badge that is rendered after the label or as a red dot in the collapsed state. |
| [badgeColor](<https://github.com/siemens/element/blob/main/projects/element-ng/navbar-vertical/si-navbar-vertical.model.ts#L22-L22>) (optional) | `string` | Color of the badge. Use any color shown here [https://element.siemens.io/components/status-notifications/badges/\#example](<https://element.siemens.io/components/status-notifications/badges/#example>) without `bg-` prefix. |
| [hideBadgeWhenCollapsed](<https://github.com/siemens/element/blob/main/projects/element-ng/navbar-vertical/si-navbar-vertical.model.ts#L27-L27>) (optional) | `boolean` | Hide badge when navbar is collapsed. By default, badges are always visible (both expanded and collapsed). |
| [icon](<https://github.com/siemens/element/blob/main/projects/element-ng/navbar-vertical/si-navbar-vertical.model.ts#L15-L15>) (optional) | `string` | Optional icon that will be rendered before the label. |
| [id](<https://github.com/siemens/element/blob/main/projects/element-ng/navbar-vertical/si-navbar-vertical.model.ts#L11-L11>) (optional) | `string` | The ID is required if the navbar is used with UIState. |
| [label](<https://github.com/siemens/element/blob/main/projects/element-ng/navbar-vertical/si-navbar-vertical.model.ts#L13-L13>) | `TranslatableString` | Label that is shown to the user. |

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