Composables
Components Unstyled Icons API
Join Radar
Join Radar Components Unstyled Icons API UI Kit UI Blocks SVG to Compose Android Distribution Community Docs Blog Colors
Material Compose
  • AlertDialog
  • BackdropScaffold
  • Badge
  • BadgedBox
  • BottomAppBar
  • BottomDrawer
  • BottomNavigation
  • BottomNavigationItem
  • BottomSheetScaffold
  • Button
  • Card
  • Checkbox
  • Chip
  • CircularProgressIndicator
  • Divider
  • DropdownMenu
  • DropdownMenuItem
  • ExposedDropdownMenuBox
  • ExtendedFloatingActionButton
  • FilterChip
  • FloatingActionButton
  • Icon
  • IconButton
  • IconToggleButton
  • LeadingIconTab
  • LinearProgressIndicator
  • ListItem
  • MaterialTheme
  • ModalBottomSheetLayout
  • ModalDrawer
  • NavigationRail
  • NavigationRailItem
  • OutlinedButton
  • OutlinedSecureTextField
  • OutlinedTextField
  • ProvideTextStyle
  • PullRefreshIndicator
  • RadioButton
  • RangeSlider
  • Scaffold
  • ScrollableTabRow
  • SecureTextField
  • Slider
  • Snackbar
  • SnackbarHost
  • Surface
  • SwipeToDismiss
  • Switch
  • Tab
  • TabRow
  • Text
  • TextButton
  • TextField
  • TopAppBar
  • TriStateCheckbox
Components › Material Compose › ProvideTextStyle

ProvideTextStyle

View Markdown Open in ChatGPT Open in Claude

This function is used to set the current value of LocalTextStyle, merging the given style with the current style values for any missing attributes.

RevenueCat

RevenueCat

Add subscriptions to your apps in minutes

Ad Get started for free

ProvideTextStyle

Common
@Composable
fun ProvideTextStyle(value: TextStyle, content: @Composable () -> Unit)
OutlinedTextField ← Previous PullRefreshIndicator Next →
On this page
  • ProvideTextStyle

Never miss a Compose release

Get an alert the moment a new Compose release is out: new APIs, new components, new things to experiment with. Straight from Google's servers.

Join 3,000+ Compose developers. No spam, ever.