Compose Component

WideCardContainer

WideCardContainer is an opinionated TV Material Card layout with an image and text content to show information about a subject.

WideCardContainer social preview

WideCardContainerSample

@Sampled
@Composable
fun WideCardContainerSample() {
    WideCardContainer(
        modifier = Modifier.size(180.dp, 100.dp),
        imageCard = { interactionSource ->
            Card(onClick = {}, interactionSource = interactionSource) {
                Box(modifier = Modifier.fillMaxWidth().height(90.dp).background(Color.Blue))
            }
        },
        title = { Text("Wide Card", Modifier.padding(start = 8.dp)) },
    )
}
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: