# XWUIGameWeatherWidget

In-game weather display. It shows a weather-type icon for `weather` (`clear`, `rain`, `storm`, `snow`, `fog`, `heat`), the `temperature`, and `windSpeed`, with an optional `forecast` line - all color-coded per weather type. `conf_comp` toggles `showTemperature`/`showForecast`, anchors the widget via `position` (e.g. `top-right`), and scales it with `size`. Push conditions with `updateData({ weather, temperature, windSpeed, forecast })` or change just the type via `setWeather(weather)`.

## Basic Usage

Mounts the weather widget showing the current conditions.

```example
file: examples/BasicUsage.ts
html: examples/BasicUsage.html
title: Basic Usage
description: Mounts the weather widget with its condition icon, temperature, and wind readout.
```

## Blizzard

Drives `weather: "snow"` with a sub-zero temperature and high winds, scaled up via `size: "lg"`.

```example
file: examples/Blizzard.ts
html: examples/Blizzard.html
title: Blizzard
description: A large snow widget with a sub-zero temperature, strong winds, and a whiteout forecast.
```

## Minimal Corner

Hides the forecast with `showForecast: false`, shrinks via `size: "sm"`, and swaps the type with `setWeather()`.

```example
file: examples/MinimalCorner.ts
html: examples/MinimalCorner.html
title: Minimal Corner
description: A compact bottom-right widget with the forecast off, retyped at runtime via setWeather().
```

```api
```
