Frontendx
README.md
SOLUTION.md
main.tsxentry
App.tsx
App.css
index.html
vite.config.ts
Installed
react@^19.2.0
react-dom@^19.2.0

File Upload Manager

mediumuicomponentfile-uploadMicrosoftAmazonUI Component

Description

Create an accessible upload manager with a drop zone and file picker. Only image files are accepted. Accepted files display metadata, animated progress, and removal controls.

Example 1:

Drop an image to add it, then watch its progress reach 100 percent.

Constraints

  • Non-image files must not be added.
  • Rejected files produce a visible error message.
  • The total count and total size update after add and remove operations.
  • Upload progress must be simulated with setInterval.
Keep the file input visually hidden but available to assistive technology.
Test Results

File Upload Manager

Build a drag-and-drop file uploader with a file list, per-file progress, type validation, and removal.