Skip to content

File Upload

Drag-and-drop file upload zone with click-to-browse.

<reke-file-upload accept=".csv,.xlsx" hint="Max 10MB"></reke-file-upload>
<reke-file-upload compact accept="image/*"></reke-file-upload>
PropertyTypeDefaultDescription
acceptstring''Accepted file types
hintstring''Helper text below the dropzone
disabledbooleanfalseDisables the upload
errorbooleanfalseError state
errorMessagestring''Error message text
compactbooleanfalseCompact mode
EventDetailDescription
reke-file-select{ file: File }Fired when a file is selected
reke-file-clear{}Fired when file is cleared
MethodDescription
clear()Clears the selected file
PartDescription
dropzoneThe drop area