Rebar UI

1.0

opinion

UploadQueue

A floating panel in the corner of the screen listing every upload, with pause, resume and retry.

Upload panelThe panel floats at the bottom right of the window; pick a scenario
Uploading
Paused
Error

In context

Project filesAdd a file and watch the corner
Harbour rebrand files5 files

depot-fascia-final.pdf

1.4 MB

van-livery-photos.zip

48 MB

interview-03-walkthrough.mp4

212 MB

rota-export-march.csv

90 KB

mark-stacked.svg

8 KB

Props

PropTypeRequiredDefault
itemsUploadQueueItem[]Yes—
onPause((id: string) => void) | undefinedNo—
onResume((id: string) => void) | undefinedNo—
onRetry((id: string) => void) | undefinedNo—
onDismiss((id: string) => void) | undefinedNo—
minimizedboolean | undefinedNo—
defaultMinimizedboolean | undefinedNo—
onMinimizedChange((minimized: boolean) => void) | undefinedNo—
bionicboolean | undefinedNo—
bionicOptionsBionicOptions | undefinedNo—

Floating panel

Rendered through a portal to a fixed corner, so it outlives page changes underneath it. It renders nothing when items is empty.

data-rebar-* attributes

data-rebar-component="upload-queue", data-rebar-state="minimized" | "expanded"; each row carries data-rebar-status.

Migrating to Ant Design

Not codemod-covered. Compose AntD's Progress and List inside a fixed-position Affix.