CodingLaboratory
Lab Commands
Enter The Lab

Component Lab / forms-checkout / segmented-file-uploader

Stable release
Back to category

Open experiment

Segmented file uploader

Shows chunk-level upload progress, verification, pause, and retry without a full dropzone. A file button starts simulated chunks; pause and retry preserve visible per-segment status. Exposes multipart transfer stages rather than only accepting a dropped file.

Lab tested Responsive Dark mode Interactive
Version
1.0.0
Updated
2026-08-02
Dependencies
Zero
Live canvasInstant token updates
Source filesEditable and export-ready
<form class="cmp-segmented-file-uploader cmp-atlas" data-state="idle" data-variant="4" novalidate>
  <div class="cmp-atlas__field-head"><span>Upload controls</span><b>Segmented transfer</b></div>
  <div class="cmp-atlas__file">
    <b>motion-kit.zip</b><span>18.4 MB / verified locally</span>
    <div>
      <i style="--i: 0"></i><i style="--i: 1"></i><i style="--i: 2"></i><i style="--i: 3"></i
      ><i style="--i: 4"></i><i style="--i: 5"></i><i style="--i: 6"></i><i style="--i: 7"></i>
    </div>
  </div>
  <button
    type="button"
    class="cmp-atlas__primary"
    data-primary
    data-active-label="Transfer paused"
    aria-pressed="false"
  >
    Start segmented upload
  </button>
  <div class="cmp-atlas__field-meter" aria-hidden="true"><i></i></div>
  <p data-status aria-live="polite">Control ready</p>
</form>
No runtime reactions detected Open in Editor

Validated in the lab

Experiment report

  • Schema and source files passed
  • Responsive test passed
  • Keyboard test passed
  • No console errors

Component ingredients

Dependencies
None
Browser support
Current Chrome, Current Edge, Current Firefox, Current Safari
Version
1.0.0
Last tested
2026-08-02

Accessibility notes

  • Every interactive target is a labelled native control with a visible focus treatment.
  • State changes are communicated through a polite text status and never by color alone.
  • The contained visual effects stop when the user requests reduced motion.

License: MIT License for open-source use, modification, and distribution.