Components

Progress

An indicator showing the completion status of a task, typically displayed as a horizontal bar that fills as the task progresses.

Loading...

Installation

Install the registry item directly, then add any package dependencies if you are setting the component up manually.

1

Install the component

Run the registry command below to add progress to your project.

watermelon add progress
2

Install manual dependencies

If you are wiring the component manually, install the package dependencies shown below.

npm install react-native
3

Import the component

Import Progress from your local UI registry output.

Import

import { Progress } from "@/components/ui/progress";

Import

Import

import { Progress } from "@/components/ui/progress"

Usage

The Progress component uses React Native's Animated API to provide smooth, hardware-accelerated transitions. It is perfect for file uploads, download status, or multi-step onboarding flows.

Basic Usage

Progress bars accept a value and optional max (default is 100).

Loading...

Full Width

The progress bar automatically fills the width of its container. Use className to adjust the track appearance.

API Reference

Progress extends all supported props from React Native View.

proptypedefaultdescription
valuenumber0The current progress value.
maxnumber100The maximum value of the progress bar.
classNamestring-Standard Tailwind classes for the track.