# 进度条 · JGuang UI

> 展示任务完成比例或不确定的处理状态。

- 页面: https://jiguang132.com/zh/systems/jguang-ui/docs/components/radix/progress
- 改编自: shadcn/ui 文档 (MIT) @ bc0705384b51252af26dcc65425b216bf5eb063c
- 说明：正文保留英文原文。

> 示例 `progress-demo`: 交互预览见 https://jiguang132.com/zh/systems/jguang-ui/docs/components/radix/progress


## Installation


  

**Command**


  

**Manual**


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


### Install the following dependencies:


```bash
npm install radix-ui
```


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


[View complete source: components/ui/progress.tsx](/r/jguang-ui/radix/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} />
```

## Label

Use a `Field` component to add a label to the progress bar.


> 示例 `progress-label`: 交互预览见 https://jiguang132.com/zh/systems/jguang-ui/docs/components/radix/progress


## Controlled

A progress bar that can be controlled by a slider.


> 示例 `progress-controlled`: 交互预览见 https://jiguang132.com/zh/systems/jguang-ui/docs/components/radix/progress


## RTL

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


> 示例 `progress-rtl`: 交互预览见 https://jiguang132.com/zh/systems/jguang-ui/docs/components/radix/progress


## API Reference

See the [Radix UI Progress](https://www.radix-ui.com/docs/primitives/components/progress#api-reference) documentation.

---

JGuang 全部资源索引: https://jiguang132.com/llms.txt
