OudsElevatedCard

fun OudsElevatedCard(modifier: Modifier = Modifier, enabled: Boolean = true, skeleton: OudsSkeleton? = LocalSkeleton.current, content: @Composable OudsCardScope.() -> Unit = { })

This is a convenience function for OudsCard with OudsCardStyle.Elevated. Elevated cards create separation through a shadow, giving the container a raised appearance.

Parameters

modifier

The Modifier to be applied to this card.

enabled

Controls the enabled state of the card. When false, the OUDS components inside will be in disabled state.

skeleton

A placeholder state of the component used when the content is not yet available (while loading). The component shows the correct visual structure but with placeholder elements (grey or shimmering blocks) instead of actual content. Can be set directly or inherited from OudsSkeletonProvider. See OudsSkeleton class documentation for all approaches.

content

The content of the card.

See also


fun OudsElevatedCard(onClick: () -> Unit, modifier: Modifier = Modifier, enabled: Boolean = true, skeleton: OudsSkeleton? = LocalSkeleton.current, interactionSource: MutableInteractionSource? = null, content: @Composable OudsCardScope.() -> Unit = { })

This is a convenience function for OudsCard with OudsCardStyle.Elevated. Elevated cards create separation through a shadow, giving the container a raised appearance.

Parameters

onClick

The action to perform when this card is clicked.

modifier

The Modifier to be applied to this card.

enabled

Controls the enabled state of the card. When false, the OUDS components inside will be in disabled state.

skeleton

A placeholder state of the component used when the content is not yet available (while loading). The component shows the correct visual structure but with placeholder elements (grey or shimmering blocks) instead of actual content. Can be set directly or inherited from OudsSkeletonProvider. See OudsSkeleton class documentation for all approaches.

interactionSource

An optional hoisted MutableInteractionSource for observing and emitting Interactions for this card. Note that if null is provided, interactions will still happen internally.

content

The content of the card.

See also