Here's how you can customize the appearance of an Angular Material toggle button. Although the method is unique, I'll explain it in this article.
1. How to use Angular Material button-toggle
Install Angular Material
Import Angular Material button-toggle to Module file
Html
For more details, refer to the official documentation:
Angular Material Official Documentation
2. Modifying the Appearance of the Toggle Button
The default toggle button has a square appearance. In this case, we'll make it a circular button and ensure that the outline is not displayed when clicked and focused.
Html
SCSS
Feel free to modify the SCSS according to your needs.