how to remove underline in input of matform field code example Example: matinput remove underline Click to copy::ng-deep .mat-form-field-underline { display: none; }