---
title: "ProvideTextStyle"
description: "This function is used to set the current value of `LocalTextStyle`, merging the given style with
the current style values for any missing attributes. Any `Text` components included in this
component's `content` will be styled with this style unless styled explicitly."
type: "component"
---

<div class='type'>Composable Component</div>



This function is used to set the current value of `LocalTextStyle`, merging the given style with
the current style values for any missing attributes. Any `Text` components included in this
component's `content` will be styled with this style unless styled explicitly.

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

<div class='sourceset sourceset-common'>Common</div>


```kotlin
@Composable
fun ProvideTextStyle(value: TextStyle, content: @Composable () -> Unit)
```






