Home > Net >  Remove Underline (Bottom border) from material-ui Input component
Remove Underline (Bottom border) from material-ui Input component

Time:10-22

How can I remove these bottom-line borders from these inputs? I've tried throwing some css on it, but unsuccessfully component -> <Input type={"text} /> ? enter image description here

CodePudding user response:

You can set the disableUnderline prop to true to hide the line below the Input:

<Input disableUnderline
  • Related