I'm trying to style the lightning:fileUpload aura component to look similar to the standard Files upload component (pictured below), but I'm having trouble.

Any help would be appreciated.

enter image description here


you can modify the styling of lightning:fileUpload by doing a custom styling of

.THIS .slds-file-selector{}
.THIS .slds-file-selector_files{}

let me know if this helps.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.