---
title: "styleAppearance"
description: "Transitionary modifier."
type: "modifier"
lastmod: "2026-09-24"
---
## API Reference

### styleAppearance

> Source set: Common

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

Transitionary modifier. Do not use. This will be removed before the Styles API is stable.

This modifier is to help enable transition between the old [Style](/jetpack-compose/androidx.compose.foundation/foundation/functions/Style/api) based API and the new
[CustomStyle](/jetpack-compose/androidx.compose.foundation/foundation/interfaces/CustomStyle/api) based API. This duplicates the behavior of the properties from [BorderScope](/jetpack-compose/androidx.compose.foundation/foundation/interfaces/BorderScope/api),
[BackgroundScope](/jetpack-compose/androidx.compose.foundation/foundation/interfaces/BackgroundScope/api), [ForegroundScope](/jetpack-compose/androidx.compose.foundation/foundation/interfaces/ForegroundScope/api), [ShadowScope](/jetpack-compose/androidx.compose.foundation/foundation/interfaces/ShadowScope/api) of [Style](/jetpack-compose/androidx.compose.foundation/foundation/functions/Style/api).

This will be moved to be an example of how to use [appearance](/jetpack-compose/androidx.compose.foundation/foundation/modifiers/appearance/api) to implement the style properties
similar to those provided in [Style](/jetpack-compose/androidx.compose.foundation/foundation/functions/Style/api).
