API reference

OutlinedCard Composable

Displays grouped content on a transparent card with a semantic outline.
Use outlined cards when surrounding content already provides the filled surface.

Signature

@Composable
fun OutlinedCard(
    modifier: Modifier = Modifier,
    onClick: () -> Unit? = null,
    enabled: Boolean = true,
    colors: CardColors = CardDefaults.Outlined,
    dimensions: CardDimensions = UiSetTheme.dimensions.cards,
    shape: Shape = UiSetTheme.shapes.card,
    content: @Composable ColumnScope.() -> Unit,
)

Parameters

modifier: Modifier modifier applied to the card
onClick: (() -> Unit)? optional click callback; null creates a display-only card
enabled: Boolean whether an interactive card accepts input
colors: CardColors transparent container, content colors, and outline color
dimensions: CardDimensions card padding and border values
shape: Shape card clipping and outline shape
content: @Composable ColumnScope.() -> Unit vertically arranged card content