OudsDisplayText
fun OudsDisplayText(text: String, modifier: Modifier = Modifier, size: OudsDisplayTextSize = OudsDisplayTextDefaults.Size)
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.
Parameters
Samples
OudsDisplayText(
modifier = Modifier.padding(OudsTheme.spaces.fixed.small),
text = "Display",
size = OudsDisplayTextSize.Medium
)Content copied to clipboard