GoogleFontsKMP

Runtime Google Fonts for Compose Multiplatform — Android, iOS, Desktop.

Maven Central Apache-2.0

Android · iOS · Desktop

Quick start

@Composable
fun Greeting() {
    val roboto = rememberGoogleFontFamily(GoogleFont("Roboto"), weight = FontWeight.Bold)
    Text(text = "Hello, Google Fonts!", fontFamily = roboto)
}

Why GoogleFontsKMP?

Modules