--- title: Progress description: A bar that visualizes the completion status of an operation. links: doc: https://base-ui.com/react/components/progress#api-reference --- ## Preview ## Installation CLI Manual ```bash npx @olyx/cli@latest add progress ``` Install the following dependencies: ```bash npm install @base-ui/react ``` Copy and paste the following code into your project. Update the import paths to match your project setup. ## Usage ```tsx import { Progress, ProgressLabel, ProgressValue, } from "@/components/ui/progress" ``` ```tsx ``` Note: When no children are provided, a default track and indicator are rendered for you. If you render children inside `Progress` (e.g. `ProgressLabel`, `ProgressValue`), the track and indicator are still included automatically. ## API Reference ### Progress Root component. Styled wrapper for `Progress.Root` from Base UI. Automatically renders a track and indicator. ### ProgressTrack Track container for the progress indicator. Styled wrapper for `Progress.Track` from Base UI. ### ProgressIndicator Visual indicator showing the current progress. Styled wrapper for `Progress.Indicator` from Base UI. ### ProgressLabel Label text for the progress bar. Styled wrapper for `Progress.Label` from Base UI. ### ProgressValue Displays the current value. Styled wrapper for `Progress.Value` from Base UI. ## Examples ### With Label and Value ### With Formatted Value