# A2uiComponentState

Artifact: [androidx.a2ui.compose:compose-runtime](https://developer.android.com/jetpack/androidx/releases/a2ui-compose) [View Source](https://cs.android.com/search?q=file:androidx/a2ui/compose/runtime/A2uiComponentState.kt+class:androidx.a2ui.compose.runtime.A2uiComponentState) Added in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/a2ui-compose#1.0.0-alpha02)


```
sealed interface A2uiComponentState
```

<br />

Known direct subclasses [A2uiComponentState.Error](https://developer.android.com/reference/kotlin/androidx/a2ui/compose/runtime/A2uiComponentState.Error), [A2uiComponentState.Loading](https://developer.android.com/reference/kotlin/androidx/a2ui/compose/runtime/A2uiComponentState.Loading), [A2uiComponentState.Success](https://developer.android.com/reference/kotlin/androidx/a2ui/compose/runtime/A2uiComponentState.Success)

|---|---|
| `https://developer.android.com/reference/kotlin/androidx/a2ui/compose/runtime/A2uiComponentState.Error` | Indicates that the component failed to resolve, evaluate, or render. |
| `https://developer.android.com/reference/kotlin/androidx/a2ui/compose/runtime/A2uiComponentState.Loading` | Indicates that the component's definition and properties are currently loading. |
| `https://developer.android.com/reference/kotlin/androidx/a2ui/compose/runtime/A2uiComponentState.Success` | Indicates that the component successfully resolved its definition and properties, and is ready to be emitted into the composition tree. |

*** ** * ** ***

Represents the state of an A2UI component instance.

Components transition between these states as their payloads are loaded, evaluated, and prepared to be rendered.

## Summary

| ### Nested types |
|---|
| `class https://developer.android.com/reference/kotlin/androidx/a2ui/compose/runtime/A2uiComponentState.Error : https://developer.android.com/reference/kotlin/androidx/a2ui/compose/runtime/A2uiComponentState` Indicates that the component failed to resolve, evaluate, or render. |
| `data object https://developer.android.com/reference/kotlin/androidx/a2ui/compose/runtime/A2uiComponentState.Loading : https://developer.android.com/reference/kotlin/androidx/a2ui/compose/runtime/A2uiComponentState` Indicates that the component's definition and properties are currently loading. |
| `class https://developer.android.com/reference/kotlin/androidx/a2ui/compose/runtime/A2uiComponentState.Success : https://developer.android.com/reference/kotlin/androidx/a2ui/compose/runtime/A2uiComponentState` Indicates that the component successfully resolved its definition and properties, and is ready to be emitted into the composition tree. |