Skip to content
Binary UIKit reference Stable

FileUpload

Drag-and-drop file input with validation and removable files.

Use FileUpload when readers need to choose or drop one or more files and review validation results.

Interactive example

Loading interactive example

API

MemberTypeKindRequiredDefault
acceptstringpropNoundefined
disabledbooleanpropNofalse
filesFile[]bindingNo[]
hintstringpropNoundefined
labelstringpropNoundefined
maxSizenumberpropNoundefined
multiplebooleanpropNofalse
onError(error: FileUploadError) => voidcallbackNoundefined
onFilesChange(files: File[]) => voidcallbackNoundefined
titlestringpropNo'Drop files here or click to browse'

Source

Loading source