CardRegular

fun CardRegular(title: String, modifier: Modifier = Modifier, size: CardTextSize = CardTextSize.Regular, body: String? = null, label: String? = null, imageParams: ImageParams? = null, ctaLabel: String? = null, interactionSource: MutableInteractionSource = remember { MutableInteractionSource() }, onClick: () -> Unit)

Deprecated (with error)

CardRegular is deprecated and will be removed shortly. Use the new cards, information can be found here: https://skapa.ikea.net/components/content-and-containers/card/.

Card Regular is a background-less Card that blends passively into the page.

This component provides a preview and an entry point to more detailed information.

The Card can contain and combine Image, Headline, Description, Subtitle, CTA Link and Customisable background color. Combinations may vary depending on context.

Parameters

title

The card title. Typically the title of the page you are linking to.

modifier

Modifier to be applied to the Card

size

Comes in 2 sizes for use in different areas of hierarchy.

body

Text area for preview, descriptive of the other short text.

label

A small text label typically used to show categorisation or attribution.

imageParams

Image parameters for card header.

ctaLabel

Text label property for a button instead of the arrow icon.

interactionSource

The MutableInteractionSource representing the stream of Interactions for this Component.

onClick

will be called when the user clicks on the card

See also

Samples

net.ikea.skapa.ui.samples.CardSample
fun CardRegular(title: String, modifier: Modifier = Modifier, size: CardTextSize = CardTextSize.Regular, body: String? = null, label: String? = null, image: Painter? = null, imageContentDescription: String? = null, ctaLabel: String? = null, interactionSource: MutableInteractionSource = remember { MutableInteractionSource() }, onClick: () -> Unit)

Deprecated (with error)

CardRegular is deprecated and will be removed shortly. Use the new cards, information can be found here: https://skapa.ikea.net/components/content-and-containers/card/.

Deprecated Regular Card.

Use ImageParams instead of 'image' and 'imageContentDescription' with the new function.

Parameters

title

The card title. Typically the title of the page you are linking to.

modifier

Modifier to be applied to the Card

size

Comes in 2 sizes for use in different areas of hierarchy.

body

Text area for preview, descriptive of the other short text.

label

A small text label typically used to show categorisation or attribution.

image

Image to be displayed in the Card.

imageContentDescription

Text used by accessibility services to describe what this image represents.

ctaLabel

Text label property for a button instead of the arrow icon.

interactionSource

The MutableInteractionSource representing the stream of Interactions for this Component.

onClick

will be called when the user clicks on the card

See also

Samples

net.ikea.skapa.ui.samples.CardSample