Progress

How far along something is.

Default

Drag the slider: the bar and its announcement follow.

A bar between 0 and a maximum, announced to screen readers as it moves. Without a value it becomes indeterminate: it says that something is happening without claiming to know how much is left.

Installation

npx philcn@latest add progress

The file is written into your project. It is yours from then on — change it as you like.

Examples

Indeterminate

No value, no promise about how long it will take.

Props

PropTypeWhat it does
Progress.valuenumber | nullWhere it is. `null` means unknown.
Progress.maxnumberWhat counts as finished. 100 by default.

Types are read from the library itself, so this table cannot describe an option the code no longer has.