angular 9+material+mat slide toggle code example Example: mat slide toggle iverted mat-slide-toggle{ transform: rotate(180deg) }