---
title: "RemoteLinearProgressIndicator"
description: "Material Design linear progress indicator."
type: "composable"
lastmod: "2026-09-24"
---
## API Reference

### RemoteLinearProgressIndicator

> Source set: Android

```kotlin
@Composable
public fun RemoteLinearProgressIndicator(
    progress: RemoteFloat,
    modifier: RemoteModifier = RemoteModifier,
    colors: RemoteProgressIndicatorColors = RemoteProgressIndicatorDefaults.colors(),
    strokeWidth: RemoteDp = RemoteLinearProgressIndicatorDefaults.StrokeWidthLarge,
    enabled: RemoteBoolean = true.rb,
)
```

Material Design linear progress indicator.

The [RemoteLinearProgressIndicator](/jetpack-compose/androidx.wear.compose.remote/remote-material3/composable-functions/RemoteLinearProgressIndicator/api) displays progress as a horizontal bar, consisting of two
visual components:
- Track: The background line representing the total range of progress.
- Indicator: A colored line that fills the track, indicating the current progress value.

The indicator also includes a small dot at the end of the progress line. This dot serves as an
accessibility feature to show the range of the indicator.

For an animated progress, see:

#### Parameters

| | |
| --- | --- |
| progress | The progress of this progress indicator where 0.0 represents no progress and 1.0 represents completion. Values outside of this range are coerced into the range 0..1. |
| modifier | Modifier to be applied to the [RemoteLinearProgressIndicator](/jetpack-compose/androidx.wear.compose.remote/remote-material3/composable-functions/RemoteLinearProgressIndicator). |
| colors | [RemoteProgressIndicatorColors](/jetpack-compose/androidx.wear.compose.remote/remote-material3/classes/RemoteProgressIndicatorColors) that will be used to resolve the indicator and track colors for this progress indicator in different states. |
| strokeWidth | The stroke width for the progress indicator. Defaults to `RemoteLinearProgressIndicatorDefaults.StrokeWidthLarge`. |
| enabled | Controls the enabled state. Although this component is not clickable, it can be contained within a clickable component. When enabled is `false`, this component will appear visually disabled. Note that only constant values are currently supported for [enabled](/jetpack-compose/androidx.compose.remote/remote-creation-compose/properties/enabled); expressions will evaluate to true. |

## Code Examples

### RemoteLinearProgressIndicatorSample

```kotlin
@Sampled
@RemoteComposable
@Composable
@WearPreviewDevices
@PreviewWrapper(RemoteComponentPreviewWrapper::class)
public fun RemoteLinearProgressIndicatorSample(modifier: RemoteModifier = RemoteModifier) {
    RemoteLinearProgressIndicator(modifier = modifier.width(140.rdp), progress = 0.66f.rf)
}
```

### RemoteLinearProgressIndicatorAnimatedSample

```kotlin
@Sampled
@RemoteComposable
@Composable
@WearPreviewDevices
@PreviewWrapper(RemoteComponentPreviewWrapper::class)
public fun RemoteLinearProgressIndicatorAnimatedSample(
    modifier: RemoteModifier = RemoteModifier.width(140.rdp)
) {
    val progress = rememberMutableRemoteFloat { 0.25f.rf }
    val animatedProgress =
        animateRemoteFloatAsState(
            targetValue = progress,
            animationSpec = remoteTween(durationMillis = 250),
        )
    val toggleAction = valueChange(progress, (progress + 0.25f) % 1f)
    RemoteLinearProgressIndicator(
        modifier = modifier.clickable(toggleAction),
        progress = animatedProgress,
    )
}
```
