Compose Component

MaterialTheme

Material Theming Material Theming refers to the customization of your Material Design app to better reflect your product’s brand.

MaterialTheme

Source set: Common
@Composable
public fun MaterialTheme(
    colors: Colors = MaterialTheme.colors,
    typography: Typography = MaterialTheme.typography,
    shapes: Shapes = MaterialTheme.shapes,
    content: @Composable () -> Unit,
)

Parameters

colors A complete definition of the Material Color theme for this hierarchy
typography A set of text styles to be used as this hierarchy's typography system
shapes A set of shapes to be used by the components in this hierarchy
content The content inheriting this theme
Jetpack Compose beyond MaterialFree components, screens and templates for apps that don’t look like Google’s. Copy them into your app, or let your coding agent add them.Browse for free

Content updated: