Total Progress
A copy-paste file upload component in pure HTML & CSS. Zero dependencies, framework-agnostic, MIT-licensed.
File UploadHTMLCSSany framework
Uploading 4 files2 of 4 done
14.2 / 19.5 MB00:12 remaining
Copy into your project
HTML
<div class="nuda-total" role="group" aria-label="Overall upload progress">
<div class="nuda-total__head">
<span class="nuda-total__title">Uploading 4 files</span>
<span class="nuda-total__count">2 of 4 done</span>
</div>
<div class="nuda-total__track" role="progressbar"
aria-valuenow="73" aria-valuemin="0" aria-valuemax="100">
<div class="nuda-total__fill" style="width: 73%">
<div class="nuda-total__shine"></div>
</div>
</div>
<div class="nuda-total__foot">
<span>14.2 / 19.5 MB</span>
<span>00:12 remaining</span>
</div>
</div>CSS
/* Total Progress
Aggregate progress card across all queued files. */
.nuda-total {
display: flex;
flex-direction: column;
gap: 0.5rem;
padding: 0.85rem 1rem;
background: #0c0c10;
border: 1px solid rgba(255, 255, 255, 0.06);
border-radius: 12px;
min-width: 300px;
}
.nuda-total__head {
display: flex;
justify-content: space-between;
font-size: 0.85rem;
}
.nuda-total__title { color: #fafafa; font-weight: 500; }
.nuda-total__count { color: #a0a0a8; }
.nuda-total__track {
position: relative;
width: 100%;
height: 8px;
background: rgba(255, 255, 255, 0.06);
border-radius: 999px;
overflow: hidden;
}
.nuda-total__fill {
position: relative;
height: 100%;
background: linear-gradient(90deg, #62b6ff, #e4ff54);
border-radius: 999px;
transition: width 0.4s ease;
overflow: hidden;
}
.nuda-total__shine {
position: absolute;
inset: 0;
background: linear-gradient(
90deg,
transparent,
rgba(255, 255, 255, 0.4),
transparent
);
animation: nuda-total-shine 1.5s linear infinite;
}
.nuda-total__foot {
display: flex;
justify-content: space-between;
font-size: 0.72rem;
color: #63636e;
font-variant-numeric: tabular-nums;
}
@keyframes nuda-total-shine {
0% { transform: translateX(-100%); }
100% { transform: translateX(100%); }
}
@media (prefers-reduced-motion: reduce) {
.nuda-total__fill { transition: none; }
.nuda-total__shine { animation: none; display: none; }
}How to use Total Progress
Paste the HTML where you need it and the CSS into a global stylesheet (or a <style> tag). Every class is prefixed nuda- so it never collides with Tailwind or your own styles. Tweak the CSS custom properties to match your design system.
Works in React, Vue, Svelte, Astro, Next.js, Nuxt, Laravel Blade, Django, Rails — or a single .html file. No npm install, no build step.