Skip to content

Properties

PropertiesDescription
acceptedFileTypes(required) List of accepted file types. More details above.
filesAmountLimit(optional) Defines the amount of files the user can select and upload. Defaults to 100.
fileMaxSize(optional)fileMaxSize is max size of each file in MB. Defaults to 5 MB.
title(optional) Custom text property. Replaces the default title.
text(optional) Custom text property. Replaces the default text.
fileTypeDescription(optional) Custom text property. Replaces the default accepted format description.
fileSizeDescription(optional) Custom text property. Replaces the default max file size description.
fileSizeContent(optional) Custom text property. Replaces the default file size content.
buttonText(optional) Custom text property. Replaces the default upload button text.
loadingText(optional) Custom text property. Replaces the default loading text.
errorLargeFile(optional) Custom text property. Replaces the default file size error message.
errorUnsupportedFile(optional) Custom text property. Replaces the default file type error message.
errorAmountLimit(optional) Custom text property. Replaces the default amount limit error message.
deleteButton(optional) Custom text property. Replaces the default delete button text.
fileListAriaLabel(optional) Custom text property. Replaces the default list aria label.
skeleton(optional) Skeleton should be applied when loading content Default: null.
Space(optional) Spacing properties like top or bottom are supported.

JPG vs JPEG

When jpg is defined (most commonly used), then the component will also accept jpeg files.