Skip to main content

FileUpload

FileUpload | File Upload for Web Apps shadow

The FileUpload component provides a universal file upload function for web applications. It supports customizable attributes such as allowed file types, part size or also maximum file size, along with drag-and-drop methods and traditional file selection.

Basic Usage

Icon

Attributes and Properties

accepted-types

DescriptionSets the accepted file types to upload.
Attributeaccepted-types
Typenumber
Default0

chunk-size

DescriptionSets the fragment size for uploading large files in bytes.
Attributechunk-size
Typenumber
Default1 MB

max-file-size

DescriptionSets the maximum file size allowed for uploading in bytes.
Attributemax-file-size
Typenumber
Default1 MB

Events

No events available for this component.

Methods

No public methods available for this component.

CSS Shadow Parts

NameDescription
nativeRefers to a div element inside an element.

CSS Custom Properties

No CSS custom properties available for this component.

Slots

No slots available for this component.