# Progress · JGuang UI

> Displays an indicator showing the completion progress of a task, typically displayed as a progress bar.

- Page: https://jiguang132.com/systems/jguang-ui/docs/components/base/progress
- Based on: shadcn/ui documentation (MIT) @ bc0705384b51252af26dcc65425b216bf5eb063c

> Example `progress-demo`: interactive preview on https://jiguang132.com/systems/jguang-ui/docs/components/base/progress


## Installation


  

**Command**


  

**Manual**


```text
Use the JGuang UI Registry URL provided on /systems/jguang-ui#install.
```


### Install the following dependencies:


```bash
npm install @base-ui/react
```


### Copy and paste the following code into your project.


[View complete source: components/ui/progress.tsx](/r/jguang-ui/base/progress.json)


### Update the import paths to match your project setup.


## Usage

```tsx showLineNumbers
import { Progress } from "@/components/ui/progress"
```

```tsx showLineNumbers
<Progress value={33} />
```

## Composition

### With label and value

Use `ProgressLabel` and `ProgressValue` to add a label and value display.

```tsx showLineNumbers
import {
  Progress,
  ProgressLabel,
  ProgressValue,
} from "@/components/ui/progress"

;<Progress value={56} className="w-full max-w-sm">
  <ProgressLabel>Upload progress</ProgressLabel>
  <ProgressValue />
</Progress>
```

```text
Progress
├── ProgressLabel
├── ProgressValue
└── ProgressTrack
    └── ProgressIndicator
```

## Label

Use `ProgressLabel` and `ProgressValue` to add a label and value display.


> Example `progress-label`: interactive preview on https://jiguang132.com/systems/jguang-ui/docs/components/base/progress


## Controlled

A progress bar that can be controlled by a slider.


> Example `progress-controlled`: interactive preview on https://jiguang132.com/systems/jguang-ui/docs/components/base/progress


## RTL

To enable RTL support in JGuang UI, see the [RTL configuration guide](/systems/jguang-ui/docs/rtl).


> Example `progress-rtl`: interactive preview on https://jiguang132.com/systems/jguang-ui/docs/components/base/progress


## API Reference

See the [Base UI Progress](https://base-ui.com/react/components/progress#api-reference) documentation.

---

Index of all JGuang resources: https://jiguang132.com/llms.txt
