# XWUIImage

Enhanced image wrapper with fallbacks, placeholders, and lazy loading

## Basic Usage

Enhanced image with fallback.

```example
file: examples/BasicUsage.ts
html: examples/BasicUsage.html
title: Basic Usage
description: Enhanced image with fallback.
```

## Fixed aspect ratio

Lock the image to a 16/9 box and crop with object-fit cover so it fills the frame.

```example
file: examples/AspectRatio.ts
html: examples/AspectRatio.html
title: Fixed aspect ratio
description: Lock the image to a 16/9 box and crop with object-fit cover.
```

## Fallback on load error

When the primary src fails to load, the component swaps in the fallback image instead of a broken icon.

```example
file: examples/Fallback.ts
html: examples/Fallback.html
title: Fallback on load error
description: A failing src swaps in the fallback image instead of a broken icon.
```

```api
```
