jatui

ImageUpload

Drag-drop or click image upload with preview and size validation

Demo

Disabled with existing image

Uploaded

Props

PropTypeDefaultDescription
imageUrlstring""Current image URL (bindable)
labelstring"Upload Image"Label on the dropzone
maxSizenumber10 * 1024 * 1024Max file size in bytes
disabledbooleanfalseDisable interactions
onUpload(url: string) => void-Called with a blob URL when a file is picked. The host is responsible for uploading the file to storage.