OudsBodyText

fun OudsBodyText(text: String, modifier: Modifier = Modifier, size: OudsBodyTextSize = OudsBodyTextDefaults.Size, weight: OudsTextWeight = OudsBodyTextDefaults.Weight, color: Color = OudsBodyTextDefaults.Color)

Body styles are designed for everyday text content such as paragraphs, descriptions, and informational messages. They prioritize readability and provide a comfortable reading experience across all screen sizes. Multiple size options allow content importance to be expressed while maintaining consistency. Their typography automatically scales across breakpoints to support responsive layouts.

Design

NameBody
Version1.0.0

Parameters

text

Text to display.

modifier

Modifier applied to the body text.

size

Size of the body text.

weight

Weight of the body text.

color

Color of the body text.

Samples

OudsBodyText(
    modifier = Modifier.padding(OudsTheme.spaces.fixed.small),
    text = "Body",
    size = OudsBodyTextSize.Medium,
    weight = OudsTextWeight.Moderate
)