
N° 0829 · loader
File Upload Progress is a loading animation. It responds to click. Palettes: Lab white, Fixer, Safelight, Contact sheet and Cyanotype.
Each row keeps size, bytes sent, a smoothed speed and a state (up, failed, cancelled, done) and repaints bar (transform scaleX of --p), percent, 'x of y MB', 'n MB/s, n s left' and the action button's word from that state. root.uploadSend(row, { progress, fail, done }) does the transfer and returns an abort function; the default simulation adds data-rate MB/s with jitter every 200 ms and drops once at data-fail percent. The batch total sums every file that is not cancelled. Finished, failed and cancelled files are announced in a polite live region; the file input adds real files as new rows.
The preview is the shipped element inside a neutral demo page. Hover, click, focus: the one interaction it is about is live.
Token sets re-tint it live. The prompt carries the one you chose.
A paste-in snippet, or a component for Next.js, React, Vue, Astro, WordPress, Shopify or Webflow.
It quotes the markup, styles and script verbatim with the tokens and the rules that keep it self-contained.
It inherits your page's font and width; the tokens live on :root; several instances share one script.

N° 0829 · loader

N° 0828 · loader

N° 0827 · loader

N° 0826 · loader

N° 0357 · loader

N° 0358 · loader

N° 0359 · loader

N° 0369 · loader