AI CSS Animations

Cloud Upload Loader

An arrow rises into a cloud outline, pauses, then shoots up and fades, over and over. Made for file uploads and sync; the cloud is one SVG path left open where the arrow passes.

Also known as: upload animation css, cloud upload icon animation, uploading loader.

HTML

<div class="ldr-cloud-upload" role="status" aria-label="Uploading">
  <svg viewBox="0 0 48 48" aria-hidden="true">
    <path class="ldr-cloud-upload-cloud" d="M20 36h-6a8 8 0 0 1-1-15.9 11 11 0 0 1 22-.1 8 8 0 0 1 0 16h-7"/>
    <path class="ldr-cloud-upload-arrow" d="M24 44V24m-6 6 6-6 6 6"/>
  </svg>
</div>

CSS

.ldr-cloud-upload {
  --s: var(--ldr-size, 48px);
  --c: var(--ldr-color, #3b82f6);
  width: var(--s);
  height: var(--s);
}
.ldr-cloud-upload svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: var(--c);
  stroke-width: 3.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.ldr-cloud-upload-cloud {
  fill: color-mix(in srgb, var(--ldr-color, #3b82f6) 14%, transparent);
}
.ldr-cloud-upload-arrow {
  animation: ldr-cloud-upload-lift 1.6s infinite;
}
@keyframes ldr-cloud-upload-lift {
  0%   { transform: translateY(24%); opacity: 0; animation-timing-function: cubic-bezier(0.2, 0.7, 0.3, 1); }
  35%  { transform: translateY(0); opacity: 1; }
  65%  { transform: translateY(0); opacity: 1; animation-timing-function: cubic-bezier(0.6, 0, 0.8, 0.4); }
  100% { transform: translateY(-22%); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .ldr-cloud-upload, .ldr-cloud-upload *, .ldr-cloud-upload::before, .ldr-cloud-upload::after, .ldr-cloud-upload *::before, .ldr-cloud-upload *::after {
    animation-duration: 3s;
  }
}

Customizing this loader

  • Color: set --ldr-color on the element or a parent. Currently previewing #3b82f6.
  • Size: set --ldr-size. Every dimension in the snippet is derived from it. Currently previewing 64px.
  • Speed: change the duration on the animation shorthand. Delays on the children are relative, so they keep their rhythm.
  • Accessibility: the root carries role="status" and an aria-label so screen readers announce the wait. The reduced-motion rule at the end slows the animation for users who asked for less motion.

Similar loaders