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

> Source set: Android

```kotlin
public object ActionCardDefaults
```

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

## Properties

### contentPadding

> Source set: Android

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

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

This affects the outermost content padding applied around the content container. Note that
there is additional padding applied around the content / text / icons inside an action card,
this only represents the outer padding for the entire content.

### shape

> Source set: Android

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

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

### color

> Source set: Android

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

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

## Functions

### contentColor

> Source set: Android

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

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

#### Parameters

| | |
| --- | --- |
| color | the background color of the action card |

#### Return

the calculated content color
