---
title: "stylePlacement"
description: "Maps properties set in a style and resolved by [styleResolver] to values passed to the [Modifier.placement] modifier."
type: "modifier"
lastmod: "2026-09-24"
---
## API Reference

### stylePlacement

> Source set: Common

```kotlin
public fun Modifier.stylePlacement(styleResolver: StyleResolver): Modifier
```

Maps properties set in a style and resolved by [styleResolver](/jetpack-compose/androidx.compose.foundation/foundation/modifiers/styleResolver/api) to values passed to the
`Modifier.placement` modifier.

NOTE: [stylePlacement](/jetpack-compose/androidx.compose.foundation/foundation/modifiers/stylePlacement/api) 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.
