Native file selection with optional application-owned, cancellable transfers. These examples keep content in this browser; no file is uploaded or stored remotely.
Validate with no selection, then repeat: the error focuses the visible chooser and its caption stays readable. Tab follows the usual controls; choosing a value and resetting preserve the documented form behavior.
Choose or drop PDF, text or image files. Up to three files are allowed, each at most 1 MiB. Invalid selections stay visible with a reason. Inspect submits actual File metadata from native FormData; reset clears the selection.
No form submission yet.
Choose files, then upload all or one file. Two attempts run concurrently. Cancel stops progress; retry uses a fresh attempt. These transfers simulate progress locally and return a local result.
No completed transfers.
Accepted user selections start automatically. A file whose name begins with retry- fails its first simulated attempt, then succeeds on Retry. Owner assignments do not start transfers.
Single selection replaces the previous file. Readonly retains its file value while preventing changes; disabled omits native submission. All file actions have keyboard/touch alternatives to dragging.
This control belongs to a form by ID. Application custom validity can require a business check independently of selection or transport completion.
Application hold is active.
files uses actual File references. tasks exposes frozen snapshots with stable IDs. Native input/change events describe selection; progress, completion, cancellation and errors have separate typed events. See the API documentation.