FileUploader is a component that allows you to upload files.
To use a fileUploader, simply add the <FileUploader />
tag to your component.
You can change the size of a fileUploader input by setting the size property to sm
, md
, or
lg
.
Set the disabled boolean property on a fileUploader to give it a grayed out appearance, remove pointer events, and prevent focusing.
Set the readonly boolean property on a fileUploader to prevent choosing a file. readonly inputs can still be focused and selected, while disabled inputs cannot.
You can set the valid
or invalid
boolean properties to apply the valid or invalid state to a
fileUploader.
Limit file types that a user can select.
Allow choosing Multiple files.