---
title: "ExternalPaddingScope"
description: "An interface that introduces the externalPadding properties to a Style receiver scope interface."
type: "interface"
lastmod: "2026-05-20T01:13:53.364741Z"
---
## API Reference

> Source set: Common

```kotlin
@ExperimentalFoundationStyleApi
interface ExternalPaddingScope
```

An interface that introduces the [externalPadding](/jetpack-compose/androidx.compose.foundation/foundation/functions/externalPadding) properties to a [Style](/jetpack-compose/androidx.compose.foundation/foundation/interfaces/Style) receiver scope
interface.

## Functions

### externalPaddingStart

```kotlin
fun externalPaddingStart(value: Dp)
```

Sets the external padding for the start edge of the component. The external padding is the
space between the edge of the component and its border (if any). The width/height of the
component includes external padding.

This property is *not* inherited

#### Parameters

| | |
| --- | --- |
| value | The amount of padding to apply to the start edge. |

### externalPaddingEnd

```kotlin
fun externalPaddingEnd(value: Dp)
```

Sets the external padding for the end edge of the component. The external padding is the
space between the edge of the component and its border (if any). The width/height of the
component includes external padding.

This property is *not* inherited

#### Parameters

| | |
| --- | --- |
| value | The amount of padding to apply to the end edge. |

### externalPaddingTop

```kotlin
fun externalPaddingTop(value: Dp)
```

Sets the external padding for the top edge of the component. The external padding is the
space between the edge of the component and its border (if any). The width/height of the
component includes external padding.

This property is *not* inherited

#### Parameters

| | |
| --- | --- |
| value | The amount of padding to apply to the top edge. |

### externalPaddingBottom

```kotlin
fun externalPaddingBottom(value: Dp)
```

Sets the external padding for the bottom edge of the component. The external padding is the
space between the edge of the component and its border (if any). The width/height of the
component includes external padding.

This property is *not* inherited

#### Parameters

| | |
| --- | --- |
| value | The amount of padding to apply to the bottom edge. |
