---
title: "LeadingImageCardDefaults"
description: "Default values used for [LeadingImageCard]"
type: "object"
lastmod: "2026-09-24"
---
## API Reference

> Source set: Android

```kotlin
public object LeadingImageCardDefaults
```

Default values used for [LeadingImageCard](/jetpack-compose/androidx.xr.glimmer/glimmer/components/LeadingImageCard/api)

## Properties

### contentPadding

> Source set: Android

```kotlin
public val contentPadding: PaddingValues
```

Default content padding used for a [LeadingImageCard](/jetpack-compose/androidx.xr.glimmer/glimmer/components/LeadingImageCard/api)

This affects the outermost content padding applied around the image and the content
container. Note that there is additional padding applied around the content / text / image
inside a leading image card, this only represents the outer padding for the entire content.

### shape

> Source set: Android

```kotlin
public val shape: Shape
```

The default shape of [LeadingImageCard](/jetpack-compose/androidx.xr.glimmer/glimmer/components/LeadingImageCard/api), which determines its corner radius.

### color

> Source set: Android

```kotlin
public val color: Color
```

The default background color of [LeadingImageCard](/jetpack-compose/androidx.xr.glimmer/glimmer/components/LeadingImageCard/api).

## Functions

### contentColor

> Source set: Android

```kotlin
@Composable
    public fun contentColor(color: Color = LeadingImageCardDefaults.color): Color
```

Calculates the default content color for a [LeadingImageCard](/jetpack-compose/androidx.xr.glimmer/glimmer/components/LeadingImageCard/api) based on the provided `color`.

#### Parameters

| | |
| --- | --- |
| color | the background color of the leading image card |

#### Return

the calculated content color
