UX4G Logo
TokenTypography

Display

High-impact display typography tokens for hero numbers, banners, and splash screens

Ux4gTheme.typography.d*

Display tokens provide high-impact, prominent typography styles designed for hero landing banners, celebratory result screens, and dashboard metrics.


The quick brown fox jumps over the lazy dog

Display XS (Default)SemiBold
Size36spLine44spWeight600 (SemiBold)
Ux4gTheme.typography.dXS_default

The quick brown fox jumps over the lazy dog

Display XS (Strong)Bold
Size36spLine44spWeight700 (Bold)
Ux4gTheme.typography.dXS_strong

The quick brown fox jumps over the lazy dog

Display S (Default)SemiBold
Size40spLine52spWeight600 (SemiBold)
Ux4gTheme.typography.dS_default

The quick brown fox jumps over the lazy dog

Display S (Strong)Bold
Size40spLine52spWeight700 (Bold)
Ux4gTheme.typography.dS_strong

The quick brown fox jumps over the lazy dog

Display M (Default)SemiBold
Size52spLine72spWeight600 (SemiBold)
Ux4gTheme.typography.dM_default

The quick brown fox jumps over the lazy dog

Display M (Strong)Bold
Size52spLine72spWeight700 (Bold)
Ux4gTheme.typography.dM_strong

The quick brown fox jumps over the lazy dog

Display L (Default)SemiBold
Size60spLine80spWeight600 (SemiBold)
Ux4gTheme.typography.dL_default

The quick brown fox jumps over the lazy dog

Display L (Strong)Bold
Size60spLine80spWeight700 (Bold)
Ux4gTheme.typography.dL_strong

Jetpack Compose Usage

Display Usage
import androidx.compose.material3.Text
import androidx.compose.runtime.Composable
import com.ux4g.designsystemv1.theme.Ux4gTheme

@Composable
fun HeroMetrics() {
    Text(
        text = "99.8%",
        style = Ux4gTheme.typography.dL_strong,
        color = Ux4gTheme.colorScheme.primary
    )
}

On this page