Angular – Mat-divider
Mat-divider is used to draw a line across (and vertical) your form.
For me I wanted to separate my form, from my submit/cancel buttons so I added the following code
1 | <mat-checkbox formControlName="isActive">Active</mat-checkbox> |
What I found it did put my button on a new row, but the horizontal line was touching the buttons and the gheckbox. I had to also add some CSS to pad out the control a bit.
1 | mat-divider { |
References
https://material.angular.io/components/divider/overview