Kotlin with Jetpack Compose — Cards

Maneesha Erandi
3 min readMay 18, 2023

Cards are commonly used components in mobile development. Cards can hold the content we want inside them and give a better look for the UI. Cards have the elevation property that we can use to display a shadow effect. In Jetpack compose, we have the Card component for this.

Card with properties

fun Card(
modifier: Modifier = Modifier,
shape: Shape =…