# SiWeatherWidgetLayout Type documentation

## TypeScript declaration

### [SiWeatherWidgetLayout](<https://github.com/siemens/element/blob/main/projects/element-ng/dashboard/widgets/si-weather-widget/si-weather-widget.types.ts#L17-L17>)

**Kind:** type alias

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

Visual layout of the [SiWeatherWidgetComponent](<../../components/SiWeatherWidgetComponent/index.html#SiWeatherWidgetComponent>).

• `vertical`: full vertical card layout with header, today block, optional additional data and an optional vertical forecast table.

• `horizontal`: wider card with the today block laid out side by side and a horizontal forecast strip below.

• `compact`: condensed card without a card header. Location and min/max temperature are rendered next to the illustration. Does not show a forecast.

```
type SiWeatherWidgetLayout = 'vertical' | 'horizontal' | 'compact'
```
