Progress

A task's progress on a bar, labeled and drawn as a Slider's.

Installation

Examples

Default

Its bar is a Slider's. With a label, the value shows at the end, as a percentage of max (100 unless set) or as format's Intl.NumberFormat options write it, and screen readers read the same.

demo.tsx
Uploading harbor.jpg
x

Bare

Without a label, it is the bar alone; give it an aria-label. format still writes what screen readers read.

bare.tsx
x

Indeterminate

value={null} is work of unknown length, and the bar shimmers.

indeterminate.tsx
Preparing export
x

Anatomy

Each part's data-slot, which a theme styles, is beside it. Progress renders them all from its props.