OudsDisplayText

fun OudsDisplayText(text: String, modifier: Modifier = Modifier, size: OudsDisplayTextSize = OudsDisplayTextDefaults.Size, color: Color = OudsDisplayTextDefaults.Color)

Display styles are intended for high-impact content such as landing pages, marketing campaigns, and key messages. Their large type sizes help capture attention and establish strong visual emphasis. Variants automatically adapt across breakpoints to maintain a consistent visual hierarchy on every screen size. Use them sparingly to preserve their impact and effectiveness.

Design

NameDisplay
Version1.0.0

Parameters

text

Text to display.

modifier

Modifier applied to the display text.

size

Size of the display text.

color

Color of the display text.

Samples

OudsDisplayText(
    modifier = Modifier.padding(OudsTheme.spaces.fixed.small),
    text = "Display",
    size = OudsDisplayTextSize.Medium
)