AppProgress

How far a task has got: role progressbar with aria-valuenow, aria-valuemin and aria-valuemax, or indeterminate when the amount is unknown. The bar fills on a transform (scaleX from the start edge, so RTL fills from the right), as AppPageLoader does; the circular variant draws its arc with stroke-dashoffset. A label names it, the value can show as text, and format turns the number into words for both the screen and aria-valuetext. Tones are colour only, so the label says what the colour means.

Install: pnpm add-component AppProgress

Basic usage

format names the value: a screen reader hears "3 of 8 files", not "38%".

Tones

The colour backs up the label; it never stands in for it.

Sizes

Indeterminate

Leave value out while the amount is unknown: aria-valuenow is dropped. Under reduced motion the sweep and the spin become a slow fade.

Circular

The value sits inside the ring at md and lg, and beside it at sm.

API