# XWUIState

XWUIState - semantic-only state base (empty, loading, result, non-ideal, blocking, indicator). No timers, no stacking. Extends XWUIDisplayStatus. See docs/STATE_AND_FEEDBACK_COMPONENTS.md.

## Result state (subclass)

Abstract subclass with `kind:'result'` and a minimal DOM paint from `this.data` (headless base - real apps use dedicated adapters like `XWUIResult`).

```example
file: examples/BasicUsage.ts
html: examples/BasicUsage.html
title: Result state (subclass)
description: Minimal concrete subclass with kind:'result' and success content.
```

## Empty kind

Subclass with `kind:'empty'` and a primary action.

```example
file: examples/EmptyKind.ts
html: examples/EmptyKind.html
title: Empty kind
description: Subclass with kind:'empty' and a primary action.
```

## Loading indicator

`kind:'loading'` with primary/secondary copy.

```example
file: examples/LoadingKind.ts
html: examples/LoadingKind.html
title: Loading indicator
description: kind:'loading' with primary/secondary copy.
```

## Non-ideal warning

Partial failure with warning severity and two actions.

```example
file: examples/NonIdealWarning.ts
html: examples/NonIdealWarning.html
title: Non-ideal warning
description: Partial failure with warning severity and two actions.
```

```api
```
