Skip to main content

Profile Picture

The profile picture UI type is the type for creating a profile picture file uploader, it accepts single file and only image files.

index.js
const instance1 = new CustUp({
targetRootElement: "#container-1",
default_styles_override: {
outerContainer: ["custup_outer_contaner", true],
},
// ...
ui_type: 'profilePicture'
// ...

})