---
title: "RemoteBorderStroke"
description: "Creates a [RemoteBorderStroke] with a solid [color]."
type: "function"
lastmod: "2026-10-07"
---
## API Reference

### RemoteBorderStroke

> Source set: Android

```kotlin
public fun RemoteBorderStroke(width: RemoteDp, color: RemoteColor): RemoteBorderStroke
```

Creates a [RemoteBorderStroke](/jetpack-compose/androidx.wear.compose.remote/remote-material3/functions/RemoteBorderStroke/api) with a solid `color`.

#### Parameters

| | |
| --- | --- |
| width | The stroke width of the border. |
| color | The [RemoteColor](/jetpack-compose/androidx.compose.remote/remote-creation-compose/classes/RemoteColor) of the border. |
