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 progressThe 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
| Prop | Type | What it does |
|---|---|---|
| Progress.value | number | null | Where it is. `null` means unknown. |
| Progress.max | number | What 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.