Allows the user to upload files to the product.

Multiple files can be dragged into the upload area or selected via the system dialog.

For the multiple uploader, a compact view is available when it is empty.

When uploading multiple files, their size is always shown in the list. For the single uploader, displaying the file size is configured separately.

Selected files can be configured with a custom icon, for example, for images.

The component can be configured to allow selecting only files, only folders, or both files and folders.

In the disabled state, the component does not receive focus and drag-and-drop functionality does not work.

When an invalid file is selected, only the corresponding item in the list receives the error state, not the entire component. Error messages are displayed below the uploader.

By default, the component grows in height when many files are selected. However, you can set a maximum height, after which scrolling will appear.

It is also possible to set a fixed height for the uploader.

The user can drag files onto the page, and at that moment a full-screen upload overlay will be shown.

The drag-and-drop area can be not only the entire screen or the File Upload component itself within a form, but also a separate part of the screen.

Docs Feedback
If you have any questions or would like to contribute to writing the documentation, please create an issue in our GitHub repository.