Compose Component

WideClassicCard

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

WideClassicCard social preview

WideClassicCardSample

@Sampled
@Composable
fun WideClassicCardSample() {
    WideClassicCard(
        modifier = Modifier.size(180.dp, 100.dp),
        image = { Box(modifier = Modifier.fillMaxWidth().height(80.dp).background(Color.Blue)) },
        title = { Text(text = "Wide Classic Card", modifier = Modifier.padding(start = 8.dp)) },
        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: