ZAO造

Progress

A fixed reference track and one advancing face show a named task’s completion.

Anatomy

Measured parts, with contact expanded 18×. The native reference stays in place.

Measuring component parts…

Preview

Su uses the Quiet instrument direction. Use the mode switcher above to see light and dark.

Illustrative task readings

Upload files
x

32% remaining

Prepare workspace
x

Complete

Start backup
x
Transfer archive
x

Of 50 MB total · 15.8 MB remaining

Usage

  • Use determinate progress when a meaningful total is known. Keep units, totals, and remaining work visible when available.
  • Supply actual updates. The first reading appears at its value; the frame and labels stay fixed while the face changes length with existing finish motion.
  • Zero and full values use the complete scale. Finite values are clamped to the range; non-finite values and invalid ranges show unknown completion. Use format and getAriaValueText for units or fractional readings.
  • Use Progress for a task. A capacity reading belongs in a chart or meter.
  • Follow the data visualization guideline when composing the reading.

API

PropValuesDefault
labelstringrequired
valuenumber | nullrequired
min / maxnumber0 / 100
showValuebooleantrue
format / localeIntl.NumberFormat options / localepercentage / runtime locale
getAriaValueText(formattedValue, value) => stringformatted value

Example

import { Progress } from '@zao/react';

<Progress label="Upload files" value={68} />

Accessibility

Base UI derives the face, visible value, and progressbar semantics from the same reading. Essential information is visible without hover or focus; unknown completion omits aria-valuenow. Reduced motion makes updates immediate. If showValue is false, provide a visible reading nearby. Announce meaningful milestones in a host-owned status region rather than every progress update.