Enables the cross icon to perform cancel/delete action on element
boolean \| undefined
undefined
description
description
Overrides the default filetype description
string \| undefined
undefined
downloadable
downloadable
Enables the download icon to perform the related action on element
boolean \| undefined
undefined
filename(required)
filename
The filename shown as component title, is used to auto assign one of the filetype known in the filetype dictionary
string
undefined
filesize
filesize
The filesize shown, if you pass a string you can write whathever you want, if you pass a number it expect filesize in bytes, the component will format it automatically.
string \| undefined
undefined
icon
icon
The name of the icon or a base64 string to render it as an svg
string
undefined
message
message
Sets a feedback message related to the component
string \| undefined
undefined
src
src
The image preview src if available of a file, useful if you have a logo to display, or a smaller version of a bigger image
string \| undefined
undefined
suffix
suffix
Overrides the automatic filetype recongition by forcing the suffix to one of the available formats choosen
ExtensionSuffixType \| undefined
undefined
truncate
truncate
Truncates the filename shown
"all" \| "none" \| "word" \| undefined
'word'
variant
variant
The variant of the component, is shown only if the message attribute is defined