Dot Progress
The fill is lit in the accent and its leading edge is a dithered frontier eating into the faint track, with a slow sheen running through it and the percentage counting up beside it; a jumpy source still reads as a steady advance. With no value it's busy: a lit comet with a stippled tail scans the track. It's a real progressbar to screen readers.
Needs: None. Canvas 2D.
Customize
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| value | number | null | – | How far along, 0 to 1. Leave unset or null while there's no telling, and it shows it's busy. |
| readout | boolean | true | The percentage beside the bar. |
| tone | string | – | The fill's colour. The page's accent by default. |
| pitch | number | 3 | Size of one dot in px. The bar is 7 dots tall. |
| label | string | "Progress" | What's in progress, for screen readers. |
| className | string | – | Class on the bar. It fills its container's width. |
| style | CSSProperties | – | Style on the bar. |