ContentCard

fun ContentCard(titleContent: TitleContent?, modifier: Modifier = Modifier, content: @Composable () -> Unit)

This card can be used to display any type of content. It is a simple wrapper around the content, which provides a title and a border.

With title and icon

Content Card with title and icon

With title only

Content Card with title only

Without title

Content Card without title

Parameters

titleContent

The TitleContent to be displayed in the content card.

modifier

An optional Modifier to be applied to the card. Defaults to Modifier.

content

The content to be displayed in the card.