Angular Material Toggle Button Example March 11, 2023April 26, 2022 by Admin Angular Material Toggle Button. The Angular directive is used to create a toggle or on/off button with material styling and animations.