--- title: Progress description: Displays an indicator showing the completion progress of a task, typically displayed as a progress bar. base: aria component: true links: doc: https://react-aria.adobe.com/ProgressBar api: https://react-aria.adobe.com/ProgressBar#api --- ## Installation Command Manual ```bash npx shadcn@latest add progress ``` Install the following dependencies: ```bash npm install react-aria-components ``` Copy and paste the following code into your project. Update the import paths to match your project setup. ## Usage ```tsx showLineNumbers import { Progress } from "@/components/ui/progress" ``` ```tsx showLineNumbers ``` ## 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" ; Upload progress ``` ```text Progress ├── ProgressLabel ├── ProgressValue └── ProgressTrack └── ProgressIndicator ``` ## Label Use `ProgressLabel` and `ProgressValue` to add a label and value display. ## Controlled A progress bar that can be controlled by a slider. ## RTL To enable RTL support in shadcn/ui, see the [RTL configuration guide](/docs/rtl). ## API Reference See the [React Aria ProgressBar](https://react-aria.adobe.com/ProgressBar#api) documentation.