CoreUploadFILE UPLOADS FOR ASP.NET CORE

INTERACTIVE EXAMPLE

Upload Animations

Smooth CSS animations for file additions, progress updates, and completion states. All animations are GPU-accelerated.

What you should see: files slide into the queue and the bar eases rather than jumping. Drop several 20 MB-or-under files at once to see the staggered entrance; motion is reduced automatically if your OS asks for that.
Drag & drop files here, or paste from clipboard
<style>
  @keyframes slide-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
  .animated .cu-queue-item    { animation: slide-in 0.3s cubic-bezier(0.4, 0, 0.2, 1) both; }
  .animated .cu-progress-fill { transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1); }
  @media (prefers-reduced-motion: reduce) {
    .animated .cu-queue-item    { animation: none; }
    .animated .cu-progress-fill { transition: none; }
  }
</style>

<div class="animated">
  <core-upload asp-upload-url="/api/upload/upload"
               asp-multiple="true"
               asp-progress="true"
               asp-drop-zone="true"
               asp-auto-upload="true"
               asp-max-size="20MB">
  </core-upload>
</div>

Motion that reports state

The transitions on queue rows and the progress fill are CSS, so they can be replaced or removed entirely. Their job is to make a change noticeable — a row arriving, a file completing — rather than to decorate.

Respect prefers-reduced-motion

Some users find continuous animation genuinely unpleasant, and everything here still communicates without it. Honour the media query rather than treating it as optional; the information is in the state change, not in the movement.