# SiTabLegacyComponent documentation

**Kind:** component

**Selector:** `si-tab-legacy`

```
import { SiTabLegacyComponent } from '@siemens/element-ng/tabs-legacy';
```

Deprecated: Use the new components from `@siemens/element-ng/tabs` instead. See [https://element.siemens.io/components/layout-navigation/tabs/\#code](<https://element.siemens.io/components/layout-navigation/tabs/#code>) for usage instructions.

```
component SiTabLegacyComponent implements OnChanges
```

#### Input Properties

| Name | Type | Default | Description |
| --- | --- | --- | --- |
| [badgeColor](<https://github.com/siemens/element/blob/main/projects/element-ng/tabs-legacy/si-tab/si-tab-legacy.component.ts#L51-L51>) (optional) | `string` |  | Background color of the badge. If no color is provided a red dot badge will be rendered. |
| [badgeContent](<https://github.com/siemens/element/blob/main/projects/element-ng/tabs-legacy/si-tab/si-tab-legacy.component.ts#L46-L46>) (optional) | `boolean \| TranslatableString` |  | Additional badge content. A value of<br><br>• `true` will render a red dot<br><br>• any string without a `badgeColor` will render a red dot with text<br><br>• any string with a `badgeColor` will render a normal badge |
| [closable](<https://github.com/siemens/element/blob/main/projects/element-ng/tabs-legacy/si-tab/si-tab-legacy.component.ts#L63-L63>) (optional) | `boolean` | `false` | Close the current tab. |
| [disabled](<https://github.com/siemens/element/blob/main/projects/element-ng/tabs-legacy/si-tab/si-tab-legacy.component.ts#L57-L57>) | `boolean` | `false` | Disables the tab. |
| [heading](<https://github.com/siemens/element/blob/main/projects/element-ng/tabs-legacy/si-tab/si-tab-legacy.component.ts#L35-L35>) (optional) | `TranslatableString` |  | Title of the tab item. |
| [icon](<https://github.com/siemens/element/blob/main/projects/element-ng/tabs-legacy/si-tab/si-tab-legacy.component.ts#L37-L37>) (optional) | `string` |  | Icon of the tab item. |
| [iconAltText](<https://github.com/siemens/element/blob/main/projects/element-ng/tabs-legacy/si-tab/si-tab-legacy.component.ts#L39-L39>) (optional) | `TranslatableString` |  | Alternative name or translation key for icon. Used for A11y. |

#### Output Properties

| Name | Type | Description |
| --- | --- | --- |
| [closeTriggered](<https://github.com/siemens/element/blob/main/projects/element-ng/tabs-legacy/si-tab/si-tab-legacy.component.ts#L65-L65>) | `SiTabLegacyComponent` | Event emitter to notify when a tab is closed. |

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