Progress

Feedback

A bar showing how far a task has come: value out of max (100 by default), announced as a progressbar. With no value (or null) it shows that the task is running without knowing how far. Name it with aria-label or aria-labelledby.

import { Progress } from '@limerdev/zest';
Progress for AI tools (llms.txt)
Use for
An upload, an import or an export the user waits for.
Don't
A measurement within a range, such as hours used of a budget or a score: use Meter. A long wait without a label saying what is happening.

Examples

Basic

A label says what is happening; without a value the bar shows work in progress.

Importing hours · 12%

Syncing with the API

Props

Every part also takes class (merged over its defaults), ref (bindable: the element), children, and child (a snippet that renders your own element, with props to spread on it).

Progress

Prop Type Default Description
max number 100 The maximum value of the progress bar.
min number 0 The minimum value of the progress bar.
value number | null 0 The current value of the progress bar. If null, the progress bar will be in an indeterminate state.