Get started
Fabricator UI

Search documentation

Search pages, components, blocks, styles and colours.

Progress

PreviousNext

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

Installation

bunx --bun fabricator-ui@latest add progress

Usage

import { Progress } from "@/components/ui/progress"
<Progress aria-label="Loading" value={33} />

Composition

With label and value

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

import {
  Progress,
  ProgressLabel,
  ProgressValue,
} from "@/components/ui/progress"
 
;<Progress value={56} className="w-full max-w-sm">
  <ProgressLabel>Upload progress</ProgressLabel>
  <ProgressValue />
</Progress>
Progress
├── ProgressLabel
├── ProgressValue
└── ProgressTrack
    └── ProgressIndicator

Label

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

Upload progress56%

Controlled

A progress bar that can be controlled by a slider.

API Reference

See the React Aria ProgressBar documentation.