KwikCard

fun KwikCard(modifier: Modifier = Modifier, containerColor: Color = MaterialTheme.colorScheme.surface, shape: Shape = MaterialTheme.shapes.medium, elevation: CardElevation = CardDefaults.cardElevation(defaultElevation = 2.dp), onClick: () -> Unit = {}, content: @Composable () -> Unit)

A simple card component

Parameters

modifier

Modifier

containerColor

Color sets the background color

shape

RoundedCornerShape sets the shape of the card

elevation

CardElevation sets the elevation of the card

onClick

() -> Unit called when card is clicked

content

@Composable () -> Unit content of the card