---
title: "Shadows"
description: "Creates a single [Shadows] configuration."
type: "function"
lastmod: "2026-09-24"
---
## API Reference

### Shadows

> Source set: Common

```kotlin
public fun Shadows(shadow: Shadow): Shadows
```

Creates a single [Shadows](/jetpack-compose/androidx.compose.foundation/foundation/functions/Shadows/api) configuration.

#### Parameters

| | |
| --- | --- |
| shadow | shadow details |

### Shadows

> Source set: Common

```kotlin
public fun Shadows(vararg shadows: Shadow): Shadows
```

Creates a compound [Shadows](/jetpack-compose/androidx.compose.foundation/foundation/functions/Shadows/api) configuration from multiple shadows.

#### Parameters

| | |
| --- | --- |
| shadows | list of shadow details |

### Shadows

> Source set: Common

```kotlin
public fun Shadows(value: Any?): Shadows?
```

Converts `value` to [Shadows](/jetpack-compose/androidx.compose.foundation/foundation/functions/Shadows/api) if it is a valid shadow representation.

#### Parameters

| | |
| --- | --- |
| value | object to convert to [Shadows](/jetpack-compose/androidx.compose.foundation/foundation/functions/Shadows) |
