This is documentation for the next SDK version. For up-to-date documentation, see the latest version (SDK 54).
LinearProgress
A Jetpack Compose LinearProgress component for displaying linear progress indicators.
Android
A linear progress indicator component for displaying progress in a horizontal bar format.
Installation
Terminal
- npx expo install @expo/uiIf you are installing this in an existing React Native app, make sure to install expo in your project.
Usage
import { LinearProgress } from '@expo/ui/jetpack-compose'; <LinearProgress progress={0.5} style={{ width: 300 }} color="red" />
See official Jetpack Compose documentation for more information.
API
Components
Type: React.Element<CircularProgressProps>
Renders a CircularWavyProgress component with wavy animation.
Type: React.Element<LinearProgressProps>
Renders a LinearWavyProgress component with wavy animation.
Types
| Property | Type | Description |
|---|---|---|
| trackColor(optional) | ColorValue | Only for: Android Track color. |