# stylePlacement

Common/All

## Functions summary

|---|---|---|
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier` | `@https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/ExperimentalFoundationStyleApi https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier.https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/stylePlacement.modifier#(androidx.compose.ui.Modifier).stylePlacement(androidx.compose.foundation.style.StyleResolver)(styleResolver: https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/StyleResolver)` Maps properties set in a style and resolved by `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/package-summary#(androidx.compose.ui.Modifier).stylePlacement(androidx.compose.foundation.style.StyleResolver)` to values passed to the `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/placement.modifier#(androidx.compose.ui.Modifier).placement(kotlin.Function1)` modifier. | Cmn |

## Functions

### Modifier.stylePlacement

Cmn Artifact: [androidx.compose.foundation:foundation](https://developer.android.com/jetpack/androidx/releases/compose-foundation) [View Source](https://cs.android.com/search?q=file:androidx/compose/foundation/style/Placement.kt+function:stylePlacement) Added in [1.13.0-rc01](https://developer.android.com/jetpack/androidx/releases/compose-foundation#1.13.0-rc01)

```
@ExperimentalFoundationStyleApi
fun Modifier.stylePlacement(styleResolver: StyleResolver): Modifier
```

Maps properties set in a style and resolved by `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/package-summary#(androidx.compose.ui.Modifier).stylePlacement(androidx.compose.foundation.style.StyleResolver)` to values passed to the `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/placement.modifier#(androidx.compose.ui.Modifier).placement(kotlin.Function1)` modifier.

NOTE: `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/stylePlacement.modifier#(androidx.compose.ui.Modifier).stylePlacement(androidx.compose.foundation.style.StyleResolver)` is a transitionary modifier that will be removed before styles becomes stable. It helps transition away from the experimental version of styles in 1.11 and 1.12.

The properties used by this modifier are being replace by design-system specific properties defined in design system layers above foundation, such as Material.