---
title: "decoratedPrefix"
type: "property"
lastmod: "2026-08-27"
---
## API Reference

> Source set: Common

```kotlin
val decoratedPrefix: @Composable (() -> Unit)? =
        if (prefix != null && showAffix) {
            @Composable {
                Decoration(contentColor = prefixColor, textStyle = bodyLarge, content = prefix)
            }
        } else null
```
