About this set
File transfer progress for upload forms, media libraries and download managers. Upload queue lists three files with a coloured file-type tile, the name, a bar, the size transferred and a button: the PDF is at 62 percent with a cancel button, the photo is done with a green bar and a remove button, and the video failed at 38 percent with the reason in red and a retry button. Long file names are cut with an ellipsis instead of pushing the button off the row. Download with pause and cancel is a single larger card with the file name, source and speed, pause and cancel icon buttons, a bar, and the amount and time left underneath. Toast with an edge bar is a compact notice for background uploads, with a 3 pixel bar along its bottom edge and a cancel button. Each bar is role=”progressbar” labelled by the file name, with the transferred size in aria-valuetext. The buttons are plain button elements with no script attached, so you wire them to your uploader; each one names its file, so a screen reader hears Cancel upload of brand-guidelines-2026.pdf rather than a row of identical Cancel buttons.
What’s included
- Uploading, done and failed row states
- Cancel, remove, retry and pause buttons that name their file
- File names truncated with an ellipsis
- Download card with speed and time left
- Toast with a bar along its bottom edge
- Bootstrap version uses .progress, .btn and .toast
Accessibility
Each bar is role="progressbar" labelled by its file name through aria-labelledby, with aria-valuetext such as 62%, 4.2 MB of 6.8 MB or failed at 38%, connection lost. Icon buttons have an aria-label that includes the file name, and text buttons such as Retry keep their visible word at the start of the label. Every button shows a 2 pixel outline on keyboard focus, and the bar and hover transitions are switched off under prefers-reduced-motion.
Customise it
Change --up-accent, --up-ok, --up-bad and --up-track on .up in the plain CSS and Bootstrap versions, where the buttons also take the --bs-btn-* variables. In Tailwind edit the up- theme colours.






