

Every state


default


paused


error


done


cancelled


focus
Props
| Prop | Type | Default | What it does |
|---|---|---|---|
| id | string | "upload" | unique on the page; the bar label hangs off it. |
| fileName | string | "site-photos-november.zip" | File name. |
| size | number | 48_200_000 | file size in bytes. |
| upload | ProgressUploadRowUpload | simulate | sends the file; the default simulates an upload with timers. |
| defaultStatus | ProgressUploadRowStatus | "uploading" | status to start in; "uploading" starts the upload on mount. |
| defaultLoaded | number | 20_300_000 | bytes already sent when the row appears. |
| initialSpeed | number | 2_400_000 | bytes per second to show until the first real measurement. |
| errorMessage | string | "The connection dropped." | why the upload failed, shown in the error state. |
| locale | string | "en-GB" | Locale. |
| onStatusChange | (status: ProgressUploadRowStatus) => void | – | On status change. |
| className | string | – | Class name. |
More progress
All 9progress-07 is in UI ProGet UI Pro, €199


