Skip to main content

Installation

Usage

Component API

Progress

Progress indicator component built on Radix UI Progress.
Props:
  • value - Current progress value (0-100)
  • max - Maximum value (default: 100)
  • All standard Radix UI Progress props

Implementation

The component uses Radix UI’s Progress primitive with custom styling:

Examples

Basic Progress

A simple progress bar:

With Label

Progress bar with a label showing the percentage:

Controlled Progress

Progress bar controlled by state:

Different Sizes

Customize the height with className:

Loading State

Indeterminate progress for loading states:

Accessibility

The Progress component:
  • Uses semantic role="progressbar" attributes
  • Includes aria-valuenow, aria-valuemin, and aria-valuemax for screen readers
  • Provides visual and programmatic progress indication

API Reference

See the Radix UI Progress documentation for complete API reference.