# UiComposable

Artifact: [androidx.compose.ui:ui](https://developer.android.com/jetpack/androidx/releases/compose-ui) [View Source](https://cs.android.com/search?q=file:androidx/compose/ui/UiComposable.kt+class:androidx.compose.ui.UiComposable) Added in [1.2.0](https://developer.android.com/jetpack/androidx/releases/compose-ui#1.2.0) Common/AllAndroid/JVM
- Cmn

  ```
  @Retention(value = AnnotationRetention.BINARY)
  @ComposableTargetMarker(description = "UI Composable")
  @Target(allowedTargets = [AnnotationTarget.FILE, AnnotationTarget.FUNCTION, AnnotationTarget.PROPERTY_GETTER, AnnotationTarget.TYPE, AnnotationTarget.TYPE_PARAMETER])
  annotation UiComposable
  ```

*** ** * ** ***

An annotation that can be used to mark a composable function as being expected to be use in a composable function that is also marked or inferred to be marked as a `https://developer.android.com/reference/kotlin/androidx/compose/ui/UiComposable`.

Using this annotation explicitly is rarely necessary as the Compose compiler plugin will infer the necessary equivalent annotations automatically. See `https://developer.android.com/reference/kotlin/androidx/compose/runtime/ComposableTarget` for details.

## Summary

| ### Public constructors |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/UiComposable#UiComposable()()` | Cmn |

## Public constructors

### UiComposable

Cmn Added in [1.9.0](https://developer.android.com/jetpack/androidx/releases/compose-ui#1.9.0)

```
UiComposable()
```