change input with togle material code example
Example 1: mat slide toggle button
import {MatSlideToggleModule} from '@angular/material/slide-toggle';
<mat-slide-toggle>Slide me!</mat-slide-toggle>
Example 2: mat slide toggle iverted
mat-slide-toggle{
transform: rotate(180deg)
}