Compose Component

ClassicCard

ClassicCard is an opinionated TV Material card that offers a 4 slot layout to show information about a subject.

ClassicCard social preview

ClassicCardSample

@Sampled
@Composable
fun ClassicCardSample() {
    ClassicCard(
        modifier = Modifier.size(150.dp, 120.dp),
        image = { Box(modifier = Modifier.fillMaxWidth().height(80.dp).background(Color.Blue)) },
        title = { Text("Classic Card") },
        contentPadding = PaddingValues(8.dp),
        onClick = {},
    )
}
Jetpack Compose beyond MaterialFree components, screens and templates for apps that don’t look like Google’s. Copy them into your app, or let your coding agent add them.Browse for free

Content updated: