mat-slide-toggle example angular material
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)
}