Skip to content

Upload Queue Indicator

A copy-paste file upload component in pure HTML & CSS. Zero dependencies, framework-agnostic, MIT-licensed.

File UploadHTMLCSSany framework
report-q4.pdfUploading
photo-01.jpgWaiting
archive.zipWaiting

Copy into your project

HTML
<div class="nuda-queue" role="list" aria-label="Upload queue">
  <div class="nuda-queue__item nuda-queue__item--active" role="listitem">
    <span class="nuda-queue__spinner" aria-hidden="true"></span>
    <span class="nuda-queue__label">report-q4.pdf</span>
    <span class="nuda-queue__status">Uploading</span>
  </div>
  <div class="nuda-queue__item" role="listitem">
    <span class="nuda-queue__dot" aria-hidden="true">2</span>
    <span class="nuda-queue__label">photo-01.jpg</span>
    <span class="nuda-queue__status nuda-queue__status--wait">Waiting</span>
  </div>
  <div class="nuda-queue__item" role="listitem">
    <span class="nuda-queue__dot" aria-hidden="true">3</span>
    <span class="nuda-queue__label">archive.zip</span>
    <span class="nuda-queue__status nuda-queue__status--wait">Waiting</span>
  </div>
</div>
CSS
/* Upload Queue Indicator
   Active item shows spinner; waiting items show numeric slot. */

.nuda-queue {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: 0.5rem;
  background: #0c0c10;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  min-width: 280px;
}

.nuda-queue__item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.45rem 0.6rem;
  border-radius: 6px;
  font-size: 0.78rem;
  color: #a0a0a8;
}

.nuda-queue__item--active {
  background: rgba(228, 255, 84, 0.06);
  color: #fafafa;
}

.nuda-queue__dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  background: #111114;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  color: #63636e;
  font-size: 0.65rem;
  font-weight: 600;
  flex-shrink: 0;
}

.nuda-queue__spinner {
  width: 14px;
  height: 14px;
  border: 1.5px solid rgba(228, 255, 84, 0.2);
  border-top-color: #e4ff54;
  border-radius: 50%;
  animation: nuda-queue-spin 0.8s linear infinite;
  flex-shrink: 0;
  margin: 2px;
}

.nuda-queue__label {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nuda-queue__status {
  font-size: 0.7rem;
  color: #e4ff54;
  font-weight: 500;
}

.nuda-queue__status--wait { color: #63636e; }

@keyframes nuda-queue-spin {
  to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
  .nuda-queue__spinner { animation: none; }
}

How to use Upload Queue Indicator

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.

More file upload components

← Browse all NudaUI components