0

I want to change the UI of lightning-input type=" file". Current UI Look something like this: enter image description here

But, I want the UI to be something like this:

enter image description here

Is it possible to change the styling and apply css or slds to get the desired UI in the lightning web component?

1
0

You cannot change CSS of child components in LWC (in your case, lightning-input is the child), components can only manipulate the CSS of the component elements. If you're using the component in a community, you can use the community general CSS to make the CSS changes that you want.

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.