Next Cloudinary v6 now available! View Changelog

<CldUploadButton />

CldUploadButton Configuration


CldUploadButton inherits all of the props associated with the CldUploadWidget component including callback functions except for the children option.

In addition, the following props are available:

Prop NameTypeExample
onClickfunctionfunction (event) { }

children are rendered "as is" inside of the <button> element if provided, otherwise, the button will include a label of "Upload".

The remaining props are spread onto the <button> element for full control of the UI.