# SiValueWidgetBodyComponent documentation

**Kind:** component

**Selector:** `si-value-widget-body`

```
import { SiValueWidgetBodyComponent } from '@siemens/element-ng/dashboard';
```

The body of the `<si-value-widget>`. Useful for compositions.

```
component SiValueWidgetBodyComponent extends SiWidgetBaseDirective<TranslatableString> implements OnInit
```

#### Input Properties

| Name | Type | Default | Description |
| --- | --- | --- | --- |
| [description](<https://github.com/siemens/element/blob/main/projects/element-ng/dashboard/widgets/si-value-widget/si-value-widget-body.component.ts#L41-L41>) | `TranslatableString \| undefined` |  | Short description of the value. A description is mandatory to show an icon. Only visible if `value` is available. |
| [disableAutoLoadingIndicator](<https://github.com/siemens/element/blob/main/projects/element-ng/dashboard/widgets/si-widget-base.directive.ts#L35-L35>) (inherited) | `boolean` | `false` | Option to disable automatic start of skeleton loading indication.<br><br>Inherited from `SiWidgetBaseDirective<TranslatableString>` |
| [icon](<https://github.com/siemens/element/blob/main/projects/element-ng/dashboard/widgets/si-value-widget/si-value-widget-body.component.ts#L32-L32>) | `string \| undefined` |  | The element icon name. Only visible if `value` is available. |
| [initialLoadingIndicatorDebounceTime](<https://github.com/siemens/element/blob/main/projects/element-ng/dashboard/widgets/si-widget-base.directive.ts#L59-L59>) (inherited) | `number` | `300` | Initial delay time in milliseconds before enabling loading indicator. Only used once initially during construction.<br><br>Inherited from `SiWidgetBaseDirective<TranslatableString>` |
| [showLoadingIndicator](<https://github.com/siemens/element/blob/main/projects/element-ng/dashboard/widgets/si-widget-base.directive.ts#L41-L45>) (inherited) | `boolean` | `false` | Input to start and stop the skeleton loading indication.<br><br>Inherited from `SiWidgetBaseDirective<TranslatableString>` |
| [status](<https://github.com/siemens/element/blob/main/projects/element-ng/dashboard/widgets/si-value-widget/si-value-widget-body.component.ts#L36-L36>) | `EntityStatusType \| undefined` |  | Show a status icon instead of the [icon](<index.html#SiValueWidgetBodyComponent.icon>). |
| [unit](<https://github.com/siemens/element/blob/main/projects/element-ng/dashboard/widgets/si-value-widget/si-value-widget-body.component.ts#L28-L28>) | `TranslatableString \| undefined` |  | The unit of the value (e.g. kWh or users). Only visible if `value` is available. |
| [value](<https://github.com/siemens/element/blob/main/projects/element-ng/dashboard/widgets/si-widget-base.directive.ts#L29-L29>) (required, inherited) | `TranslatableString \| undefined` |  | The main value to be displayed. If no value is set, the skeleton indicates the loading of the value. Disable the automatic loading mechanism by setting `SiWidgetBodyBaseComponent.disableAutoLoadingIndicator`.<br><br>Inherited from `SiWidgetBaseDirective<TranslatableString>` |

#### Attributes and Methods

##### showLoadingIndicator

[Source for showLoadingIndicator](<https://github.com/siemens/element/blob/main/projects/element-ng/dashboard/widgets/si-widget-base.directive.ts#L49-L51>)

**Modifiers:** readonly, inherited

**Type:** `Signal<boolean>`

**Default:** `...`

Inherited from `SiWidgetBaseDirective<TranslatableString>`

### Types Documentation

### [EntityStatusType](<https://github.com/siemens/element/blob/main/projects/element-ng/common/models/status-type.model.ts#L9-L9>)

**Kind:** type alias

```
import type { EntityStatusType } from '@siemens/element-ng/common';
```

```
type EntityStatusType = ExtendedStatusType | 'pending' | 'progress'
```

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

### [ExtendedStatusType](<https://github.com/siemens/element/blob/main/projects/element-ng/common/models/status-type.model.ts#L8-L8>)

**Kind:** type alias

```
import type { ExtendedStatusType } from '@siemens/element-ng/common';
```

```
type ExtendedStatusType = StatusType | 'unknown'
```

### [StatusType](<https://github.com/siemens/element/blob/main/projects/element-ng/common/models/status-type.model.ts#L7-L7>)

**Kind:** type alias

```
import type { StatusType } from '@siemens/element-ng/common';
```

```
type StatusType = 'success' | 'info' | 'warning' | 'danger' | 'caution' | 'critical'
```
