---
title: "LocalTextConfiguration"
description: "CompositionLocal containing the preferred [TextConfiguration] that will be used by [Text]
components by default consisting of text alignment, overflow specification and max lines.
Material3 components related to text such as [Button], [CheckboxButton], [SwitchButton],
[RadioButton] use [LocalTextConfiguration] to set values with which to style child text
components."
type: "property"
---

<div class='type'>Property</div>


<a id='references'></a>

<div class='sourceset sourceset-android'>Android</div>


```kotlin
public val LocalTextConfiguration: ProvidableCompositionLocal<TextConfiguration>
```


CompositionLocal containing the preferred `TextConfiguration` that will be used by `Text`
components by default consisting of text alignment, overflow specification and max lines.
Material3 components related to text such as `Button`, `CheckboxButton`, `SwitchButton`,
`RadioButton` use `LocalTextConfiguration` to set values with which to style child text
components.



